remove appletalk from netintro(4)

2014-05-29 Thread Remi Locherer
Support for Appeltalk (sys/netatalk) was removed about 3 years ago but netintro(4) still mentions it. Remi Index: netintro.4 === RCS file: /cvs/src/share/man/man4/netintro.4,v retrieving revision 1.44 diff -u -p -r1.44 netintro.4 --

Re: [PATCH 7] npppd: malloc/memset => calloc

2014-05-29 Thread YASUOKA Masahiko
Thanks, commited. On Mon, 26 May 2014 22:24:23 +0200 Benjamin Baier wrote: > and a big one. > > Index: common/bytebuf.c > === > RCS file: /cvs/src/usr.sbin/npppd/common/bytebuf.c,v > retrieving revision 1.5 > diff -u -p -r1.5 byte

Re: [PATCH] libssl:Remove NULL checks before calling free()

2014-05-29 Thread Ted Unangst
On Fri, May 23, 2014 at 16:29, Brendan MacDonell wrote: > > I think this can be extended to expressions, not just identifiers: > > @@ > expression x; > @@ > -if (x) { free(x); } > +free(x); > > This catches another 47 instances. A patch against CVS follows. Thanks, applied.

Re: 9p

2014-05-29 Thread M Farkas-Dyck
On 29/05/2014, Ted Unangst wrote: > The first question is why not use fuse? I think it's better to > have one userland filesystem interface than two. We already have 2: fuse, nfs. • 9p can operate over arbitrary transports, such as virtio and tcp. Fuse can't. • To my knowledge one can't have roo

Re: 9p

2014-05-29 Thread Ted Unangst
On Thu, May 29, 2014 at 03:12, strake...@gmail.com wrote: > I have been writing a 9p vfs interface. Ultimately I hope to have this in > stock OpenBSD. So far it's incomplete and experimental and often faulty; I > shall hack it further when I have time, but meanwhile I post the diff here > in case s

Re: 9p

2014-05-29 Thread M Farkas-Dyck
If any interest, please tell me before using earlier code, as I now have a later version, which I would post in that case.

Re: libssl remove SSL_(set|get)_(time|timeout)

2014-05-29 Thread Theo de Raadt
> On Thu, May 29, 2014 at 21:00, Alexander Schrijver wrote: > > I'm not sure how much, and if this breaks anything in Ports. > > > > According to github it isn't used much. > > We're going to keep this for a while. We would like to keep as much > API compatibility as possible, even when the API i

Re: libssl remove SSL_(set|get)_(time|timeout)

2014-05-29 Thread Ted Unangst
On Thu, May 29, 2014 at 21:00, Alexander Schrijver wrote: > I'm not sure how much, and if this breaks anything in Ports. > > According to github it isn't used much. We're going to keep this for a while. We would like to keep as much API compatibility as possible, even when the API is mostly usele

Re: libssl remove SSL_(set|get)_(time|timeout)

2014-05-29 Thread Theo de Raadt
> I'm not sure how much, and if this breaks anything in Ports. Then you need to go find out. > According to github it isn't used much. Whoa. Think about that for a while. You want to disrupt the application authors ... now?

libssl remove SSL_(set|get)_(time|timeout)

2014-05-29 Thread Alexander Schrijver
I'm not sure how much, and if this breaks anything in Ports. According to github it isn't used much. https://github.com/search?q=SSL_get_time+extension%3Ac+language%3Ac&type=Code&ref=searchresults https://github.com/search?q=SSL_set_time+extension%3Ac+language%3Ac&type=Code&ref=searchresults http

libssl code disabled since 1998

2014-05-29 Thread Alexander Schrijver
The diff below removes code which has been disabled since 1998 or maybe even before. https://github.com/openssl/openssl/blame/master/ssl/ssl.h#L1758-L1764 There is a lot of interesting backwards compatibility stuff before and after this piece of code. I have a diff for the SSL_(set|get)_(time|tim

Re: [PATCH 6] rcs: xmalloc/memset => xcalloc

2014-05-29 Thread Ted Unangst
On Mon, May 26, 2014 at 21:44, Benjamin Baier wrote: > Yes, there is a xcalloc in xmalloc.h/.c. Thanks, I think I got them all.

move random bytes buffer to mmap'ed region

2014-05-29 Thread Otto Moerbeek
Hi, more localized data access, and there's room in the allocated page(s) anyway. ok? -Otto Index: malloc.c === RCS file: /cvs/src/lib/libc/stdlib/malloc.c,v retrieving revision 1.166 diff -u -p -r1.166 malloc.c --- malloc.

9p

2014-05-29 Thread strake888
I have been writing a 9p vfs interface. Ultimately I hope to have this in stock OpenBSD. So far it's incomplete and experimental and often faulty; I shall hack it further when I have time, but meanwhile I post the diff here in case someone else wishes to do so. This is my first vfs code, and I'v

Re: USB suspend/resume race

2014-05-29 Thread Martin Pieuchot
On 19/01/10(Tue) 01:07, Jean-Philippe Ouellet wrote: > On 26/05/14(Mon) 13:46, Martin Pieuchot wrote: > > I'd appreciate if people having troubles with suspend/resume could try > > this diff an report back. > > Fixes it for me! :D > Many thanks. You're welcome. > > Previous diff was lacking the