From 8f14a11301ef4c58ae9da28a6441dbb21557d56c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 5 Nov 2007 15:45:52 +0000 Subject: * bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed as bool parameter. * cygserver.conf: Add a description for the kern.ipc.shm_allow_removed parameter. * sysv_shm.cc (shminit): Set shm_allow_removed variable according to kern.ipc.shm_allow_removed setting. --- winsup/cygserver/cygserver.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'winsup/cygserver/cygserver.conf') diff --git a/winsup/cygserver/cygserver.conf b/winsup/cygserver/cygserver.conf index c224c0e4c..589931b11 100644 --- a/winsup/cygserver/cygserver.conf +++ b/winsup/cygserver/cygserver.conf @@ -139,3 +139,9 @@ # kern.ipc.shmseg: Maximum number of shared memory segments per process. # Default: 128, Min: 1, Max: 32767 #kern.ipc.shmseg 128 + +# kern.ipc.shm_allow_removed: Determines whether a process is allowed to +# attach to a shared memory segment (using the shmat call) after a successful +# call to shmctl(IPC_RMID). This is a Linux-specific, and therefore +# non-portable feature. Use with care. Default is "no". +#kern.ipc.shm_allow_removed no -- cgit v1.2.3