diff options
author | mjg <mjg@FreeBSD.org> | 2014-08-17 07:22:40 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-08-17 07:22:40 +0000 |
commit | fd678d23e5057af1b9ebf94bcd31fb03323560fd (patch) | |
tree | 767c7a5136a3984a97a6b0f6c314a4fa9e64f41d | |
parent | 46f8d5c454d6442279238a41dcb20c620f0e8b95 (diff) | |
download | FreeBSD-src-fd678d23e5057af1b9ebf94bcd31fb03323560fd.zip FreeBSD-src-fd678d23e5057af1b9ebf94bcd31fb03323560fd.tar.gz |
MFC r268636:
Plug p_pptr null test in do_execve. It is always true.
-rw-r--r-- | sys/kern/kern_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 1c67059..a07b64c 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -658,7 +658,7 @@ interpret: * it that it now has its own resources back */ p->p_flag |= P_EXEC; - if (p->p_pptr && (p->p_flag & P_PPWAIT)) { + if (p->p_flag & P_PPWAIT) { p->p_flag &= ~(P_PPWAIT | P_PPTRACE); cv_broadcast(&p->p_pwait); } |