diff options
| author | Pavel Emelyanov <[email protected]> | 2007-10-19 06:40:07 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-19 18:53:39 +0000 |
| commit | 425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4 (patch) | |
| tree | 04cdf3042ee0f593b243c6402f2ce3cacac5cc2d /fs/proc/root.c | |
| parent | pid namespaces: helpers to find the task by its numerical ids (diff) | |
| download | kernel-425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4.tar.gz kernel-425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4.zip | |
pid namespaces: move alloc_pid() lower in copy_process()
When we create new namespace we will need to allocate the struct pid, that
will have one extra struct upid in array, comparing to the parent.
Thus we need to know the new namespace (if any) in alloc_pid() to init this
struct upid properly, so move the alloc_pid() call lower in copy_process().
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
