login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
26
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Oleg Nesterov
Subject:
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
Date: Monday, November 26, 2007 - 3:46 pm
On 11/26, Eric W. Biederman wrote:
quoted text
> > Oleg Nesterov <oleg@tv-sign.ru> writes: > > > This is different, perhaps we can keep this call. kernel_thread(kernel_init) > > attaches /sbin/init to init_struct_pid. Nothing bad, and a "good" init should > > do setsid() anyway. But who knows? Some special environment may expect that > > getpgrp() != 0. Not that I really disagree on this issue though. > > init starting with session == pgrp == 0 is historical linux behavior. I consider > the current 2.6 behavior a temporary aberation from the historical linux behavior.
Ah, OK.
quoted text
> Plus once we do this the code will be easier to maintain because we have > removed one obscure special case.
Yes indeed. So we can remove this special case code as soon as copy_process() is changed. Oleg. -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 1/3] fix setsid() for sub-namespace /sbin/init
, Oleg Nesterov
, (Mon Nov 26, 7:25 am)
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
, Oleg Nesterov
, (Mon Nov 26, 7:43 am)
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
, Pavel Emelyanov
, (Mon Nov 26, 8:00 am)
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
, Eric W. Biederman
, (Mon Nov 26, 12:16 pm)
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
, Oleg Nesterov
, (Mon Nov 26, 1:11 pm)
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
, Eric W. Biederman
, (Mon Nov 26, 2:40 pm)
Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init
, Oleg Nesterov
, (Mon Nov 26, 3:46 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree