Re: free(9) sizes for USB subdevs

2018-11-16 Thread Alexandre Ratchov
On Fri, Nov 16, 2018 at 06:17:08PM -0200, Martin Pieuchot wrote: > We need to keep track of the number of slots, so add a new field for > that. > > ok? > ok ratchov

free(9) sizes for USB subdevs

2018-11-16 Thread Martin Pieuchot
We need to keep track of the number of slots, so add a new field for that. ok? Index: usb_subr.c === RCS file: /cvs/src/sys/dev/usb/usb_subr.c,v retrieving revision 1.141 diff -u -p -r1.141 usb_subr.c --- usb_subr.c 16 Nov 2018 11:5

Re: rad: add support for listening on interface groups

2018-11-16 Thread Reyk Floeter
On Fri, Nov 16, 2018 at 04:41:12PM +0100, Reyk Floeter wrote: > Hi, > > the following diff allows rad(8) to watch interface groups. This > allows to automatically add/remove interfaces in a given group. > > For example, I put "interface tap" into rad.conf and it automatically > serves my VM inte

Re: rad: don't try to leave the multicast group on detached interfaces

2018-11-16 Thread Reyk Floeter
On Fri, Nov 16, 2018 at 07:33:47PM +0100, Florian Obser wrote: > On Fri, Nov 16, 2018 at 04:30:28PM +0100, Reyk Floeter wrote: > > Hi, > > > > the following patch prevents rad(8) from aborting when an interface is > > detached (or a clone destroyed). It is no fatal condition for rad as > > it oth

tcpdump(8) monitor privdrop

2018-11-16 Thread Bryan Steele
tcpdump's privsep monitor process handles any privileged operations on behalf of the unprivileged "packet parser" process. After this, it enters its final runtime state, which: * Performs DNS and other "numbers to names" lookups, sending results back over a pipe/socketpair. * Displays the final pa

Re: rad: don't try to leave the multicast group on detached interfaces

2018-11-16 Thread Florian Obser
On Fri, Nov 16, 2018 at 04:30:28PM +0100, Reyk Floeter wrote: > Hi, > > the following patch prevents rad(8) from aborting when an interface is > detached (or a clone destroyed). It is no fatal condition for rad as > it otherwise handles interface events just fine by reinitializing > itself on int

vmd: add support for local inet6 interfaces

2018-11-16 Thread Reyk Floeter
Hi, "local interface" (-L) is an amazing feature and I use it every day; but it is IPv4-only and now I realized that I need IPv6 too. The attached diff implements IPv6 support for local interfaces. A few notes and limitations: - Unlike the embedded IPv4 DHCP server, it does not implement a DHCP

rad: add support for listening on interface groups

2018-11-16 Thread Reyk Floeter
Hi, the following diff allows rad(8) to watch interface groups. This allows to automatically add/remove interfaces in a given group. For example, I put "interface tap" into rad.conf and it automatically serves my VM interfaces. You could also configure a custom group in vm.conf and rad.conf. I

rad: don't try to leave the multicast group on detached interfaces

2018-11-16 Thread Reyk Floeter
Hi, the following patch prevents rad(8) from aborting when an interface is detached (or a clone destroyed). It is no fatal condition for rad as it otherwise handles interface events just fine by reinitializing itself on interface route messages. One additional style bit included. OK? Reyk Ind

Re: Qcow2: Clean up logging/error handling

2018-11-16 Thread Reyk Floeter
On Sat, Nov 03, 2018 at 01:53:08PM -0700, Ori Bernstein wrote: > On Tue, 30 Oct 2018 23:01:50 -0700, Mike Larkin wrote: > > > On Tue, Oct 30, 2018 at 10:41:21PM -0700, o...@eigenstate.org wrote: > > > > On Tue, Oct 30, 2018 at 10:32:37PM -0700, Ori Bernstein wrote: > > > >> On Tue, 30 Oct 2018 22

Re: Reuse VM ids.

2018-11-16 Thread Reyk Floeter
On Sat, Oct 27, 2018 at 02:53:16PM -0700, Ori Bernstein wrote: > On Fri, 26 Oct 2018 01:57:15 +0200, Reyk Floeter wrote: > > > On Tue, Oct 23, 2018 at 10:21:08PM -0700, Ori Bernstein wrote: > > > On Mon, 8 Oct 2018 07:59:15 -0700, Bob Beck wrote: > > > > > > > works here and I like it. but pro

Re: Add Colemak keyboard encoding

2018-11-16 Thread Aaron Bieber
On Fri, 16 Nov 2018 at 06:55:09 -0700, Aaron Bieber wrote: > Hi, > > This diff is based off a diff Geert Hendrickx sent to bugs@ back in 2009. I > have updated it to add the 'swapctrlcaps' bit and removed the xenocara diff. > > https://marc.info/?l=openbsd-bugs&m=124284599329729 > > Not sure if

Add Colemak keyboard encoding

2018-11-16 Thread Aaron Bieber
Hi, This diff is based off a diff Geert Hendrickx sent to bugs@ back in 2009. I have updated it to add the 'swapctrlcaps' bit and removed the xenocara diff. https://marc.info/?l=openbsd-bugs&m=124284599329729 Not sure if this didn't land because it was sent to bugs@ or if there are other reasons