Re: PATCH: Fix boolean value for ACPI logical comparisons

2011-03-19 Thread Marco Peereboom
This is the right thing to do. ok On Fri, Mar 18, 2011 at 04:48:13PM -0600, Jordan Hargrave wrote: This patch changes the values of boolean comparisons from 0:1 to 0:-1 (from ACPI Spec) in order to fix an AML issue on some Asus machines. Please test on other machines as well to verify that

Re: wprintf and friends

2011-03-19 Thread Mark Kettenis
Date: Sun, 13 Mar 2011 16:49:01 +0100 From: Stefan Sperling s...@openbsd.org Marc Espie reminded me a while back that we'll also need to make sure that nothing in base will suddenly start using this (e.g. code in gnu/). Well, it shouldn't be a problem if stuff in base started using this

Re: fenv.h support for libm

2011-03-19 Thread Mark Kettenis
Date: Sun, 13 Mar 2011 20:22:23 -0700 From: Philip Guenther guent...@gmail.com These headers violate POSIX namespace rules in various ways: - pulling in sys/stdint.h, machine/fpu.h, and i386/npx.h defines names that aren't permitted. (seems unnecessary too; just use unsigned

Re: PATCH: Fix boolean value for ACPI logical comparisons

2011-03-19 Thread Kenneth R Westerback
On Fri, Mar 18, 2011 at 04:48:13PM -0600, Jordan Hargrave wrote: This patch changes the values of boolean comparisons from 0:1 to 0:-1 (from ACPI Spec) in order to fix an AML issue on some Asus machines. Please test on other machines as well to verify that hardware sensors/acpi/boot work

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-19 Thread Miod Vallat
Index: src/sys/dev/usb/if_axe.c === RCS file: /cvs/src/sys/dev/usb/if_axe.c,v retrieving revision 1.105 diff -u -p -r1.105 if_axe.c --- src/sys/dev/usb/if_axe.c 25 Jan 2011 20:03:35 - 1.105 +++

Re: Add MDNS lookup for libc.

2011-03-19 Thread Christiano F. Haesbaert
On Tue, Mar 15, 2011 at 01:06:21AM -0300, Christiano F. Haesbaert wrote: Hi, The following adds legacy MDNS lookups to libc. It adds the keyword 'mdns' to 'lookup' in /etc/resolv.conf, only names in the .local (MDNS domain) are looked up. A legacy lookup is how MDNS calls a simple

Re: PATCH: Fix boolean value for ACPI logical comparisons

2011-03-19 Thread roberth
On Fri, 18 Mar 2011 16:48:13 -0600 (MDT) Jordan Hargrave jor...@cvs.openbsd.org wrote: This patch changes the values of boolean comparisons from 0:1 to 0:-1 (from ACPI Spec) in order to fix an AML issue on some Asus machines. Please test on other machines as well to verify that hardware

Re: spamd.8 patch

2011-03-19 Thread Okan Demirmen
On Fri 2011.03.18 at 19:11 -0400, James Turner wrote: I was just setting up spamd in blacklist mode on the latest snap and discovered the man page is missing the in between pass on. Diff attached. thanks!

Re: wprintf and friends

2011-03-19 Thread Stefan Sperling
On Sat, Mar 19, 2011 at 05:58:31PM +0100, Mark Kettenis wrote: Date: Sun, 13 Mar 2011 16:49:01 +0100 From: Stefan Sperling s...@openbsd.org Marc Espie reminded me a while back that we'll also need to make sure that nothing in base will suddenly start using this (e.g. code in gnu/).

Re: Add MDNS lookup for libc.

2011-03-19 Thread Christiano F. Haesbaert
Whoops, I made some last time changes which broke big-endian systems, spotted by Mattew. Index: net/getaddrinfo.c === RCS file: /cvs/src/lib/libc/net/getaddrinfo.c,v retrieving revision 1.71 diff -d -u -p -w -r1.71 getaddrinfo.c ---

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-19 Thread Loganaden Velvindron
Miod pointed out a wrong variable used for axe(4) diff. Thanks. Index: if_axe.c === RCS file: /cvs/src/sys/dev/usb/if_axe.c,v retrieving revision 1.105 diff -u -p -r1.105 if_axe.c --- if_axe.c25 Jan 2011 20:03:35 - 1.105

urndis(4) Frame length validation

2011-03-19 Thread Loganaden Velvindron
Hi, this diff also discards packets larger than maximum buffer size. Please test. Index: src/sys/dev/usb/if_urndis.c === RCS file: /cvs/src/sys/dev/usb/if_urndis.c,v retrieving revision 1.29 diff -u -p -r1.29 if_urndis.c ---

upl(4) buffer length validation

2011-03-19 Thread Loganaden Velvindron
Hi, This discards frames that are less than 0, and those that are more than the maximum possible buffer size. Please test. As usual, any feedback welcomed. Index: src/sys/dev/usb/if_upl.c === RCS file: