Author: mjg Date: Mon Jul 14 22:40:46 2014 New Revision: 268636 URL: http://svnweb.freebsd.org/changeset/base/268636
Log: Plug p_pptr null test in do_execve. It is always true. Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c ============================================================================== --- head/sys/kern/kern_exec.c Mon Jul 14 21:32:40 2014 (r268635) +++ head/sys/kern/kern_exec.c Mon Jul 14 22:40:46 2014 (r268636) @@ -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); } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"