freebsd-dev/sys
Robert Watson 2495048579 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
2003-08-04 03:29:13 +00:00
..
alpha Style sync. 2003-08-03 07:50:19 +00:00
amd64 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in pmap_mapdev(). 2003-08-02 19:26:09 +00:00
arm Style sync. 2003-08-03 07:50:19 +00:00
boot Don't hardcode unit 0 for the current device if we're loaded from an 2003-08-02 08:22:03 +00:00
cam Fix the new DA_OLD_QUIRKS option for normal and module compiles. 2003-07-29 18:08:16 +00:00
coda Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
compat Try to make 'uname -a' look more like it does on Linux: 2003-07-29 10:03:15 +00:00
conf fix disordering of filenames. Place the dev/ppc files in alphabetical 2003-08-04 02:39:14 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r118339, 2003-08-02 05:48:03 +00:00
crypto
ddb Update the 'ps', 'show pci', and 'show ktr' ddb commands to use the new 2003-07-31 17:29:42 +00:00
dev Use the revision ID from PCI configuration space to identify Intel 2003-08-04 00:17:16 +00:00
fs Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
geom Kick Giant compatibility one layer up. 2003-08-02 10:11:58 +00:00
gnu Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
i4b Undo agressive inlining which GCC previously wisely ignored. 2003-07-23 17:58:41 +00:00
i386 Style sync. 2003-08-03 07:50:19 +00:00
ia64 Fix handling of external interrupts: we weren't calling ast() when 2003-08-04 00:08:39 +00:00
isa Add printer support to puc(4) driver. 2003-08-01 02:25:32 +00:00
isofs/cd9660 Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
kern Move more ACL logic from the UFS code (ufs_acl.c) to the central POSIX.1e 2003-08-04 02:13:05 +00:00
libkern Backed out the micro-optimization in 1.4. It was to help gcc-2.6.3 2003-07-25 15:54:23 +00:00
modules There's already the elink.ko module available, don't embed it here. 2003-08-02 18:46:02 +00:00
net Implement a mechanism by which ATM drivers can inform interested 2003-07-29 13:04:52 +00:00
net80211 add monitor mode 2003-07-21 02:49:42 +00:00
netatalk
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph Process events from the ATM drivers. Carrier change and PVC change 2003-07-29 16:27:23 +00:00
netinet o Fix a typo in previous commit. 2003-07-31 10:24:36 +00:00
netinet6 Cleanup useless break. 2003-07-29 14:10:13 +00:00
netipsec consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
netipx
netkey
netnatm Instead of returning an error call the ioctl() handler of the interface 2003-07-15 15:51:50 +00:00
netncp size_t != int. Make this compile on 64 bit platforms (eg: amd64). 2003-07-24 01:59:18 +00:00
netsmb Reserve space for the trailing null byte in the srvname member of 2003-07-27 11:36:00 +00:00
nfs
nfsclient Fix a problem that occurs when truncating files on NFSv3 mounts: we need 2003-07-29 00:17:29 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 Merged from sys/dev/sio/sio.c revision 1.400. 2003-08-02 09:41:31 +00:00
pccard Add comment point o2micro people to NEWCARD 2003-08-01 16:10:48 +00:00
pci Use the BUS_DMA_ZERO flag. 2003-07-27 14:38:54 +00:00
posix4
powerpc Deal with GCC annoyingly defining _BIG_ENDIAN. 2003-08-03 07:53:50 +00:00
rpc
security Attempt to simplify #ifdef logic for MAC_ALWAYS_LABEL_MBUF. 2003-08-01 15:45:14 +00:00
sparc64 Deal with 'options KSTACK_PAGES' being a global option. 2003-07-31 01:31:32 +00:00
sys Move more ACL logic from the UFS code (ufs_acl.c) to the central POSIX.1e 2003-08-04 02:13:05 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs Now that the central POSIX.1e ACL code implements functions to 2003-08-04 03:29:13 +00:00
vm Name swap_pager_find_dev() more correctly swp_pager_finde_dev(). 2003-08-03 21:22:42 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00