Re: Providing access to USB devices

2018-09-20 Thread Pierre Pronchery
Hi Martin, tech-userlevel@, On 20/09/2018 10:49, Martin Husemann wrote: > On Thu, Sep 20, 2018 at 10:41:01AM +0200, Pierre Pronchery wrote: >> Would it make sense to create a _usb group, and setting the permissions >> of /dev/ugen* and maybe also /dev/usb* to mode

Providing access to USB devices

2018-09-20 Thread Pierre Pronchery
Hi tech-userlevel@, I just realized that on my regular system, I modified the permissions for the ugen(4) device nodes to allow my regular user to access them: # ls -l /dev/ugen0.00 crw-rw 1 root wheel 64, 0 Dec 22 2014 /dev/ugen0.00 With this, I am generally able

Questioning the overflow check in jemalloc

2017-09-07 Thread Pierre Pronchery
Hi tech-userlevel@, I just had a look at the implementation of calloc() in NetBSD's libc, which seems to be from jemalloc actually. Its check for integer overflows is as follows, in src/lib/libc/stdlib/jemalloc.c: 3857 /* 3858 * Try to avoid division

Re: Shipping SSL certificates in the base system

2017-07-05 Thread Pierre Pronchery
Hi everyone, On 04/07/2017 23:02, Jan Danielsson wrote: On 07/04/17 21:15, Benny Siegert wrote: There are other stories as well, but that's a good illustration of why it's a bad idea to just hand over a bunch of CA's to users without any mechanism for keeping the CA da