git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mfd: twl4030: fix ELF section mismatch...
[pandora-kernel.git]
/
kernel
/
pid_namespace.c
diff --git
a/kernel/pid_namespace.c
b/kernel/pid_namespace.c
index
821722a
..
86b3796
100644
(file)
--- a/
kernel/pid_namespace.c
+++ b/
kernel/pid_namespace.c
@@
-118,7
+118,7
@@
struct pid_namespace *copy_pid_ns(unsigned long flags, struct pid_namespace *old
{
if (!(flags & CLONE_NEWPID))
return get_pid_ns(old_ns);
- if (flags &
CLONE_THREAD
)
+ if (flags &
(CLONE_THREAD|CLONE_PARENT)
)
return ERR_PTR(-EINVAL);
return create_pid_namespace(old_ns);
}