diff options
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 728d5be9548c..f82fa2ee7581 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1171,7 +1171,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1171 | * do not allow it to share a thread group or signal handlers or | 1171 | * do not allow it to share a thread group or signal handlers or |
1172 | * parent with the forking task. | 1172 | * parent with the forking task. |
1173 | */ | 1173 | */ |
1174 | if (clone_flags & (CLONE_SIGHAND | CLONE_PARENT)) { | 1174 | if (clone_flags & CLONE_SIGHAND) { |
1175 | if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || | 1175 | if ((clone_flags & (CLONE_NEWUSER | CLONE_NEWPID)) || |
1176 | (task_active_pid_ns(current) != | 1176 | (task_active_pid_ns(current) != |
1177 | current->nsproxy->pid_ns_for_children)) | 1177 | current->nsproxy->pid_ns_for_children)) |