Date: Sun, 17 Aug 2014 07:22:41 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r270093 - stable/10/sys/kern Message-ID: <201408170722.s7H7Mff8044785@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408170722.s7H7Mff8044785>