X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=kernel%2Ffork.c;h=dfa736c98d17b4a8a6c353b4ee2bb2199dfd6a2e;hb=2401dc2975fc5a33021dc8347ea82984c4707a08;hp=5721f0e3f2da4d1d4bcbc788b4016c944bbfea03;hpb=1733348bd0b245290ff7df90217761c127e7f2c6;p=cascardo%2Flinux.git diff --git a/kernel/fork.c b/kernel/fork.c index 5721f0e3f2da..dfa736c98d17 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1172,7 +1172,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, * do not allow it to share a thread group or signal handlers or * parent with the forking task. */ - if (clone_flags & (CLONE_SIGHAND | CLONE_PARENT)) { + if (clone_flags & CLONE_SIGHAND) { if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || (task_active_pid_ns(current) != current->nsproxy->pid_ns_for_children))