Re: [PATCH] Introduce and use get_task_mnt_ns()

2007-01-17 Thread Serge E. Hallyn
Quoting Alexey Dobriyan ([EMAIL PROTECTED]): > Apply after "[PATCH] Fix NULL ->nsproxy dereference in /proc/*/mounts". > > Similar to get_task_mm(): get a reference to task's mnt namespace if any. > Suggested by Pavel Emelianov. > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Yeah, that's

[PATCH] Introduce and use get_task_mnt_ns()

2007-01-17 Thread Alexey Dobriyan
Apply after "[PATCH] Fix NULL ->nsproxy dereference in /proc/*/mounts". Similar to get_task_mm(): get a reference to task's mnt namespace if any. Suggested by Pavel Emelianov. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- fs/proc/base.c | 15 ++- include/linux/ns