Re: [PATCH] namespaces: fix race at task exit

2007-01-25 Thread Serge E. Hallyn
Quoting Serge E. Hallyn ([EMAIL PROTECTED]): > Quoting Eric W. Biederman ([EMAIL PROTECTED]): > > "Serge E. Hallyn" <[EMAIL PROTECTED]> writes: > > > > > In do_exit(), the exit_task_namespaces() was placed after > > > exit_notify() because exit_notify ends up using the pid > > > namespace both to

Re: [PATCH] namespaces: fix race at task exit

2007-01-25 Thread Serge E. Hallyn
Quoting Oleg Nesterov ([EMAIL PROTECTED]): > On 01/25, Serge E. Hallyn wrote: > > > > In do_exit(), the exit_task_namespaces() was placed after > > exit_notify() because exit_notify ends up using the pid > > namespace both to access the reaper, and for detaching the > > pid. However, this placemen

Re: [PATCH] namespaces: fix race at task exit

2007-01-25 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): > "Serge E. Hallyn" <[EMAIL PROTECTED]> writes: > > > In do_exit(), the exit_task_namespaces() was placed after > > exit_notify() because exit_notify ends up using the pid > > namespace both to access the reaper, and for detaching the > > pid. Howeve

Re: [PATCH] namespaces: fix race at task exit

2007-01-25 Thread Oleg Nesterov
On 01/25, Serge E. Hallyn wrote: > > In do_exit(), the exit_task_namespaces() was placed after > exit_notify() because exit_notify ends up using the pid > namespace both to access the reaper, and for detaching the > pid. However, this placement allows an nfs server to reap > the task before exit_t

Re: [PATCH] namespaces: fix race at task exit

2007-01-25 Thread Eric W. Biederman
"Serge E. Hallyn" <[EMAIL PROTECTED]> writes: > In do_exit(), the exit_task_namespaces() was placed after > exit_notify() because exit_notify ends up using the pid > namespace both to access the reaper, and for detaching the > pid. However, this placement allows an nfs server to reap > the task b

Re: [PATCH] namespaces: fix race at task exit

2007-01-25 Thread Cedric Le Goater
Serge E. Hallyn wrote: > In do_exit(), the exit_task_namespaces() was placed after > exit_notify() because exit_notify ends up using the pid > namespace both to access the reaper, and for detaching the > pid. However, this placement allows an nfs server to reap > the task before exit_task_namespac