CVS commit: src/sys/kern

2012-03-15 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Mar 16 06:47:37 UTC 2012 Modified Files: src/sys/kern: uipc_socket.c Log Message: Fix PR/49150. Make listen(2) match the opengroup specification for what what errno to return if the socket is connected when a listen(2) is attemp

CVS commit: src/tests/lib/libc/sys

2012-03-15 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Mar 16 06:15:17 UTC 2012 Modified Files: src/tests/lib/libc/sys: t_msync.c Log Message: Don't rely on INT_MAX being unmapped. Use mmap to get a page and then unmap it. Then use that address for msync. To generate a diff of t

CVS commit: src/distrib/notes/common

2012-03-15 Thread Joseph Koshy
Module Name:src Committed By: jkoshy Date: Fri Mar 16 05:43:10 UTC 2012 Modified Files: src/distrib/notes/common: main Log Message: Add an entry for myself. To generate a diff of this commit: cvs rdiff -u -r1.484 -r1.485 src/distrib/notes/common/main Please note that di

CVS commit: src

2012-03-15 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Mar 15 22:35:04 UTC 2012 Modified Files: src/common/lib/libprop: proplib.3 src/sbin/savecore: savecore.8 src/usr.bin/whois: whois.1 src/usr.sbin/btconfig: btconfig.8 src/usr.sbin/btpand: btpand.8

CVS commit: src/lib

2012-03-15 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Mar 15 19:04:47 UTC 2012 Modified Files: src/lib/libbluetooth: sdp.3 sdp_data.3 src/lib/librt: mq_close.3 mq_getattr.3 mq_notify.3 mq_open.3 mq_receive.3 mq_send.3 mq_setattr.3 mq_unlink.3 src/lib/lib

CVS commit: src/sys/external/isc/atheros_hal/dist

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:52:02 UTC 2012 Modified Files: src/sys/external/isc/atheros_hal/dist: ah_eeprom_v4k.c Log Message: Revert previous; needs more work To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/sys/external

CVS commit: src/sys/external/isc/atheros_hal/dist

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:49:50 UTC 2012 Modified Files: src/sys/external/isc/atheros_hal/dist: ah_eeprom_v4k.c Log Message: Use the right marcro for loop bound, avoids read past array end. Found by gcc -03 To generate a diff of this commit

CVS commit: src/sys/dev/usb

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:40:32 UTC 2012 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Also print and bail out if the hardware returned a too large bSamFreqType, instead of reading past descriptor array. Found by gcc -O3 To generat

CVS commit: src/sys/dev/usb

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:39:21 UTC 2012 Modified Files: src/sys/dev/usb: if_zyd.c Log Message: Always init *val; some callers of zyd_read*() do not check the return value for error. Found by gcc -O3 To generate a diff of this commit: cvs r

CVS commit: src/sys/dev/usb

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:38:37 UTC 2012 Modified Files: src/sys/dev/usb: ehci.c Log Message: Do not read array before detecting array overflow, found by gcc -O3 To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188 src/sys/dev/us

CVS commit: src/sys/dev/sdmmc

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:37:44 UTC 2012 Modified Files: src/sys/dev/sdmmc: sdhc.c Log Message: Do not read past array end, found by gcc -O3. This could cause to HWRITE4() a bad value, but maybe last 2 bytes are probably ignored by hardware a

CVS commit: src/sys/dev/ic

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:35:20 UTC 2012 Modified Files: src/sys/dev/ic: dpt.c Log Message: Do not read past array end; found by gcc -O3 To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/dev/ic/dpt.c Please note that di

CVS commit: src/sys/dev/ic

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 18:34:40 UTC 2012 Modified Files: src/sys/dev/ic: bwi.c Log Message: Fix array overflow, found by gcc -O3. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/ic/bwi.c Please note that diffs are

CVS commit: src/lib/libc/compat/gen

2012-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 15 16:47:38 UTC 2012 Modified Files: src/lib/libc/compat/gen: compat_fts.c Log Message: missed one (thanks joerg) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/compat/gen/compat_fts.c Please

