[Devel] Re: [PATCH][RFC] v2 exec: move core_pattern pipe helper into the crashing namespace

2010-10-18 Thread Will Drewry
On Mon, Sep 20, 2010 at 2:12 PM, Andi Kleen wrote: >> The pipe process needs to run in the namespaces of the process who set >> the core pattern, not in the namespaces of the dumping process. >> Otherwise it is possible to trigger a privileged process to run in a >> context where it's reality that

[Devel] Re: [PATCH][RFC] v2 exec: move core_pattern pipe helper into the crashing namespace

2010-09-20 Thread Andi Kleen
> The pipe process needs to run in the namespaces of the process who set > the core pattern, not in the namespaces of the dumping process. > Otherwise it is possible to trigger a privileged process to run in a > context where it's reality that it expected, causing it to misuse > it's privileges. E

[Devel] Re: [PATCH][RFC] v2 exec: move core_pattern pipe helper into the crashing namespace

2010-09-20 Thread Eric W. Biederman
Will Drewry writes: > Presently, a core_pattern pipe endpoint will be run in the init > namespace. It will receive the virtual pid (task_tgid_vnr->%p) of the > core dumping process but will have no access to that processes /proc > without walking the init namespace /proc looking through all the