On Mon, Aug 25, 2014 at 10:23:19AM -0400, John Baldwin wrote: > 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). >
Well, this is what linux and solaris do. I don't feel strongly about this change. If you really want I'm happy to revert. -- Mateusz Guzik <mjguzik gmail.com> _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"