freebsd-skq/sys/compat/linux
Max Khon 2332251c6a 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
2003-11-05 01:53:10 +00:00
..
linux_file.c
linux_getcwd.c
linux_ioctl.c Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
linux_ioctl.h
linux_ipc.c Back out the following revisions: 2003-11-05 01:53:10 +00:00
linux_ipc.h
linux_mib.c
linux_mib.h
linux_misc.c Reject negative ngrp arguments in linux_setgroups() and linux_setgroups16(); 2003-10-21 11:00:33 +00:00
linux_signal.c
linux_signal.h
linux_socket.c Fix some problems in linux_sendmsg() and linux_recvmsg(). 2003-10-11 15:08:32 +00:00
linux_socket.h
linux_stats.c
linux_sysctl.c
linux_uid16.c Reject negative ngrp arguments in linux_setgroups() and linux_setgroups16(); 2003-10-21 11:00:33 +00:00
linux_util.c
linux_util.h