From 98a4f27f5ba4122237d8c57faabd35ad83514b57 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 28 Sep 2011 10:50:59 +1000 Subject: [PATCH] ipc-introduce-shm_rmid_forced-sysctl-testing Force this on for -next/mm testing purposes. Cc: "Eric W. Biederman" Cc: "Serge E. Hallyn" Cc: Daniel Lezcano Cc: Ingo Molnar Cc: Oleg Nesterov Cc: Randy Dunlap Cc: Tejun Heo Cc: Vasiliy Kulikov Signed-off-by: Andrew Morton <> --- ipc/shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/shm.c b/ipc/shm.c index 02ecf2c078fc..5da50165a5bd 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -74,7 +74,7 @@ void shm_init_ns(struct ipc_namespace *ns) ns->shm_ctlmax = SHMMAX; ns->shm_ctlall = SHMALL; ns->shm_ctlmni = SHMMNI; - ns->shm_rmid_forced = 0; + ns->shm_rmid_forced = 1; ns->shm_tot = 0; ipc_init_ids(&shm_ids(ns)); } -- 2.39.5