cvs commit: src/sys/kern sysv_shm.c

Robert Watson rwatson at FreeBSD.org
Mon Feb 19 22:56:11 UTC 2007


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


More information about the cvs-src mailing list