summaryrefslogtreecommitdiffstats
path: root/usr.bin/tr
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-08-04 03:29:13 +0000
committerrwatson <rwatson@FreeBSD.org>2003-08-04 03:29:13 +0000
commitbf98881a21aa08a1e6457d1a17c2cf7841b780ab (patch)
treedc210d6841238274b3f3c0c6ae772aa8cfc2e8c5 /usr.bin/tr
parent33d30c1ba88278338ab532b298c52965676d0cfc (diff)
downloadFreeBSD-src-bf98881a21aa08a1e6457d1a17c2cf7841b780ab.zip
FreeBSD-src-bf98881a21aa08a1e6457d1a17c2cf7841b780ab.tar.gz
Now that the central POSIX.1e ACL code implements functions to
generate the inode mode from a default ACL and creation mask, implement ufs_sync_inode_from_acl() using acl_posix1e_newfilemode(). Since ACL_OVERRIDE_MASK/ACL_PRESERVE_MASK are defined, we no longer need to explicitly pass in a "preserve_mask" field: this is implicit in the use of POSIX.1e semantics. Note: this change contains a semantic bugfix for new file creation: we now intersect the ACL-generated mode and the cmode requested by the user process. This means permissions on newly created file objects will now be more conservative. In the future, we may want to provide alternative semantics (similar to Solaris and Linux) in which the ACL mask overrides the umask, permitting ACLs to broaden the rights beyond the requested umask. PR: 50148 Reported by: Ritz, Bruno <bruno_ritz@gmx.ch> Obtained from: TrustedBSD Project
Diffstat (limited to 'usr.bin/tr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud