X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fnsproxy.c;h=79f871bc0ef40026e111df575622cbc6b11031c3;hb=96e3227265852ffad332f911887c9cf26c85e40a;hp=c8ef7c2992ed2e32689f09bcac40104805d3b7fe;hpb=cf7b708c8d1d7a27736771bcf4c457b332b0f818;p=linux-2.6 diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c index c8ef7c2992..79f871bc0e 100644 --- a/kernel/nsproxy.c +++ b/kernel/nsproxy.c @@ -129,7 +129,8 @@ int copy_namespaces(unsigned long flags, struct task_struct *tsk) get_nsproxy(old_ns); - if (!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | CLONE_NEWUSER | CLONE_NEWNET))) + if (!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | + CLONE_NEWUSER | CLONE_NEWPID | CLONE_NEWNET))) return 0; if (!capable(CAP_SYS_ADMIN)) {