OpenVZ Forum


Home » Mailing lists » Devel » [Lxc-devel] [PATCH] pidspace: is_init()
Re: [Lxc-devel] [PATCH] pidspace: is_init() [message #16533 is a reply to message #16530] Wed, 09 August 2006 04:04 Go to previous message
Paul Mackerras is currently offline  Paul Mackerras
Messages: 6
Registered: May 2006
Junior Member
Sukadev Bhattiprolu writes:

> 	There are a lot of places in the kernel where we test for init
> 	because we give it special properties.  Most  significantly init
> 	must not die.  This results in code all over the kernel test
> 	->pid == 1.
> 
> 	Introduce is_init to capture this case.  
> 
> 	With multiple pid spaces for all of the cases affected we are
> 	looking for only the first process on the system, not some other
> 	process that has pid == 1. 
> 
> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>

Acked-by: Paul Mackerras <paulus@samba.org>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel
 
Read Message
Read Message
Previous Topic: Q: libvzctl-simfs
Next Topic: [Lxc-devel] + pidspace-is_init.patch added to -mm tree
Goto Forum:
  


Current Time: Mon Jul 15 07:15:03 GMT 2024

Total time taken to generate the page: 0.02303 seconds