mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
From: Chris Wright <chrisw@osdl.org>
To: Andrew Morton <akpm@osdl.org>
Cc: James Morris <jmorris@redhat.com>,
	sds@epoch.ncsc.mil, aviro@redhat.com,
	linux-kernel@vger.kernel.org, russell@coker.com.au
Subject: Re: Fw: Re: [PATCH][RFC] Remove CLONE_FILES from init kernel thread creation
Date: Tue, 18 Nov 2003 15:42:23 +1100	[thread overview]
Message-ID: <20031118231021.D61362C242@lists.samba.org> (raw)
In-Reply-To: Your message of "Mon, 17 Nov 2003 13:32:40 -0800." <20031117133240.04e9c8e8.akpm@osdl.org>

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.

           reply	other threads:[~2003-11-18 23:10 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20031117133240.04e9c8e8.akpm@osdl.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031118231021.D61362C242@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=akpm@osdl.org \
    --cc=aviro@redhat.com \
    --cc=jmorris@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=russell@coker.com.au \
    --cc=sds@epoch.ncsc.mil \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®