[Devel] Re: [PATCH] Fix capability.c to work with threaded init
Oleg Nesterov
oleg at tv-sign.ru
Fri Aug 3 10:29:34 PDT 2007
On 08/03, Dave Hansen wrote:
>
> On Thu, 2007-08-02 at 23:26 -0700, sukadev at 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 at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list