Re: queue(3) TAILQ example causes compiler warning

2012-03-05 Thread Claudio Jeker
On Mon, Mar 05, 2012 at 11:34:43PM -0300, Christiano F. Haesbaert wrote: > On Fri, Mar 02, 2012 at 12:46:15AM -0500, Lawrence Teo wrote: > > The following example code in the queue(3) man page to delete all > > elements in a tail queue generates a warning in gcc and clang. > > > > while (np =

Re: queue(3) TAILQ example causes compiler warning

2012-03-05 Thread Christiano F. Haesbaert
On Fri, Mar 02, 2012 at 12:46:15AM -0500, Lawrence Teo wrote: > The following example code in the queue(3) man page to delete all > elements in a tail queue generates a warning in gcc and clang. > > while (np = TAILQ_FIRST(&head)) { > TAILQ_REMOVE(&head, np, entries); >

Re: relayd and rdomain/prio defaults

2012-03-05 Thread Erik Lax
On 3/2/12 5:09 PM, Gabriel Linder wrote: Since 5.0 rules injected by relayd includes "on rdomain 0" and "prio 0", I guess that's not intended ? I think you're right. And if so, the same problem seem to exist for the ftp-proxy (filter.c) as well. I guess this is what happens when default values

Re: limiting the RAM used by OpenBSD

2012-03-05 Thread Mike Larkin
On Mon, Mar 05, 2012 at 06:05:43PM +0100, Salvador Fandino wrote: > Hi, > > Is there a simple way to limit the amount of RAM used by OpenBSD? Can it > be done from the User Kernel Config prompt or in some other way? > > I have a little Perl script that is able to hang OpenBSD running inside > a v

limiting the RAM used by OpenBSD

2012-03-05 Thread Salvador Fandino
Hi, Is there a simple way to limit the amount of RAM used by OpenBSD? Can it be done from the User Kernel Config prompt or in some other way? I have a little Perl script that is able to hang OpenBSD running inside a virtual machine with little memory and lots of swap and now, I want to see if I c

Re: enable/fix vt switching on sandybridge machines

2012-03-05 Thread Owain Ainsworth
On Sun, Mar 04, 2012 at 10:21:55PM +0100, Mark Kettenis wrote: > > Date: Sun, 4 Mar 2012 12:27:56 -0800 > > From: Mike Larkin > > Cc: joshua stein , tech@openbsd.org > > Reply-To: mlar...@azathoth.net > > List-Owner: > > X-Loop: tech@openbsd.org > > Sender: owner-t.

Re: request for the inclusion of the pcap-filter manpage

2012-03-05 Thread Han Boetes
Lawrence Teo wrote: > On Mon, Mar 05, 2012 at 12:43:07AM +0100, Ingo Schwarze wrote: > > > http://www.manpagez.com/man/7/pcap-filter/ > > > http://www.tcpdump.org/release/libpcap-1.2.1.tar.gz > > > > > > Please consider adding it to the distribution. > > > > From cursory inspection, it looks like O