Re: [PATCH 1/2] do_execve() must not clear fs->in_exec if it was set by another thread

Al Viro
2009-04-23T23:33:41Z

On Fri, Apr 24, 2009 at 01:01:56AM +0200, Oleg Nesterov wrote:
> If do_execve() fails after check_unsafe_exec(), it clears fs->in_exec
> unconditionally. This is wrong if we race with our sub-thread which
> also does do_execve:

[snip]

Applied (both of those).