Plug p_pptr null test in do_execve. It is always true.
This commit is contained in:
parent
f07b643c5c
commit
965d08605f
@ -655,7 +655,7 @@ do_execve(td, args, mac_p)
|
||||
* 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user