diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-11-05 15:45:52 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-11-05 15:45:52 +0000 |
commit | 8f14a11301ef4c58ae9da28a6441dbb21557d56c (patch) | |
tree | 42e407bef4e4e324d941fba30d353ed4baabfc90 /winsup/cygserver/bsd_helper.cc | |
parent | 5c8426d50e255a317b9ab4586776f238ad2154ae (diff) | |
download | cygnal-8f14a11301ef4c58ae9da28a6441dbb21557d56c.tar.gz cygnal-8f14a11301ef4c58ae9da28a6441dbb21557d56c.tar.bz2 cygnal-8f14a11301ef4c58ae9da28a6441dbb21557d56c.zip |
* 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.
Diffstat (limited to 'winsup/cygserver/bsd_helper.cc')
-rw-r--r-- | winsup/cygserver/bsd_helper.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygserver/bsd_helper.cc b/winsup/cygserver/bsd_helper.cc index f88398ea1..9c6b191c1 100644 --- a/winsup/cygserver/bsd_helper.cc +++ b/winsup/cygserver/bsd_helper.cc @@ -582,6 +582,7 @@ static tun_struct tunable_params[] = //{ "kern.ipc.shmmin", TUN_INT, {0}, {1}, {32767}, default_tun_check}, { "kern.ipc.shmmni", TUN_INT, {0}, {1}, {32767}, default_tun_check}, { "kern.ipc.shmseg", TUN_INT, {0}, {1}, {32767}, default_tun_check}, + { "kern.ipc.shm_allow_removed", TUN_BOOL, {TUN_UNDEF}, {TUN_FALSE}, {TUN_TRUE}, default_tun_check}, //{ "kern.ipc.shm_use_phys", TUN_INT, {0}, {1}, {32767}, default_tun_check}, { NULL, TUN_NULL, {0}, {0}, {0}, NULL} }; |