Re: CVS commit: src
From: Maxime Villard m...@netbsd.org Date: Wed, 16 Apr 2014 18:55:20 + An (un)privileged user can easily make the kernel dereference a NULL pointer. The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data). In most cases of the changes you made, there is already a test for the length of the data buffer. Is this not guaranteed to be zero if data is null? It seems to me that the length test ought to suffice, and if anything the null pointer test should be an assertion, not a check.
CVS commit: src/sys/arch/evbarm/cubie
Module Name:src Committed By: martin Date: Sun Apr 20 10:06:08 UTC 2014 Modified Files: src/sys/arch/evbarm/cubie: cubie_machdep.c Log Message: Fetch the ethernet address from u-boot boardinfo and provide it as mac-address property for ethernet controllers. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/cubie/cubie_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/base
Module Name:src Committed By: abs Date: Sun Apr 20 13:41:21 UTC 2014 Modified Files: src/distrib/sets/lists/base: rescue.ad.m68k.shl rescue.i386 rescue.shark rescue.sparc rescue.vax Log Message: Mark /rescue/ldconfig as 'pic' only to enable building static releases (NOPIC=). Only MKX11=no tested. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/base/rescue.ad.m68k.shl \ src/distrib/sets/lists/base/rescue.shark \ src/distrib/sets/lists/base/rescue.vax cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/base/rescue.i386 \ src/distrib/sets/lists/base/rescue.sparc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/include
Module Name:src Committed By: christos Date: Sun Apr 20 16:06:05 UTC 2014 Modified Files: src/sys/arch/arm/include: cpufunc.h Log Message: include cpufunc_proto.h since things need it. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/arch/arm/include/cpufunc.h 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: maxv Date: Sun Apr 20 21:26:51 UTC 2014 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: This thing is totally buggy: 'data_len' is modified by the fs, so calling kmem_free with it while its value has changed since the kmem_alloc is far from being a good idea. If the kernel figures out that something mismatches, it will panic (typically with kernfs). To generate a diff of this commit: cvs rdiff -u -r1.481 -r1.482 src/sys/kern/vfs_syscalls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/arm32
Module Name:src Committed By: matt Date: Sun Apr 20 22:31:34 UTC 2014 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Reduce resident_count by number of pages, not number of ptes. To generate a diff of this commit: cvs rdiff -u -r1.287 -r1.288 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: aymeric Date: Sun Apr 20 22:39:51 UTC 2014 Modified Files: src/sys/net: if_tap.c Log Message: Call mutex_destroy() on sc_kqlock in tap_detach(). Found by LOCKDEBUG. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/net/if_tap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/samsung
Module Name:src Committed By: matt Date: Sun Apr 20 22:45:27 UTC 2014 Modified Files: src/sys/arch/arm/samsung: sscom.c Log Message: Allow setting of console speed in init. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/sscom.c 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: dholland Date: Sun Apr 20 22:48:59 UTC 2014 Modified Files: src/bin/ps: extern.h print.c ps.h Log Message: Use an enum type for PRINTMODE vs. WIDTHMODE. Compiler output diffs have been checked. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/bin/ps/extern.h cvs rdiff -u -r1.121 -r1.122 src/bin/ps/print.c cvs rdiff -u -r1.26 -r1.27 src/bin/ps/ps.h 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: dholland Date: Sun Apr 20 23:31:40 UTC 2014 Modified Files: src/bin/ps: ps.c Log Message: Don't bother using variables whose value is never changed from the initialization value. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/bin/ps/ps.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/comp
Module Name:src Committed By: joerg Date: Mon Apr 21 00:17:50 UTC 2014 Modified Files: src/distrib/sets/lists/comp: md.amd64 md.sparc64 Log Message: /usr/include/g++/bits/${CONFIG} directories are created independent of MKGCC, so fix file lists. To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/distrib/sets/lists/comp/md.amd64 cvs rdiff -u -r1.182 -r1.183 src/distrib/sets/lists/comp/md.sparc64 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.