Subject: CVS commit: src/sys
To: None <>
From: Jaromir Dolecek <>
List: source-changes
Date: 09/28/2004 19:05:19
Module Name:	src
Committed By:	jdolecek
Date:		Tue Sep 28 19:05:19 UTC 2004

Modified Files:
	src/sys/compat/linux/arch/alpha: syscalls.master
	src/sys/compat/linux/common: linux_ipc.c linux_ipccall.c linux_shm.h
	src/sys/kern: sysv_shm.c
	src/sys/sys: shm.h

Log Message:
add flag for shmget(2) to specify that later shmat(2) for the shared memory
segment should succeed even if the segment would be marked removed; use this
to implement the Linux-compatible semantics of shmat(2)

this fixes the old Linux VMware3 graphics problem with local display,
and possibly other local Linux X clients using MIT-SHM

To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -r1.29 -r1.30 src/sys/compat/linux/common/linux_ipc.c
cvs rdiff -r1.23 -r1.24 src/sys/compat/linux/common/linux_ipccall.c
cvs rdiff -r1.5 -r1.6 src/sys/compat/linux/common/linux_shm.h
cvs rdiff -r1.78 -r1.79 src/sys/kern/sysv_shm.c
cvs rdiff -r1.36 -r1.37 src/sys/sys/shm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.