7660fd850d
MNT_NOSUID, just check MNT_NOSUID to clear the S{U,G}ID bits in the attributes for the vnode we're about to exec. We now check P_TRACED right before we would actually perform the s{u,g}id function in the exec code. This closes a race condition between exec of a setuid binary and ptrace(2). |
||
---|---|---|
.. | ||
files.netbsd32 | ||
Makefile | ||
netbsd32_compat_09.c | ||
netbsd32_compat_10.c | ||
netbsd32_compat_12.c | ||
netbsd32_compat_13.c | ||
netbsd32_compat_14.c | ||
netbsd32_compat_43.c | ||
netbsd32_conv.h | ||
netbsd32_exec_aout.c | ||
netbsd32_exec_elf32.c | ||
netbsd32_exec.h | ||
netbsd32_execve.c | ||
netbsd32_fs.c | ||
netbsd32_ioctl.c | ||
netbsd32_ioctl.h | ||
netbsd32_ipc.c | ||
netbsd32_kern_sig.c | ||
netbsd32_netbsd.c | ||
netbsd32_select.c | ||
netbsd32_signal.c | ||
netbsd32_socket.c | ||
netbsd32_syscall.h | ||
netbsd32_syscallargs.h | ||
netbsd32_syscalls.c | ||
netbsd32_sysctl.c | ||
netbsd32_sysent.c | ||
netbsd32_time.c | ||
netbsd32_uvm_unix.c | ||
netbsd32_wait.c | ||
netbsd32.h | ||
syscalls.conf | ||
syscalls.master |