Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 10:23:19 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Mateusz Guzik <mjg@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r270444 - in head/sys: kern sys
Message-ID:  <1724027.iWxFDWcg2R@ralph.baldwin.cx>
In-Reply-To: <201408240904.s7O949sI083660@svn.freebsd.org>
References:  <201408240904.s7O949sI083660@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, August 24, 2014 09:04:09 AM Mateusz Guzik wrote:
> Author: mjg
> Date: Sun Aug 24 09:04:09 2014
> New Revision: 270444
> URL: http://svnweb.freebsd.org/changeset/base/270444
> 
> Log:
>   Fix getppid for traced processes.
> 
>   Traced processes always have the tracer set as the parent.
>   Utilize proc_realparent to obtain the right process when needed.

Are you sure this won't break things?  I know of several applications that 
expect a debugger to be the parent when attached and change behavior as a 
result (e.g. inserting a breakpoint on an assertion failure rather than 
generating a core).

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1724027.iWxFDWcg2R>