Re: atoi -> strtonum

2015-04-17 Thread Theo de Raadt
Jeremy Devenport and Brendan MacDonell reviewed the changes and spotted a few issues. Here is a new diff. Index: bin/csh/proc.c === RCS file: /cvs/src/bin/csh/proc.c,v retrieving revision 1.26 diff -u -p -u -r1.26 proc.c --- bin/csh/

[PATCH] Disable USB bus probes

2015-04-17 Thread Dimitris Papastamos
Hi, This patch adds an option to usbdevs(8) to disable USB bus probing at runtime. The operation is restricted to the root user. I am not sure if this approach is sensible or even correct. Some pointers would be much appreciated. This was started as part of a reply by mpi on tech@ http://ma

Re: On github now

2015-04-17 Thread kanonenvogel . 87g
On 17 Apr 2015, at 12:49, Martin Pieuchot wrote: > On 16/04/15(Thu) 15:24, kanonenvogel@gmail.com wrote: >> Well, lets begin. >> >> In the future, I wish to have fd_getfile() returning acquired fp instance. >> The goal is to not to have pointer to destroyed fp instance >> in FREF()/FRELE()/

remove dsp bits from libossaudio

2015-04-17 Thread Alexandre Ratchov
No code uses the SNDCLT_DSP_* "ioctls" anymore (the last port using them was removed few months ago), so they could be removed now. As there's no ABI change, no shlib_version crank is necessary. The motivation of removing these "ioctls" is to ease simplifications and development of the audio(4) dr

remove oss support from linux compat (i386 only)

2015-04-17 Thread Alexandre Ratchov
This was "discussed" and nobody steps up to save it: http://comments.gmane.org/gmane.os.openbsd.misc/217005 removing oss emulation, will remove dependency on obscure audio(4) features we don't use since ~2009, and in turn will ease audio(4) driver cleanup without breaking the build. Tested on i3

Re: On github now

2015-04-17 Thread Martin Pieuchot
On 16/04/15(Thu) 15:24, kanonenvogel@gmail.com wrote: > Well, lets begin. > > In the future, I wish to have fd_getfile() returning acquired fp instance. > The goal is to not to have pointer to destroyed fp instance > in FREF()/FRELE()/fd_getfile() races. This one requres modification of > gets

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-17 Thread Martin Pieuchot
On 16/04/15(Thu) 16:06, attila wrote: > [...] > After this was committed I received a critique of the driver from the > person behind the Alea II (Andreas Gustafsson) who made a few pretty > good points. He felt trying to pull all the entropy off of the device > that would theoretically be availa

Re: autoinstall(8) tweaks

2015-04-17 Thread Theo de Raadt
> On 2015/04/15 12:05, Vincent Gross wrote: > > The default allocation is actually easy to rework right after a fresh > > install, as /usr/src, /usr/obj and /home are at the end. Ssh as > > root, kill /usr/src, /usr/obj and /home, optionally extend /usr/local, > > and then repartition as you wish.