CVS commit: [netbsd-5] src/usr.bin/last
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 track of the timestamp of the last (thus oldest) record seen and use it to print "wtmp[x] begins" at the end. When the wtmp file is empty, use the last mod time of the wtmp file. Fixes PR/39444. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.12.1 src/usr.bin/last/want.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/doc
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 public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/usr.bin/last
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 track of the timestamp of the last (thus oldest) record seen and use it to print "wtmp[x] begins" at the end. When the wtmp file is empty, use the last mod time of the wtmp file. Fixes PR/39444. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.14.4.1 src/usr.bin/last/want.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/doc
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 public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdio
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 public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/librump/rumpvfs
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 -r1.108 src/sys/rump/librump/rumpvfs/rumpfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpuffs
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.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/fs/vfs
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 src/tests/fs/vfs/t_unpriv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdio
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 public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
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 random as in corrupting the contents of memory addresses chosen using a crypto-strength random number generator. I believe this is the likely cause of multiple reports of random crashes over the last six months, including kern/45677 and kern/46096. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/netinet/rfc6056.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/mk
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 commit: cvs rdiff -u -r1.212 -r1.213 src/share/mk/bsd.sys.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/ps
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 rdiff -u -r1.96 -r1.97 src/bin/ps/ps.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/ps
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; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat
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 this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/compat/linux/common/linux_socket.c cvs rdiff -u -r1.15 -r1.16 src/sys/compat/linux32/common/linux32_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/acpi
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 generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/fujbp_acpi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
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: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/cx24227.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/compat/gen
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 note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdio
Module Name:src Committed By: christos Date: Thu Mar 15 18:22:31 UTC 2012 Modified Files: src/lib/libc/stdio: asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c fflush.c fgetc.c fgets.c fgetwc.c fgetwln.c fgetws.c fileno.c findfp.c flags.c flockfile.c fopen.c fprintf.c fpurge.c fputc.c fputwc.c fputws.c fread.c freopen.c fscanf.c fseeko.c ftell.c ftello.c funopen.c fvwrite.c fwalk.c fwprintf.c fwrite.c fwscanf.c getc.c getchar.c gets.c gettemp.c getw.c getwchar.c makebuf.c mkdtemp.c mkstemp.c mktemp.c printf.c putc.c putchar.c puts.c putw.c refill.c remove.c rewind.c rget.c scanf.c setbuf.c setbuffer.c setvbuf.c snprintf.c sprintf.c sscanf.c stdio.c swprintf.c swscanf.c tempnam.c tmpfile.c tmpnam.c ungetc.c vasprintf.c vfscanf.c vfwprintf.c vfwscanf.c vprintf.c vscanf.c vsnprintf.c vsnprintf_ss.c vsprintf.c vsscanf.c vswprintf.c vswscanf.c vwprintf.c vwscanf.c wbuf.c wprintf.c wscanf.c wsetup.c Log Message: - ansify, knf. - no functional changes To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/stdio/asprintf.c \ src/lib/libc/stdio/ftell.c src/lib/libc/stdio/setvbuf.c \ src/lib/libc/stdio/sscanf.c src/lib/libc/stdio/stdio.c cvs rdiff -u -r1.10 -r1.11 src/lib/libc/stdio/clrerr.c \ src/lib/libc/stdio/flockfile.c src/lib/libc/stdio/fseeko.c \ src/lib/libc/stdio/mkdtemp.c src/lib/libc/stdio/mkstemp.c cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdio/fclose.c \ src/lib/libc/stdio/freopen.c src/lib/libc/stdio/vsscanf.c cvs rdiff -u -r1.15 -r1.16 src/lib/libc/stdio/fdopen.c \ src/lib/libc/stdio/flags.c src/lib/libc/stdio/puts.c \ src/lib/libc/stdio/sprintf.c cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdio/feof.c \ src/lib/libc/stdio/ferror.c src/lib/libc/stdio/fgetc.c \ src/lib/libc/stdio/fprintf.c src/lib/libc/stdio/funopen.c \ src/lib/libc/stdio/fwalk.c src/lib/libc/stdio/getc.c \ src/lib/libc/stdio/printf.c src/lib/libc/stdio/putc.c \ src/lib/libc/stdio/putw.c src/lib/libc/stdio/tmpfile.c \ src/lib/libc/stdio/vprintf.c src/lib/libc/stdio/vsnprintf_ss.c \ src/lib/libc/stdio/wsetup.c cvs rdiff -u -r1.16 -r1.17 src/lib/libc/stdio/fflush.c \ src/lib/libc/stdio/fwrite.c src/lib/libc/stdio/gets.c \ src/lib/libc/stdio/makebuf.c src/lib/libc/stdio/ungetc.c \ src/lib/libc/stdio/vsprintf.c cvs rdiff -u -r1.27 -r1.28 src/lib/libc/stdio/fgets.c \ src/lib/libc/stdio/vfwprintf.c cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdio/fgetwc.c \ src/lib/libc/stdio/fileno.c src/lib/libc/stdio/fputc.c \ src/lib/libc/stdio/fscanf.c src/lib/libc/stdio/rget.c \ src/lib/libc/stdio/scanf.c src/lib/libc/stdio/setbuffer.c cvs rdiff -u -r1.4 -r1.5 src/lib/libc/stdio/fgetwln.c \ src/lib/libc/stdio/fputwc.c cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdio/fgetws.c \ src/lib/libc/stdio/vswprintf.c cvs rdiff -u -r1.26 -r1.27 src/lib/libc/stdio/findfp.c cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdio/fopen.c \ src/lib/libc/stdio/gettemp.c src/lib/libc/stdio/refill.c \ src/lib/libc/stdio/tmpnam.c src/lib/libc/stdio/wbuf.c cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/fpurge.c \ src/lib/libc/stdio/remove.c src/lib/libc/stdio/rewind.c \ src/lib/libc/stdio/vasprintf.c src/lib/libc/stdio/vscanf.c cvs rdiff -u -r1.1 -r1.2 src/lib/libc/stdio/fputws.c \ src/lib/libc/stdio/fwprintf.c src/lib/libc/stdio/fwscanf.c \ src/lib/libc/stdio/swprintf.c src/lib/libc/stdio/swscanf.c \ src/lib/libc/stdio/vwprintf.c src/lib/libc/stdio/vwscanf.c \ src/lib/libc/stdio/wprintf.c src/lib/libc/stdio/wscanf.c cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdio/fread.c \ src/lib/libc/stdio/tempnam.c cvs rdiff -u -r1.5 -r1.6 src/lib/libc/stdio/ftello.c cvs rdiff -u -r1.23 -r1.24 src/lib/libc/stdio/fvwrite.c \ src/lib/libc/stdio/snprintf.c cvs rdiff -u -r1.9 -r1.10 src/lib/libc/stdio/getchar.c \ src/lib/libc/stdio/getw.c src/lib/libc/stdio/putchar.c \ src/lib/libc/stdio/setbuf.c cvs rdiff -u -r1.3 -r1.4 src/lib/libc/stdio/getwchar.c cvs rdiff -u -r1.19 -r1.20 src/lib/libc/stdio/mktemp.c cvs rdiff -u -r1.42 -r1.43 src/lib/libc/stdio/vfscanf.c cvs rdiff -u -r1.7 -r1.8 src/lib/libc/stdio/vfwscanf.c \ src/lib/libc/stdio/vswscanf.c cvs rdiff -u -r1.24 -r1.25 src/lib/libc/stdio/vsnprintf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ic
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 not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ic
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 diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/sdmmc
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 anyway. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/sdmmc/sdhc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
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/usb/ehci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
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 rdiff -u -r1.29 -r1.30 src/sys/dev/usb/if_zyd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
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 generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130 src/sys/dev/usb/uaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/external/isc/atheros_hal/dist
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 rdiff -u -r1.1 -r1.2 \ src/sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/external/isc/atheros_hal/dist
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/isc/atheros_hal/dist/ah_eeprom_v4k.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib
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/libusbhid: usbhid.3 src/lib/libz: zlib.3 Log Message: Use Lk macro when dealing with URLs. Another part of PR/29238. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libbluetooth/sdp.3 cvs rdiff -u -r1.7 -r1.8 src/lib/libbluetooth/sdp_data.3 cvs rdiff -u -r1.2 -r1.3 src/lib/librt/mq_close.3 src/lib/librt/mq_getattr.3 \ src/lib/librt/mq_notify.3 src/lib/librt/mq_setattr.3 cvs rdiff -u -r1.5 -r1.6 src/lib/librt/mq_open.3 cvs rdiff -u -r1.3 -r1.4 src/lib/librt/mq_receive.3 src/lib/librt/mq_send.3 \ src/lib/librt/mq_unlink.3 cvs rdiff -u -r1.13 -r1.14 src/lib/libusbhid/usbhid.3 cvs rdiff -u -r1.7 -r1.8 src/lib/libz/zlib.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
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 src/usr.sbin/cpuctl: cpuctl.8 src/usr.sbin/faithd: faithd.8 src/usr.sbin/ipwctl: ipwctl.8 src/usr.sbin/isibootd: isibootd.8 src/usr.sbin/lmcconfig: lmcconfig.8 src/usr.sbin/sdpd: sdpd.8 Log Message: Use Lk macro when dealing with URLs. While here update or remove some dead URL links. Another part of PR/29238. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libprop/proplib.3 cvs rdiff -u -r1.36 -r1.37 src/sbin/savecore/savecore.8 cvs rdiff -u -r1.25 -r1.26 src/usr.bin/whois/whois.1 cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/btconfig/btconfig.8 cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/btpand/btpand.8 cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/cpuctl/cpuctl.8 cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/faithd/faithd.8 cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/ipwctl/ipwctl.8 cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/isibootd/isibootd.8 cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/lmcconfig/lmcconfig.8 cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sdpd/sdpd.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/notes/common
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 diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libc/sys
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 this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_msync.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
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 attempted. To generate a diff of this commit: cvs rdiff -u -r1.209 -r1.210 src/sys/kern/uipc_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.