Date: Mon, 19 Feb 2007 22:56:10 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sysv_shm.c Message-ID: <200702192256.l1JMuAvx029271@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2007-02-19 22:56:10 UTC
FreeBSD src repository
Modified files:
sys/kern sysv_shm.c
Log:
Remove call to ipcperm() in shmget_existing(). The flags argument is
ignored on other systems I investigated when accessing an existing
memory segment rather than creating a new one. This call to ipcperm()
is the only one to pass in a complete mode flag to the permission
checks rather than a simple access request mask, and caused problems
for the revised ipcperm() based on the priv(9) interface, which can
now be restored.
PR: 106078
Revision Changes Path
1.109 +0 -3 src/sys/kern/sysv_shm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702192256.l1JMuAvx029271>
