diff options
| author | Pavel Emelyanov <[email protected]> | 2007-10-19 06:40:08 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-19 18:53:39 +0000 |
| commit | 07543f5c75cee744b791cf7716c69571486fe753 (patch) | |
| tree | 3e0d78f869114e5a6e2629fc157ee8f9023316bd /net/unix/af_unix.c | |
| parent | pid namespaces: move alloc_pid() lower in copy_process() (diff) | |
| download | kernel-07543f5c75cee744b791cf7716c69571486fe753.tar.gz kernel-07543f5c75cee744b791cf7716c69571486fe753.zip | |
pid namespaces: make proc have multiple superblocks - one for each namespace
Each pid namespace have to be visible through its own proc mount. Thus we
need to have per-namespace proc trees with their own superblocks.
We cannot easily show different pid namespace via one global proc tree, since
each pid refers to different tasks in different namespaces. E.g. pid 1
refers to the init task in the initial namespace and to some other task when
seeing from another namespace. Moreover - pid, exisintg in one namespace may
not exist in the other.
This approach has one move advantage is that the tasks from the init namespace
can see what tasks live in another namespace by reading entries from another
proc tree.
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
