Skip to contentSkip to conversation

exec: Only allow a threaded init to exec from the thread_group_leader

PATCH Bodo Eggert 1 participant 1 message Jan 29, 2006 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 6 lines · Eric W. Biederman

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.

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.