Date: Sat, 27 Oct 2001 04:11:25 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys proc.h src/sys/kern kern_exec.c kern_prot.c Message-ID: <200110271111.f9RBBPd00957@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2001/10/27 04:11:25 PDT
Modified files:
sys/sys proc.h
sys/kern kern_exec.c kern_prot.c
Log:
Add a P_INEXEC flag that indicates that the process has called execve() and
it has not yet returned. Use this flag to deny debugging requests while
the process is execve()ing, and close once and for all any race conditions
that might occur between execve() and various debugging interfaces.
Reviewed by: jhb, rwatson
Revision Changes Path
1.144 +25 -15 src/sys/kern/kern_exec.c
1.117 +4 -0 src/sys/kern/kern_prot.c
1.191 +1 -0 src/sys/sys/proc.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110271111.f9RBBPd00957>
