aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2007-10-19 06:40:02 +0000
committerLinus Torvalds <[email protected]>2007-10-19 18:53:38 +0000
commit8bf9725c29f2589237dd696d06a204230add0ba3 (patch)
treeabe1a29924a592808250121435dcd12789336e8a /fs/proc/root.c
parentpid namespaces: move exit_task_namespaces() (diff)
downloadkernel-8bf9725c29f2589237dd696d06a204230add0ba3.tar.gz
kernel-8bf9725c29f2589237dd696d06a204230add0ba3.zip
pid namespaces: introduce MS_KERNMOUNT flag
This flag tells the .get_sb callback that this is a kern_mount() call so that it can trust *data pointer to be valid in-kernel one. If this flag is passed from the user process, it is cleared since the *data pointer is not a valid kernel object. Running a few steps forward - this will be needed for proc to create the superblock and store a valid pid namespace on it during the namespace creation. The reason, why the namespace cannot live without proc mount is described in the appropriate patch. Signed-off-by: Pavel Emelyanov <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Sukadev Bhattiprolu <[email protected]> Cc: Paul Menage <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions