2006-01-29 13:36:26

by Bodo Eggert

[permalink] [raw]
Subject: Re: [PATCH] exec: Only allow a threaded init to exec from the thread_group_leader

Eric W. Biederman <[email protected]> wrote:

> If process id namespaces become a reality init stops being
> terribly special, and becomes something you may have several
> of running at any one time. If one of those inits is compromised
> by a hostile user I having the whole system go down so we can
> avoid executing a cheap test sounds terribly wrong. That is
> why I really care.

There are virtual environments like linux-vserver(.org), where init is
running several times on one system, each with their local/virtual
pid being 1. Killing them does no harm unless it's the real init.
I asume in your system, the real init will exist under the control
of the administrator, too, so there should be no danger.
--
Ich danke GMX daf?r, die Verwendung meiner Adressen mittels per SPF
verbreiteten L?gen zu sabotieren.