cvs commit: src/sys/kern sysv_shm.c

Robert Watson rwatson at FreeBSD.org
Tue Oct 4 09:40:21 PDT 2005


rwatson     2005-10-04 16:40:21 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sysv_shm.c 
  Log:
  Re-order MAC and DAC checks in shmget() in order to give precedence to
  the MAC result, as well as avoid losing the DAC check result when MAC
  is enabled.
  
  MFC after:      3 days
  Reported by:    Patrick LeBlanc <Patrick dot LeBlanc at sparta dot com>
  
  Revision  Changes    Path
  1.104     +4 -2      src/sys/kern/sysv_shm.c


More information about the cvs-src mailing list