Re: [PATCH] kernel: release ptraced tasks before zap_pid_ns_processes

From: Andrei Vagin
Date: Thu Jan 10 2019 - 03:37:06 EST


On Wed, Jan 09, 2019 at 06:08:30PM +0100, Oleg Nesterov wrote:
> On 01/08, Andrei Vagin wrote:
> >
> > No, you don't. The patch looks really nice. Thanks!
> >
> > BTW: We probably need to add the "Fixes:" tag, but I am not sure to which
> > commit, it looks like the issue is here for years.
>
> I hate you ;)

I know :)

> Ok, OK, this was broken by me in 7c8bd2322c7fd973d089b27de55e29c92c667a06
> "exit: ptrace: shift "reap dead" code from exit_ptrace() to forget_original_parent()"
>
> > Acked-by: Andrei Vagin <avagin@xxxxxxxxx>
>
> Thanks, but if you agree with this patch may I ask you to send v2?
>
> You found the real problem, my version is only slightly better than yours,
> I don't want to steal the "From" tag. Feel free to add mine signed-of-by.

Thanks Oleg! I will send a second version of this patch.

>
> Oleg.
>