diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index 8f6cfec87555a3af47566b19d853306371106690..7098ed44e717d3da8f518f3826cb8047bb744786 100644 --- a/kernel/pid_namespace.c +++ b/kernel/pid_namespace.c @@ -107,7 +107,7 @@ static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns goto out_free_idr; ns->ns.ops = &pidns_operations; - ns->pid_max = parent_pid_ns->pid_max; + ns->pid_max = PID_MAX_LIMIT; err = register_pidns_sysctls(ns); if (err) goto out_free_inum;