Date: Mon, 14 Jul 2014 22:40:46 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268636 - head/sys/kern Message-ID: <201407142240.s6EMekNm039638@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407142240.s6EMekNm039638>