It’s written to disk. Although that actually depends on the filesystem. Sean. > On Mar 16, 2016, at 9:55 PM, Alan Somers <asom...@freebsd.org> wrote: > > Do you happen to know if ACL_ENTRY_INHERITED is written to disk, or does it > only exist in-core? > > On Wed, Mar 16, 2016 at 10:37 PM, Sean Fagan <s...@ixsystems.com> wrote: > As I recall, from ZFS, but I’m not positive. Either that, or something else > was using 0x40. > > Sean. > > On Mar 16, 2016, at 9:29 PM, Xin LI <delp...@gmail.com> wrote: > > > > +sef who created the patch... > > > > On Wed, Mar 16, 2016 at 3:40 PM, Alan Somers <asom...@freebsd.org> wrote: > >> > >> > >> On Thu, Sep 3, 2015 at 6:14 PM, Xin LI <delp...@freebsd.org> wrote: > >>> > >>> Author: delphij > >>> Date: Fri Sep 4 00:14:20 2015 > >>> New Revision: 287445 > >>> URL: https://svnweb.freebsd.org/changeset/base/287445 > >>> > >>> Log: > >>> Expose an interface to determine if an ACE is inherited. > >>> > >>> Submitted by: sef > >>> Reviewed by: trasz > >>> MFC after: 2 weeks > >>> Differential Revision: https://reviews.freebsd.org/D3540 > >>> > >>> Modified: > >>> head/bin/setfacl/setfacl.1 > >>> head/lib/libc/posix1e/acl_add_flag_np.3 > >>> head/lib/libc/posix1e/acl_support_nfs4.c > >>> head/share/man/man9/acl.9 > >>> head/sys/cddl/compat/opensolaris/kern/opensolaris_acl.c > >>> head/sys/cddl/contrib/opensolaris/uts/common/sys/acl.h > >>> head/sys/kern/subr_acl_nfs4.c > >>> head/sys/sys/acl.h > >>> head/tools/regression/acltools/tools-crossfs.test > >>> head/tools/regression/acltools/tools-nfs4-psarc.test > >>> head/tools/regression/acltools/tools-nfs4-trivial.test > >>> head/tools/regression/acltools/tools-nfs4.test > >> > >> > >> ... > >> > >>> > >>> Modified: head/sys/sys/acl.h > >>> > >>> ============================================================================== > >>> --- head/sys/sys/acl.h Thu Sep 3 22:15:56 2015 (r287444) > >>> +++ head/sys/sys/acl.h Fri Sep 4 00:14:20 2015 (r287445) > >>> @@ -249,11 +249,12 @@ typedef void *acl_t; > >>> #define ACL_ENTRY_INHERIT_ONLY 0x0008 > >>> #define ACL_ENTRY_SUCCESSFUL_ACCESS 0x0010 > >>> #define ACL_ENTRY_FAILED_ACCESS 0x0020 > >>> +#define ACL_ENTRY_INHERITED 0x0080 > >>> > >>> #define ACL_FLAGS_BITS (ACL_ENTRY_FILE_INHERIT | > >>> \ > >>> ACL_ENTRY_DIRECTORY_INHERIT | ACL_ENTRY_NO_PROPAGATE_INHERIT | \ > >>> ACL_ENTRY_INHERIT_ONLY | ACL_ENTRY_SUCCESSFUL_ACCESS | \ > >>> - ACL_ENTRY_FAILED_ACCESS) > >>> + ACL_ENTRY_FAILED_ACCESS | ACL_ENTRY_INHERITED) > >>> > >>> /* > >>> * Undefined value in ae_id field. ae_id should be set to this value > >> > >> > >> Out of curiosity, why did you choose 0x0080 for ACL_ENTRY_INHERITED instead > >> of 0x0040 ? > >> > > > > > > > > -- > > Xin LI <delp...@delphij.net> https://www.delphij.net/ > > FreeBSD - The Power to Serve! Live free or die > >
_______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"