]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove call to ipcperm() in shmget_existing(). The flags argument is
authorRobert Watson <rwatson@FreeBSD.org>
Mon, 19 Feb 2007 22:56:10 +0000 (22:56 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Mon, 19 Feb 2007 22:56:10 +0000 (22:56 +0000)
commit3d50b06b8e195fcf122ace8e418947563a6f5e0b
tree8db3f58609c3f393924c81326947cb65e08ed0d8
parent699e491f50dab896fb4cdd5895f19123c6839360
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
sys/kern/sysv_shm.c