Date: Sun, 3 Aug 2003 19:13:05 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys acl.h src/sys/kern kern_acl.c Message-ID: <200308040213.h742D5dc064202@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308040213.h742D5dc064202>
