diff options
author | Mike Galbraith <[email protected]> | 2012-05-10 13:01:45 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-05-10 15:06:44 -0700 |
commit | 5e2bf0142231194d36fdc9596b36a261ed2b9fe7 (patch) | |
tree | e5b411ddefaa96b29a73706f7fe407f238632573 /lib/mpi/mpi-inline.c | |
parent | 4998a6c0edce7fae9c0a5463f6ec3fa585258ee7 (diff) |
namespaces, pid_ns: fix leakage on fork() failure
Fork() failure post namespace creation for a child cloned with
CLONE_NEWPID leaks pid_namespace/mnt_cache due to proc being mounted
during creation, but not unmounted during cleanup. Call
pid_ns_release_proc() during cleanup.
Signed-off-by: Mike Galbraith <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Reviewed-by: "Eric W. Biederman" <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Louis Rilling <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions