aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorMike Galbraith <[email protected]>2012-05-10 13:01:45 -0700
committerLinus Torvalds <[email protected]>2012-05-10 15:06:44 -0700
commit5e2bf0142231194d36fdc9596b36a261ed2b9fe7 (patch)
treee5b411ddefaa96b29a73706f7fe407f238632573 /tools/perf/util/scripting-engines/trace-event-perl.c
parent4998a6c0edce7fae9c0a5463f6ec3fa585258ee7 (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 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions