cvs commit: src/sys/sys acl.h src/sys/kern kern_acl.c

Robert Watson rwatson at FreeBSD.org
Sun Aug 3 19:13:06 PDT 2003


rwatson     2003/08/03 19:13:05 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              acl.h 
    sys/kern             kern_acl.c 
  Log:
  Move more ACL logic from the UFS code (ufs_acl.c) to the central POSIX.1e
  support routines in kern_acl.c:
  
  - Define ACL_OVERRIDE_MASK and ACL_PRESERVE_MASK centrally in acl.h: the
    mode bits that are (and aren't) stored in the ACL.
  
  - Add acl_posix1e_acl_to_mode(): given a POSIX.1e extended ACL, generate
    a compatibility mode (only the bits supported by the POSIX.1e ACL).
  
  - acl_posix1e_newfilemode(): Given a requested creation mode and default
    ACL, calculate the mode for the new file system object (only the bits
    supported by the POSIX.1e ACL).
  
  PR:             50148
  Reported by:    Ritz, Bruno <bruno_ritz at gmx.ch>
  Obtained from:  TrustedBSD Project
  
  Revision  Changes    Path
  1.43      +84 -1     src/sys/kern/kern_acl.c
  1.26      +27 -5     src/sys/sys/acl.h


More information about the cvs-src mailing list