Do not reroll IFP_TO_IA

2013-09-05 Thread Martin Pieuchot
Diff below makes use of IFP_TO_IA() instead of rolling our own copy. For now there's no functional change, but I'd like to get this in so that once our multicast code can stop relying on global lists, we only need to modify the macro. ok? Index: netinet/in_pcb.c

Re: [NEW] ugold(4) driver for Microdia's USB TEMPer variant (take 3)

2013-09-05 Thread Martin Pieuchot
On 05/09/13(Thu) 05:23, SASANO Takayoshi wrote: Hi all, Here is the driver for Microdia's USB TEMPer, take 3. http://www.uaa.org.uk/gomitext/2013/20130905/20130905.diff Thanks to mpi@ and testers of tech@. man is not yet, sorry. I'm ok with your diff, here's a man. I can commit

Re: in_var.h incudes in6_var.h

2013-09-05 Thread Henning Brauer
* Martin Pieuchot mpieuc...@nolizard.org [2013-09-02 12:12]: On 30/08/13(Fri) 21:50, Alexander Bluhm wrote: Hi, The file netinet/in_var.h includes netinet6/in6_var.h. This creates a bunch of useless dependencies. For an upcomming change in in6_var.h I would like to split that up.

Re: Unify and document usbd_transfer(9)

2013-09-05 Thread Martin Pieuchot
On 17/05/13(Fri) 20:19, Martin Pieuchot wrote: On 14/05/13(Tue) 16:09, Marcus Glocker wrote: On Fri, May 10, 2013 at 09:44:53AM +0200, Martin Pieuchot wrote: [...] This diff gets rid of the two badly named functions: usbd_bulk_transfer() usbd_intr_transfer() and makes use of the

remove commented-out kerb-related entries in sshd_config

2013-09-05 Thread Stuart Henderson
KerbV support was removed but the sample config entries remain. Should we remove them? Index: sshd_config === RCS file: /cvs/src/usr.bin/ssh/sshd_config,v retrieving revision 1.90 diff -u -p -r1.90 sshd_config --- sshd_config 16 May

Re: remove commented-out kerb-related entries in sshd_config

2013-09-05 Thread Antoine Jacoutot
On Thu, Sep 05, 2013 at 01:30:24PM +0100, Stuart Henderson wrote: KerbV support was removed but the sample config entries remain. Should we remove them? What about the client config and the man pages? Index: sshd_config === RCS

Re: remove commented-out kerb-related entries in sshd_config

2013-09-05 Thread Jason McIntyre
On Thu, Sep 05, 2013 at 03:40:28PM +0200, Antoine Jacoutot wrote: On Thu, Sep 05, 2013 at 01:30:24PM +0100, Stuart Henderson wrote: KerbV support was removed but the sample config entries remain. Should we remove them? What about the client config and the man pages? there has been a bit

Re: useradd with empty -k doesn't chown/chmod new home directory

2013-09-05 Thread Craig R. Skinner
On 2013-08-31 Sat 11:18 AM |, Kenneth R Westerback wrote: This makes sense to me. ok krw@ Ken ping? -- Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in/yGqkv7

Re: Do not reroll IFP_TO_IA

2013-09-05 Thread Alexander Bluhm
On Thu, Sep 05, 2013 at 10:54:53AM +0200, Martin Pieuchot wrote: Diff below makes use of IFP_TO_IA() instead of rolling our own copy. For now there's no functional change, but I'd like to get this in so that once our multicast code can stop relying on global lists, we only need to modify the

osfp pfctl and states

2013-09-05 Thread sven falempin
openBSDs, Reading pfctl manual and net/pfvar.h i didnt find the ospf information inside a states entry . So i assume it is not possible to recover the fingerprint of a state trough the ioctl. Unless - i didnt read enough (help is welcome) - creatorId is something i hould look into. or i have to

diff: /etc/rc.d/spamd rc_reload=NO

2013-09-05 Thread Craig R. Skinner
Doesn't seem to reload once chrooted: $ sudo /etc/rc.d/spamd -d reload doing rc_read_runfile doing rc_check spamd doing rc_reload Sep 5 19:57:54 oak spamd[22335]: greyreader failed (Error 0) doing rc_wait reload doing rc_check doing rc_check ... .. . doing rc_check (failed) Index: spamd

Re: Introduce rt_msg() (was nd6_rtmsg)

2013-09-05 Thread Alexander Bluhm
On Mon, Sep 02, 2013 at 12:43:51PM +0200, Martin Pieuchot wrote: Diff below is just a small refactoring of two similar code chunks to inform user processes that something changed regarding a route. I'd like to get this in because it removes one use of rt_addrinfo in netinet6. There's no

Re: useradd with empty -k doesn't chown/chmod new home directory

2013-09-05 Thread Todd C. Miller
I changed my mind and decided it is better to just move the chown and chmod out of copydotfiles() and add an explicit check for skeldir set to the empty string. Much as I would like to prettify the user.c code it is a losing battle so here is a minimal diff. - todd Index: usr.sbin/user/user.c

kassert socket, inpcb, tcpcb

2013-09-05 Thread Alexander Bluhm
Hi, I have a core dump from a not quite OpenBSD 5.2 crash. There the pointers to socket, inpcb, tcpcb on the stack of tcp_input() and tcp_output() look very inconsistent. Especially the so-so_pcb is NULL, which can only happen after the inp has been detached. The whole thing reminds me of the

Re: ntpd jump ahead

2013-09-05 Thread Barry Grumbine
Non-VM use case: The BeagleBone Black has no RTC, so -j could be useful for cheap little ARM development boards. On Wed, Sep 4, 2013 at 5:58 AM, Reyk Floeter r...@openbsd.org wrote: On Wed, Sep 04, 2013 at 08:45:25AM -0400, Ted Unangst wrote: Bah. I tend to turn ntpd off and rely on the

Re: useradd with empty -k doesn't chown/chmod new home directory

2013-09-05 Thread Alexander Hall
Todd C. Miller todd.mil...@courtesan.com wrote: I changed my mind and decided it is better to just move the chown and chmod out of copydotfiles() and add an explicit check for skeldir set to the empty string. Much as I would like to prettify the user.c code it is a losing battle so here is a