Re: [GIT PULL] Please pull proc and exec work for 5.7-rc1
From: Oleg Nesterov
Date: Sat Apr 11 2020 - 14:22:18 EST
Eric, Linus, et al,
by various reasons I have not been reading emails for last weeks,
I'll try to read this thread tomorrow, currently I am a bit lost.
On 04/09, Linus Torvalds wrote:
>
> (1) have execve() not wait for dead threads while holding the cred
> mutex
This is what I tried to do 3 years ago, see
[PATCH 1/2] exec: don't wait for zombie threads with cred_guard_mutex held
https://lore.kernel.org/lkml/20170213141516.GA30233@xxxxxxxxxx/
yes, yes, yes, the patch is not pretty.
>From your another email:
> /* if the parent is going through a execve(), it's not listening */
> if (parent->signal->group_exit_task)
return false;
Heh ;) see
[PATCH 2/2] ptrace: ensure PTRACE_EVENT_EXIT won't stop if the tracee is killed by exec
https://lore.kernel.org/lkml/20170213141519.GA30239@xxxxxxxxxx/
from the same thread.
But this change is more problematic.
Oleg.