Searched hist:e5a4738699d6eca408dcb225bd350413927701e2 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/ |
H A D | pid_namespace.c | diff e5a4738699d6eca408dcb225bd350413927701e2 Wed Sep 23 17:57:22 CDT 2009 Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> pidns: deny CLONE_PARENT|CLONE_NEWPID combination
CLONE_PARENT was used to implement an older threading model. For consistency with the CLONE_THREAD check in copy_pid_ns(), disable CLONE_PARENT with CLONE_NEWPID, at least until the required semantics of pid namespaces are clear.
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com> Acked-by: Roland McGrath <roland@redhat.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Cc: Oren Laadan <orenl@cs.columbia.edu> Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|