correct spelling of center

2015-01-19 Thread Ted Unangst
Some people may be partial to "centre", but considering the macros described are spelled "center", I think it's best to reduce dissonance. Index: mdoc.7 === RCS file: /cvs/src/share/man/man7/mdoc.7,v retrieving revision 1.129 diff -u

TMP_MAX

2015-01-19 Thread Ted Unangst
Since everybody is having so much fun moving various MAX defines around, I thought I'd find one to play with. The C standard says TMP_MAX should be the number of filenames tmpnam() can create. Our current define is very old, and reflects an outdated implementation. The correct number is pretty gig

Re: Flag to set from address in mail(1)

2015-01-19 Thread trondd
trondd wrote: > Nathanael Rensen wrote: > > > On Wed, 07 Jan 2015 14:31:13 -0700, Todd C. Miller wrote: > > > > > Here's a version that does not rely on non-standard "sendmail -t" > > > behavior. > > > > > > - todd > > > > Much better. Works well for me, thanks. > > > > Nathanael > > > >

Re: (PATCH) Re: nm segfaulting on (linux) elf binary

2015-01-19 Thread Miod Vallat
> maybe tech@ is a better place for this. Indeed. Applied, thanks! Miod > >Do not segfault on https://31c3ctf.aachen.ccc.de/uploads/bor_ey.tar.gz > > > >--- usr.bin/nm/elf.c26 Nov 2013 13:19:07 - 1.23 > >+++ usr.bin/nm/elf.c29 Dec 2014 14:23:13 - > >@@ -550,7 +550,7 @@ elf_s

Re: [patch] panic on boot when compiling kernel with option VFSLCKDEBUG

2015-01-19 Thread Philip Guenther
On Wed, Jan 7, 2015 at 1:26 AM, Helg wrote: > Anyone? Took me a couple tries, but it's in.

Re: Use rtdeletemsg()

2015-01-19 Thread Todd C. Miller
On Mon, 19 Jan 2015 11:49:53 +0100, Martin Pieuchot wrote: > Instead of rerolling rtrequest1(RTM_DELETE...) code in various places, > simply use rtdeletemsg() which also notify userland that the route entry > is going away. Since rtdeletemsg() may call rtfree() doesn't this mean that we can end u

Re: [patch] panic on boot when compiling kernel with option VFSLCKDEBUG

2015-01-19 Thread Helg
> While troubleshooting a deadlock problem I compiled the kernel with > option VFSLCKDEBUG and found that the if statement in the assert macro > is missing braces. The includes seem to have changed since 5.6 as well > as it was missing the declaration for the panic function. > > > Index: kern/vf

OpenBSD 5.6, syslog-ng, and sendsyslog(2)

2015-01-19 Thread IMAP List Administration
Hello Folks, it seems syslog-ng (v3.4.7p3, from the OpenBSD package collection) is broken on OpenBSD 5.6, because it does not implement the new mechanism used by sendsyslog(2) and syslogd. Are there any plans to fix this? Does anyone care? What is the point of including a broken package for 5.6?

Re: Use rtdeletemsg()

2015-01-19 Thread Bret Lambert
On Mon, Jan 19, 2015 at 11:49:53AM +0100, Martin Pieuchot wrote: > Instead of rerolling rtrequest1(RTM_DELETE...) code in various places, > simply use rtdeletemsg() which also notify userland that the route entry > is going away. > > Comments, ok? Seems good at first glance; is it maybe a good id

Use rtdeletemsg()

2015-01-19 Thread Martin Pieuchot
Instead of rerolling rtrequest1(RTM_DELETE...) code in various places, simply use rtdeletemsg() which also notify userland that the route entry is going away. Comments, ok? Index: netinet/ip_icmp.c === RCS file: /home/ncvs/src/sys/ne

Re: km_alloc/km_free optimization

2015-01-19 Thread Mark Kettenis
> From: David Gwynne > Date: Mon, 19 Jan 2015 11:53:09 +1000 > > > On 30 Dec 2014, at 22:49, Mark Kettenis wrote: > > > >> From: David Gwynne > >> Date: Tue, 30 Dec 2014 21:53:46 +1000 > >> > >>> On 29 Dec 2014, at 7:55 am, Mark Kettenis wrote: > >>> > Date: Sun, 28 Dec 2014 20:56:33 +