Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 13:25:57 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_syscalls.c
Message-ID:  <200210192025.g9JKPveT080006@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/10/19 13:25:57 PDT

  Modified files:
    sys/kern             vfs_syscalls.c 
  Log:
  Hook up most of the MAC entry points relating to file/directory/node
  creation, deletion, and rename.  There are one or two other stray
  cases I'll catch in follow-up commits (such as unix domain socket
  creation); this permits MAC policy modules to limit the ability to
  perform these operations based on existing UNIX credential / vnode
  attributes, extended attributes, and security labels.  In the rename
  case using MAC, we now have to lock the from directory and file
  vnodes for the MAC check, but this is done only in the MAC case,
  and the locks are immediately released so that the remainder of the
  rename implementation remains the same.  Because the create check
  takes a vattr to know object type information, we now initialize
  additional fields in the VATTR passed to VOP_SYMLINK() in the MAC
  case.
  
  Approved by:    re
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, Network Associates Laboratories
  
  Revision  Changes    Path
  1.295     +68 -2     src/sys/kern/vfs_syscalls.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?200210192025.g9JKPveT080006>