aboutsummaryrefslogtreecommitdiff
path: root/include/media/videobuf2-vmalloc.h
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2012-05-10 13:01:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-21 09:40:01 -0700
commit6f6f21eceec3a60d2066bb3b5e31dc14f9168fa7 (patch)
tree09887d55c1e9feddc5093ed021e1d6c39dbdbe6f /include/media/videobuf2-vmalloc.h
parent5b05ac638c39e92f3fa6291b4aebd6fc485320ba (diff)
namespaces, pid_ns: fix leakage on fork() failure
commit 5e2bf0142231194d36fdc9596b36a261ed2b9fe7 upstream. 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 <efault@gmx.de> Acked-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Pavel Emelyanov <xemul@parallels.com> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Louis Rilling <louis.rilling@kerlabs.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/media/videobuf2-vmalloc.h')
0 files changed, 0 insertions, 0 deletions