Re: svn commit: r270999 - head/sys/kern

2014-09-04 Thread Gleb Smirnoff
On Wed, Sep 03, 2014 at 12:10:28PM -0700, John-Mark Gurney wrote: J M + if (p-p_pptr) { J Mkp-ki_ppid = proc_realparent(p)-p_pid; J M - if (p-p_flag P_TRACED) J M - kp-ki_tracer = p-p_pptr-p_pid; J M + if (p-p_flag P_TRACED) J M +

Re: svn commit: r270999 - head/sys/kern

2014-09-04 Thread John-Mark Gurney
Gleb Smirnoff wrote this message on Thu, Sep 04, 2014 at 13:18 +0400: On Wed, Sep 03, 2014 at 12:10:28PM -0700, John-Mark Gurney wrote: J M + if (p-p_pptr) { J M kp-ki_ppid = proc_realparent(p)-p_pid; J M - if (p-p_flag P_TRACED) J M - kp-ki_tracer =

svn commit: r270999 - head/sys/kern

2014-09-03 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 3 08:14:07 2014 New Revision: 270999 URL: http://svnweb.freebsd.org/changeset/base/270999 Log: Fix dereference after NULL check. CID: 1234607 Sponsored by: Nginx, Inc. Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c

Re: svn commit: r270999 - head/sys/kern

2014-09-03 Thread Konstantin Belousov
On Wed, Sep 03, 2014 at 08:14:07AM +, Gleb Smirnoff wrote: Author: glebius Date: Wed Sep 3 08:14:07 2014 New Revision: 270999 URL: http://svnweb.freebsd.org/changeset/base/270999 Log: Fix dereference after NULL check. CID:1234607 Sponsored by: Nginx,

Re: svn commit: r270999 - head/sys/kern

2014-09-03 Thread Mateusz Guzik
On Wed, Sep 03, 2014 at 08:14:07AM +, Gleb Smirnoff wrote: Author: glebius Date: Wed Sep 3 08:14:07 2014 New Revision: 270999 URL: http://svnweb.freebsd.org/changeset/base/270999 Log: Fix dereference after NULL check. CID:1234607 Sponsored by: Nginx,

Re: svn commit: r270999 - head/sys/kern

2014-09-03 Thread Gleb Smirnoff
Mateusz, Kostik, On Wed, Sep 03, 2014 at 10:55:23AM +0200, Mateusz Guzik wrote: M Modified: head/sys/kern/kern_proc.c M == M --- head/sys/kern/kern_proc.c Wed Sep 3 08:13:46 2014 (r270998) M +++

Re: svn commit: r270999 - head/sys/kern

2014-09-03 Thread John-Mark Gurney
Gleb Smirnoff wrote this message on Wed, Sep 03, 2014 at 13:49 +0400: Mateusz, Kostik, On Wed, Sep 03, 2014 at 10:55:23AM +0200, Mateusz Guzik wrote: M Modified: head/sys/kern/kern_proc.c M == M ---