Date: Fri, 19 Dec 1997 19:05:47 -0800 (PST) From: Sean Eric Fagan <sef@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys pioctl.h proc.h src/sys/kern kern_exec.c kern_prot.c src/sys/miscfs/procfs procfs_vnops.c Message-ID: <199712200305.TAA06637@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sef 1997/12/19 19:05:47 PST Modified files: sys/sys pioctl.h proc.h sys/kern kern_exec.c kern_prot.c sys/miscfs/procfs procfs_vnops.c Log: Clear the p_stops field on change of user/group id, unless the correct flag is set in the p_pfsflags field. This, essentially, prevents an SUID proram from hanging after being traced. (E.g., "truss /usr/bin/rlogin" would fail, but leave rlogin in a stopevent state.) Yet another case where procctl is (hopefully ;)) no longer needed in the general case. Reviewed by: bde (thanks bruce :)) Revision Changes Path 1.6 +2 -2 src/sys/sys/pioctl.h 1.52 +2 -1 src/sys/sys/proc.h 1.71 +2 -2 src/sys/kern/kern_exec.c 1.39 +26 -16 src/sys/kern/kern_prot.c 1.49 +13 -3 src/sys/miscfs/procfs/procfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712200305.TAA06637>