Author: mjg
Date: Sun Aug 17 07:22:40 2014
New Revision: 270093
URL: http://svnweb.freebsd.org/changeset/base/270093

Log:
  MFC r268636:
  
  Plug p_pptr null test in do_execve. It is always true.

Modified:
  stable/10/sys/kern/kern_exec.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/kern_exec.c
==============================================================================
--- stable/10/sys/kern/kern_exec.c      Sun Aug 17 07:20:37 2014        
(r270092)
+++ stable/10/sys/kern/kern_exec.c      Sun Aug 17 07:22:40 2014        
(r270093)
@@ -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);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to