mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Jason Baron <jbaron@redhat.com>
Cc: Rene Mayrhofer <rene.mayrhofer@gibraltar.at>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: pivot_root solved by patch to 2.4.22-pre7
Date: 07 Aug 2003 16:50:49 +0100	[thread overview]
Message-ID: <1060271448.3123.75.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0308071120210.894-100000@dhcp64-178.boston.redhat.com>

On Iau, 2003-08-07 at 16:26, Jason Baron wrote:
> it clearly makes a difference.
> 
> the unshare_files change causes init to no longer share the same fd table
> with the other kernel threads. thus, when init closes or opens fds it does

Ah yes.. because of do_basic_setup. Having /sbin/init sharing with
kernel threads doesn't actually strike me as too clever anyway although
none of them should be using fd stuff.

In which case I guess we should call unshare_files directly before we
open /dev/console in init/main.c.




  reply	other threads:[~2003-08-07 15:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44.0308051506570.26542-100000@dhcp64-178.boston.redhat.com>
2003-08-06  6:27 ` Rene Mayrhofer
2003-08-06 19:33   ` Marcelo Tosatti
2003-08-06 19:51     ` Herbert Pötzl
2003-08-07  9:34       ` Andreas Haumer
2003-08-07 10:33         ` Rene Mayrhofer
2003-08-07 11:58   ` Alan Cox
2003-08-07 15:26     ` Jason Baron
2003-08-07 15:50       ` Alan Cox [this message]
2003-08-07 16:41         ` Jason Baron
2003-08-15 18:14         ` Jason Lunz
2003-09-23 17:25 Mathias Sundman

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=1060271448.3123.75.camel@dhcp22.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=jbaron@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rene.mayrhofer@gibraltar.at \
    /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®