From b1459ff1a21cf6e1f4247d21df958e66b79a5892 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 5 Oct 2011 11:43:54 +1100 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