lkml.org 
[lkml]   [2007]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/3] start the global /sbin/init with 0,0 special pids
Date
Oleg Nesterov <oleg@tv-sign.ru> writes:

> As Eric pointed out, there is no problem with init starting with sid == pgid
> == 0, and this was historical linux behavior changed in 2.6.18.
>
> Remove kernel_init()->__set_special_pids().
>
> This change and the previous change in daemonize() mean that /sbin/init does
> not need the special "session != 1" hack in sys_setsid() any longer. We can't
> remove this check yet, we should cleanup copy_process(CLONE_NEWPID) first, so
> update the comment only.

I guess that works. As long as we get there. We just need one more patch
in this series to fix the copy_process(CLONE_NEWPID).

Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-27 16:11    [W:0.331 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site