CVS commit: src/sys/dev/i2c

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 16:20:36 UTC 2012 Modified Files: src/sys/dev/i2c: cx24227.c Log Message: always set *data to appease gcc -03 (some users of cx24227_readreg() don't check return value for error). To generate a diff of this commit: cv

CVS commit: src/sys/dev/acpi

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 16:19:02 UTC 2012 Modified Files: src/sys/dev/acpi: fujbp_acpi.c Log Message: Do not use uninitialized level if fujitsu_bp_get_brightness() returned an error; from gcc -O3 (completely harmless in this case though). To

CVS commit: src/sys/compat

2012-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 16:17:48 UTC 2012 Modified Files: src/sys/compat/linux/common: linux_socket.c src/sys/compat/linux32/common: linux32_socket.c Log Message: Do not read past end of array. Found by gcc -03 To generate a diff of

CVS commit: src/bin/ps

2012-03-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Mar 15 15:49:59 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/bin/ps/ps.1 Please note that diffs are not public domain; the

CVS commit: src/bin/ps

2012-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 15 15:43:43 UTC 2012 Modified Files: src/bin/ps: ps.1 Log Message: Fix obsolete example (that referred to letters in process state that are not set anymore), and clarify their meaning. To generate a diff of this commit

CVS commit: src/share/mk

2012-03-15 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Mar 15 15:04:23 UTC 2012 Modified Files: src/share/mk: bsd.sys.mk Log Message: Don't error out for non-literal format strings with Clang until the rest of the __printflike changes are in the tree. To generate a diff of this c

CVS commit: src/sys/netinet

2012-03-15 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Mar 15 13:25:46 UTC 2012 Modified Files: src/sys/netinet: rfc6056.c Log Message: Fix random kernel memory corruption by algo_doublehash(). And by "random" I don't mean just "arbitary" as in using an uninitialized pointer, but r

CVS commit: src/lib/libc/stdio

2012-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 15 13:23:10 UTC 2012 Modified Files: src/lib/libc/stdio: local.h Log Message: fix signature. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libc/stdio/local.h Please note that diffs are not publ

CVS commit: src/tests/fs/vfs

2012-03-15 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Mar 15 12:57:28 UTC 2012 Modified Files: src/tests/fs/vfs: t_unpriv.c Log Message: Add another testcase that check setting file times with unprivileged credentials. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libpuffs

2012-03-15 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Mar 15 12:49:36 UTC 2012 Modified Files: src/lib/libpuffs: creds.c Log Message: Use puffs_access() return value in the VA_UTIMES_NULL case. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libpuffs/creds.

CVS commit: src/sys/rump/librump/rumpvfs

2012-03-15 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Mar 15 12:42:28 UTC 2012 Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: Use VOP va_vaflags attribute for genfs_can_chtimes(), not rumpfs node one. To generate a diff of this commit: cvs rdiff -u -r1.107 -

CVS commit: src/lib/libc/stdio

2012-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 15 11:46:08 UTC 2012 Modified Files: src/lib/libc/stdio: local.h Log Message: ansi prototypes. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libc/stdio/local.h Please note that diffs are not pu

CVS commit: [netbsd-6] src/doc

2012-03-15 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Mar 15 08:53:56 UTC 2012 Modified Files: src/doc [netbsd-6]: CHANGES-6.0 Log Message: Ticket #117 To generate a diff of this commit: cvs rdiff -u -r1.1.2.53 -r1.1.2.54 src/doc/CHANGES-6.0 Please note that diffs are not pu

CVS commit: [netbsd-6] src/usr.bin/last

2012-03-15 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Mar 15 08:53:43 UTC 2012 Modified Files: src/usr.bin/last [netbsd-6]: want.c Log Message: Pull up the following revisions(s) (requested by dholland in ticket #117): usr.bin/last/want.c:revision 1.15-116 Keep tra

CVS commit: [netbsd-5] src/doc

2012-03-15 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Mar 15 08:50:59 UTC 2012 Modified Files: src/doc [netbsd-5]: CHANGES-5.2 Log Message: Ticket #1744 To generate a diff of this commit: cvs rdiff -u -r1.1.2.144 -r1.1.2.145 src/doc/CHANGES-5.2 Please note that diffs are not

CVS commit: [netbsd-5] src/usr.bin/last

2012-03-15 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Mar 15 08:50:41 UTC 2012 Modified Files: src/usr.bin/last [netbsd-5]: want.c Log Message: Pull up the following revisions(s) (requested by dholland in ticket #1744): usr.bin/last/want.c:revision 1.15-1.16 Keep t