OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Fix capability.c to work with threaded init
Re: [PATCH] Fix capability.c to work with threaded init [message #19553 is a reply to message #19548] Fri, 03 August 2007 17:29 Go to previous messageGo to previous message
Oleg Nesterov is currently offline  Oleg Nesterov
Messages: 143
Registered: August 2006
Senior Member
On 08/03, Dave Hansen wrote:
>
> On Thu, 2007-08-02 at 23:26 -0700, sukadev@us.ibm.com wrote:
> > 
> > Callers of is_container_init() should pass in task->group_leader
> > to ensure they work with threaded-init.
> 
> Can you explain this in a little more detail?  That's a pretty sparse
> changelog.

Without this change cap_set_all() skips only the main thread of /sbin/init,
but we should skip the entire process as the comment states.

Oleg.

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 20/20] Remove the struct pid unneeded fields
Next Topic: [PATCH 14/20] Allow cloning of new namespace
Goto Forum:
  


Current Time: Sun Aug 03 16:41:12 GMT 2025

Total time taken to generate the page: 0.84612 seconds