NetBSD/sys/compat
thorpej 7660fd850d In check_exec(), don't bother checking P_TRACED along with
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).
2001-06-15 17:24:19 +00:00
..
aout use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
aoutm68k use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
common Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
freebsd use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
hpux Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
ibcs2 Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
linux Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
m68k4k
netbsd32 In check_exec(), don't bother checking P_TRACED along with 2001-06-15 17:24:19 +00:00
osf1 Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
ossaudio Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
pecoff
sunos Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
sunos32 Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
svr4 Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
svr4_32 Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
ultrix Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vax1k
Makefile