Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 09:15:35 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_vnops.c
Message-ID:  <200208121615.g7CGFZKE056372@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/08/12 09:15:34 PDT

  Modified files:
    sys/kern             vfs_vnops.c 
  Log:
  Implement IO_NOMACCHECK in vn_rdwr() -- perform MAC checks (assuming
  'options MAC') as long as IO_NOMACCHECK is not set in the IO flags.
  If IO_NOMACCHECK is set, bypass MAC checks in vn_rdwr().  This allows
  vn_rdwr() to be used as a utility function inside of file systems
  where MAC checks have already been performed, or where the operation
  is being done on behalf of the kernel not the user.
  
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, NAI LAbs
  
  Revision  Changes    Path
  1.160     +17 -4     src/sys/kern/vfs_vnops.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208121615.g7CGFZKE056372>