Re: iked(8) and GCM

2013-05-17 Thread Reyk Floeter
Hi, On Fri, May 17, 2013 at 12:55:15PM -0700, Aaron Stellman wrote: > Before I proceed, I realize that iked is not yet finished and is missing > some important security features. I am just pointing out something that > may not be known, and perhaps should be addressed. > ... > ikev2 esp from 10.9

iked(8) and GCM

2013-05-17 Thread Aaron Stellman
Before I proceed, I realize that iked is not yet finished and is missing some important security features. I am just pointing out something that may not be known, and perhaps should be addressed. I have a very simple instance of 2 qemu machines, running same snapshot of 5.3-current: OpenBSD openbs

Re: Unify and document usbd_transfer(9)

2013-05-17 Thread Martin Pieuchot
On 14/05/13(Tue) 16:09, Marcus Glocker wrote: > On Fri, May 10, 2013 at 09:44:53AM +0200, Martin Pieuchot wrote: > > > So this is is one more step in my effort to merge the various code paths > > to submit an USB transfer. > > > > This diff gets rid of the two badly named functions: usbd_bulk_tra

"mpsafe" mutexes

2013-05-17 Thread Mark Kettenis
So now that we have a mechanism to install interrupt handlers, it is time to look at our mutexes again. To prevent lock ordering problems with the kernel lock, we need to make sure we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes alwa

Re: Wake from zzz causes panic on thinkpad x60

2013-05-17 Thread YASUOKA Masahiko
Hi, On Fri, 17 May 2013 14:06:49 +0200 Martin Pieuchot wrote: > On 17/05/13(Fri) 19:25, YASUOKA Masahiko wrote: >> On Fri, 1 Mar 2013 13:43:00 + >> "Wade, Daniel" wrote: >> > -Original Message- >> > From: owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] On Behalf Of >> > Stefa

Re: Wake from zzz causes panic on thinkpad x60

2013-05-17 Thread Martin Pieuchot
On 17/05/13(Fri) 19:25, YASUOKA Masahiko wrote: > Hi, > > On Fri, 1 Mar 2013 13:43:00 + > "Wade, Daniel" wrote: > > -Original Message- > > From: owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] On Behalf Of > > Stefan Sperling > > Sent: Thursday, February 28, 2013 12:16 PM > >

Re: Compile time assert macro

2013-05-17 Thread Mark Kettenis
> Date: Fri, 17 May 2013 13:24:45 +0200 (CEST) > From: Stefan Fritsch > > On Fri, 3 May 2013, Stefan Fritsch wrote: > > I think a CTASSERT macro like in FreeBSD would be nice. It could be used > > to verify assumptions about type and struct sizes. > > Ariane suggested making the syntax compatib

Re: Compile time assert macro

2013-05-17 Thread Stefan Fritsch
On Fri, 3 May 2013, Stefan Fritsch wrote: > I think a CTASSERT macro like in FreeBSD would be nice. It could be used > to verify assumptions about type and struct sizes. Ariane suggested making the syntax compatible to the C11 variant. OKs for this version? --- a/sys/lib/libkern/libkern.h +++ b

Re: Possible relayd memory leak analysis

2013-05-17 Thread Alexey Suslikov
recent snaps don't have above mentioned problem. no sure what was the cause, but leak is gone. On Tue, Apr 9, 2013 at 1:47 AM, Alexey Suslikov wrote: > hi tech@ > > tools used: > * ps auxwww | grep relayd > * httperf --hog --server=192.168.5.201 --wsess=25,1000,0.1 --rate=50 > --timeout=5 > > ta

Re: Wake from zzz causes panic on thinkpad x60

2013-05-17 Thread YASUOKA Masahiko
Hi, On Fri, 1 Mar 2013 13:43:00 + "Wade, Daniel" wrote: > -Original Message- > From: owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] On Behalf Of > Stefan Sperling > Sent: Thursday, February 28, 2013 12:16 PM > To: Edd Barrett > Cc: tech@openbsd.org > Subject: Re: Wake from zz