Date: Tue, 4 Nov 2003 17:53:10 -0800 (PST) From: Max Khon <fjoe@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys syscallsubr.h src/sys/kern sysv_shm.c src/sys/compat/linux linux_ipc.c Message-ID: <200311050153.hA51rAQh098693@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
fjoe 2003/11/04 17:53:10 PST FreeBSD src repository Modified files: sys/sys syscallsubr.h sys/kern sysv_shm.c sys/compat/linux linux_ipc.c Log: 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 Revision Changes Path 1.38 +6 -6 src/sys/compat/linux/linux_ipc.c 1.88 +21 -18 src/sys/kern/sysv_shm.c 1.10 +2 -2 src/sys/sys/syscallsubr.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311050153.hA51rAQh098693>