summaryrefslogtreecommitdiff
path: root/kernel/pid_namespace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-03-08 20:09:27 +0100
committerIngo Molnar <mingo@kernel.org>2025-03-08 20:09:27 +0100
commit14296d0e85d45695ad2dc65b653b29e5a3514cdb (patch)
treec5d875755a94e8fa9d671d0cdd6f1e4755318698 /kernel/pid_namespace.c
parent6914f7e2e25fac9d1d2b62c208eaa5f2bf810fe9 (diff)
parent21e4543a2e2f8538373d1d19264c4bae6f13e798 (diff)
Merge branch 'linus' into x86/urgent, to pick up dependent patches
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/pid_namespace.c')
-rw-r--r--kernel/pid_namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c
index 8f6cfec87555..7098ed44e717 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;