Module Name: src Committed By: msaitoh Date: Fri Aug 8 06:56:50 UTC 2014
Modified Files: src/sys/compat/linux/common [netbsd-5-1]: linux_socketcall.c src/sys/compat/linux32/common [netbsd-5-1]: linux32_socketcall.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1916): sys/compat/linux32/common/linux32_socketcall.c: revision 1.9 sys/compat/linux/common/linux_socketcall.c: revision 1.44 If SCARG(uap, what) = 0, copyin() will copy (size_t)-1 bytes, and it's not a good idea; but not proven harmful. With the help of njoly@ To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.39.20.1 \ src/sys/compat/linux/common/linux_socketcall.c cvs rdiff -u -r1.6 -r1.6.26.1 \ src/sys/compat/linux32/common/linux32_socketcall.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.