Module Name: src Committed By: martin Date: Sun Mar 29 09:07:55 UTC 2015
Modified Files: src/sys/compat/linux/common [netbsd-7]: linux_exec_elf32.c src/sys/compat/linux32/common [netbsd-7]: linux32_exec_elf32.c src/sys/compat/netbsd32 [netbsd-7]: netbsd32_exec_elf32.c src/sys/compat/svr4_32 [netbsd-7]: svr4_32_exec_elf32.c src/sys/kern [netbsd-7]: exec_elf.c Log Message: Pull up following revision(s) (requested by maxv in ticket #650): sys/compat/netbsd32/netbsd32_exec_elf32.c: revision 1.39 sys/kern/exec_elf.c: revision 1.71 sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.18 sys/compat/linux/common/linux_exec_elf32.c: revision 1.92 sys/compat/svr4_32/svr4_32_exec_elf32.c: revision 1.24 Zero-fill the ELF auxiliary vectors. Otherwise, on 64bit systems, the padding between a_v and a_type contains kernel garbage, therefore exposed to userland. Original report by uebayasi@ To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.91.2.1 src/sys/compat/linux/common/linux_exec_elf32.c cvs rdiff -u -r1.17 -r1.17.4.1 \ src/sys/compat/linux32/common/linux32_exec_elf32.c cvs rdiff -u -r1.37 -r1.37.2.1 src/sys/compat/netbsd32/netbsd32_exec_elf32.c cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/compat/svr4_32/svr4_32_exec_elf32.c cvs rdiff -u -r1.69.2.1 -r1.69.2.2 src/sys/kern/exec_elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.