* Re: Fw: Re: [PATCH][RFC] Remove CLONE_FILES from init kernel thread creation
[not found] <20031117133240.04e9c8e8.akpm@osdl.org>
@ 2003-11-18 4:42 ` Rusty Russell, Chris Wright
0 siblings, 0 replies; only message in thread
From: Rusty Russell, Chris Wright @ 2003-11-18 4:42 UTC (permalink / raw)
To: Andrew Morton; +Cc: James Morris, sds, aviro, linux-kernel, russell
In message <20031117133240.04e9c8e8.akpm@osdl.org> you write:
>
> Rusty? Any idea why call_usermodehelper() uses CLONE_FILES?
Your guess is correct about consolidation. But there is no bug
AFAICT.
The "normal" (non-waiting case) uses "CLONE_VFORK | SIGCHLD". The
"waiting" case uses "CLONE_KERNEL", but then that thread does another
fork with just "SIGCHLD".
ie. the actual thread which does the exec never uses CLONE_FILES.
Hope that clarifies,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-11-18 23:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20031117133240.04e9c8e8.akpm@osdl.org>
2003-11-18 4:42 ` Fw: Re: [PATCH][RFC] Remove CLONE_FILES from init kernel thread creation Rusty Russell, Chris Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®