diff options
author | mjg <mjg@FreeBSD.org> | 2014-07-14 22:40:46 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-07-14 22:40:46 +0000 |
commit | b55267950cd9769e1bfebb6179201653215a2d65 (patch) | |
tree | 71ceae67e787487e4f7f293baf3975a09fdabc97 /sys/kern/kern_exec.c | |
parent | ce102225bd4dbf744bdfe29d60b06a676f7235ad (diff) | |
download | FreeBSD-src-b55267950cd9769e1bfebb6179201653215a2d65.zip FreeBSD-src-b55267950cd9769e1bfebb6179201653215a2d65.tar.gz |
Plug p_pptr null test in do_execve. It is always true.
Diffstat (limited to 'sys/kern/kern_exec.c')
-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 489096b..1202061 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -655,7 +655,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); } |