1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/compat
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
..
freebsd32 Add CTASSERT()'s to check that the sizes of our replicas of the 32 bit 2003-10-30 02:40:30 +00:00
ia32 Oops, forgot to save these in the editor. Add CTASSERTS for signal and 2003-10-30 02:43:19 +00:00
linprocfs Various style and type fixes in my last commit. 2003-10-20 04:10:20 +00:00
linux Back out the following revisions: 2003-11-05 01:53:10 +00:00
netbsd Don't include <sys/buf.h> needlessly. 2003-04-01 09:02:58 +00:00
pecoff Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
svr4 Fix some security bugs in the SVR4 emulator: 2003-10-20 10:38:48 +00:00