Home
last modified time | relevance | path

Searched hist:"1 c4042c29bd2e85aac4110552ca8ade763762e84" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/init/
H A Dmain.cdiff 1c4042c29bd2e85aac4110552ca8ade763762e84 Mon Jul 12 19:10:36 CDT 2010 Eric W. Biederman <ebiederm@xmission.com> pidns: Consolidate initialzation of special init task state

Instead of setting child_reaper and SIGNAL_UNKILLABLE one way
for the system init process, and another way for pid namespace
init processes test pid->nr == 1 and use the same code for both.

For the global init this results in SIGNAL_UNKILLABLE being set
much earlier in the initialization process.

This is a small cleanup and it paves the way for allowing unshare and
enter of the pid namespace as that path like our global init also will
not set CLONE_NEWPID.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
/openbmc/linux/kernel/
H A Dfork.cdiff 1c4042c29bd2e85aac4110552ca8ade763762e84 Mon Jul 12 19:10:36 CDT 2010 Eric W. Biederman <ebiederm@xmission.com> pidns: Consolidate initialzation of special init task state

Instead of setting child_reaper and SIGNAL_UNKILLABLE one way
for the system init process, and another way for pid namespace
init processes test pid->nr == 1 and use the same code for both.

For the global init this results in SIGNAL_UNKILLABLE being set
much earlier in the initialization process.

This is a small cleanup and it paves the way for allowing unshare and
enter of the pid namespace as that path like our global init also will
not set CLONE_NEWPID.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>