]> err.no Git - linux-2.6/blobdiff - kernel/nsproxy.c
lockdep: in_range() fix
[linux-2.6] / kernel / nsproxy.c
index c8ef7c2992ed2e32689f09bcac40104805d3b7fe..79f871bc0ef40026e111df575622cbc6b11031c3 100644 (file)
@@ -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)) {