diff --git a/kernel/fork.c b/kernel/fork.c index fb18b2cfb12e..04af0678aa41 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1248,7 +1248,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))