Module Name: src Committed By: martin Date: Fri Apr 19 09:12:58 UTC 2019
Modified Files: src/sys/compat/common [netbsd-8]: uipc_syscalls_40.c src/sys/compat/linux/common [netbsd-8]: linux_socket.c src/sys/compat/linux32/common [netbsd-8]: linux32_socket.c src/sys/net [netbsd-8]: if.c Log Message: Pull up following revision(s) (requested by christos in ticket #1233): sys/compat/linux/common/linux_socket.c: revision 1.145 sys/net/if.c: revision 1.449 sys/compat/linux32/common/linux32_socket.c: revision 1.30 sys/compat/common/uipc_syscalls_40.c: revision 1.19 Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack disclosure. From Andy Nguyen, many thanks! - Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack disclosure. From Andy Nguyen, many thanks! This is the compat code part pointed out by ozaki-r@ To generate a diff of this commit: cvs rdiff -u -r1.13.6.2 -r1.13.6.3 src/sys/compat/common/uipc_syscalls_40.c cvs rdiff -u -r1.138.6.3 -r1.138.6.4 \ src/sys/compat/linux/common/linux_socket.c cvs rdiff -u -r1.27.6.2 -r1.27.6.3 \ src/sys/compat/linux32/common/linux32_socket.c cvs rdiff -u -r1.394.2.15 -r1.394.2.16 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.