Home
last modified time | relevance | path

Searched refs:acl_flavor (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libsec/common/
H A Daclutils.c65 int acl_flavor; in acl_trivial() local
71 acl_flavor = pathconf(filename, _PC_ACL_ENABLED); in acl_trivial()
73 if (acl_flavor == _ACL_ACE_ENABLED) in acl_trivial()
80 if (acl_flavor == _ACL_ACE_ENABLED) { in acl_trivial()
397 int acl_flavor; in acl_strip() local
401 acl_flavor = pathconf(file, _PC_ACL_ENABLED); in acl_strip()
412 if (acl_flavor == 0 || acl_flavor == -1) in acl_strip()
413 acl_flavor = _ACL_ACLENT_ENABLED; in acl_strip()
415 if (acl_flavor & _ACL_ACLENT_ENABLED) { in acl_strip()
430 } else if (acl_flavor & _ACL_ACE_ENABLED) { in acl_strip()
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c764 ulong_t acl_flavor; in fs_acl_nontrivial() local
784 acl_flavor = 0; in fs_acl_nontrivial()
786 acl_flavor = _ACL_ACLENT_ENABLED; in fs_acl_nontrivial()
789 acl_flavor = _ACL_ACE_ENABLED; in fs_acl_nontrivial()
793 ASSERT(vsecattr.vsa_mask && acl_flavor); in fs_acl_nontrivial()
799 acl_styles &= ~acl_flavor; in fs_acl_nontrivial()
808 if (acl_flavor & _ACL_ACLENT_ENABLED) { in fs_acl_nontrivial()
818 if (acl_flavor & _ACL_ACE_ENABLED) { in fs_acl_nontrivial()