From: ebiederm@xmission.com (Eric W. Biederman)
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] exec: Only allow a threaded init to exec from the thread_group_leader
Date: Mon, 30 Jan 2006 13:41:04 -0700 [thread overview]
Message-ID: <m1irs15tzz.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0601301014570.6405@yvahk01.tjqt.qr> (Jan Engelhardt's message of "Mon, 30 Jan 2006 10:15:41 +0100 (MET)")
Jan Engelhardt <jengelh@linux01.gwdg.de> writes:
>>
>>So threading init will work just fine. The only case that will blow up
>>is calling exec from something that is not the thread group leader.
>>i.e. If tgid == 1 but pid != 1 the kernel will cause pid == 1 to exit.
>
> Should not it, at its best, replace the whole thread group by the new
> program and have things carry on?
You see the bug.
Eric
next prev parent reply other threads:[~2006-01-30 20:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-29 6:18 Eric W. Biederman
2006-01-29 8:36 ` Andrew Morton
2006-01-29 10:25 ` Eric W. Biederman
2006-01-29 10:48 ` Andrew Morton
2006-01-29 15:24 ` Pavel Machek
2006-01-29 19:32 ` Andrew Morton
2006-01-29 21:32 ` Eric W. Biederman
2006-01-30 9:15 ` Jan Engelhardt
2006-01-30 20:41 ` Eric W. Biederman [this message]
[not found] <5AeeD-7xb-7@gated-at.bofh.it>
[not found] ` <5Aggm-1V6-3@gated-at.bofh.it>
[not found] ` <5AhYT-4uR-7@gated-at.bofh.it>
2006-01-29 13:36 ` Bodo Eggert
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=m1irs15tzz.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=akpm@osdl.org \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
/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®