diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-11-05 01:53:10 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-11-05 01:53:10 +0000 |
commit | 160f13825c77e0a8eb8370ae72eab3622174cb60 (patch) | |
tree | 13633d0f8603d472f72de0c33cea5d7cd406e7e2 /lib/libc/stdlib | |
parent | 039b0cb0daac4bfacb0c1e95792c29e9df4300d6 (diff) | |
download | FreeBSD-src-160f13825c77e0a8eb8370ae72eab3622174cb60.zip FreeBSD-src-160f13825c77e0a8eb8370ae72eab3622174cb60.tar.gz |
Back out the following revisions:
1.36 +73 -60 src/sys/compat/linux/linux_ipc.c
1.83 +102 -48 src/sys/kern/sysv_shm.c
1.8 +4 -0 src/sys/sys/syscallsubr.h
That change was intended to support vmware3, but
wantrem parameter is useless because vmware3 uses SYSV shared memory
to talk with X server and X server is native application.
The patch worked because check for wantrem was not valid
(wantrem and SHMSEG_REMOVED was never checked for SHMSEG_ALLOCATED segments).
Add kern.ipc.shm_allow_removed (integer, rw) sysctl (default 0) which when set
to 1 allows to return removed segments in
shm_find_segment_by_shmid() and shm_find_segment_by_shmidx().
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions