Re: PT_ATTACH wait(2) and reparent

2020-02-11 Thread Claudio Jeker
On Tue, Feb 11, 2020 at 02:03:40PM +0100, Martin Pieuchot wrote: > On 06/02/20(Thu) 12:08, Martin Pieuchot wrote: > > As exposed recently via the t_ptrace regression and some make changes an > > exit status might reported twice to its parent via wait(2). > > > > The diff below fixes that by

Re: PT_ATTACH wait(2) and reparent

2020-02-11 Thread Martin Pieuchot
On 06/02/20(Thu) 12:08, Martin Pieuchot wrote: > As exposed recently via the t_ptrace regression and some make changes an > exit status might reported twice to its parent via wait(2). > > The diff below fixes that by making sure we do not re-parent a child to > the same parent. > > With it the

PT_ATTACH wait(2) and reparent

2020-02-06 Thread Martin Pieuchot
As exposed recently via the t_ptrace regression and some make changes an exit status might reported twice to its parent via wait(2). The diff below fixes that by making sure we do not re-parent a child to the same parent. With it the above mentioned regression as well as the ptrace one that I'm