Re: [PATCH] Disable USB bus probes

2015-04-21 Thread Martin Pieuchot
On 17/04/15(Fri) 16:47, Dimitris Papastamos wrote: > Hi, > > This patch adds an option to usbdevs(8) to disable USB bus probing > at runtime. The operation is restricted to the root user. It would be nice to show if probing is on or off, for example # usbdevs -p bus probing: on # usbdevs -p of

Typo in www/57.html

2015-04-21 Thread Bryce Chidester
Hello! Just a small patch to fix a typo. "Artery T1/E1 drives" -> "Artery T1/E1 devices" Index: www/57.html === RCS file: /cvs/www/57.html,v retrieving revision 1.79 diff -u -p -u -r1.79 57.html --- www/57.html 15 Apr 2015 06:29:25 -

report thread scheduling setting properly

2015-04-21 Thread Philip Guenther
While we don't actually make use of thread scheduling attributes, we do support setting and retrieving them. However, it doesn't make any sense to let you set them in a pthread_attr_t...but then ignore that in pthread_create(). Diff below deletes the duplicated sched_{policy,param} members fr

Re: man, man.conf and /usr/ports/infrastructure/man

2015-04-21 Thread Marc Espie
The rules for locking base and ports are not the same. Having the build infrastructure in-ports means it can be fixed at the same time as ports. Having it in-base means yet another possibility for synchronization issues between base and ports. Likewise for putting the man pages inside a package.

Re: minor change in intro(1) man page

2015-04-21 Thread Ingo Schwarze
Hi Alex, committed, thanks. Ingo > Index: intro.1 > === > RCS file: /cvs/src/share/man/man1/intro.1,v > retrieving revision 1.12 > diff -u -p -r1.12 intro.1 > --- intro.1 10 Jan 2010 10:53:33 - 1.12 > +++ intro.1

getsock() api modification

2015-04-21 Thread Vitaliy Makkoveev
Now fd_getfile() function returns unacquired "struct file" instance and the typical usage is: struct file *fp; if ((fp = fd_getfile(fpd, fd)) == NULL) return ENOENT; if (/* obtained fp is unacceptable */) return EERROR; FREF(fp);

minor change in intro(1) man page

2015-04-21 Thread Alex Greif
Hi, while reading the intro(1) man page, I found a small inconsistency with the subsequent man pages: ../man3/intro.3:The manual pages in section 3 provide an overview of the C library ../man5/intro.5:The manual pages in section 5 contain information related to ../man6/intro.6:The manual pag

Re: man, man.conf and /usr/ports/infrastructure/man

2015-04-21 Thread Ingo Schwarze
Hi Vadim, Vadim Zhukov wrote on Tue, Apr 21, 2015 at 08:00:22AM +0300: > Stuart Henderson wrote: >> On 2015-04-18 Sat 16:21 PM |, Theo de Raadt wrote: >>> If the ports infrastructure manual pages were simply part of a package >>> that is neccessary for building ports, then the manuals could show

bridge(4) and ether_input_mbuf()

2015-04-21 Thread Martin Pieuchot
This diff adds the necessary glue to bridge(4) to be able to convert other pseudo-drivers to if_input(). This will also help bridge(4)'s own conversion. Since bridge_input() already returns a mbuf, I believe this change is less error prone than the carp(4) one. But I appreciate reviews, tests an

carp(4) & ether_input_mbuf() take 2

2015-04-21 Thread Martin Pieuchot
Here's a new diff to convert carp_input() to use ether_input_mbuf() instead of ether_input(). This is a necessary step to be able to convert other pseudo-drivers to if_input() but it is just needed for the transition. This version only call M_PREPEND(9) on mbufs that will be passed to ether_input