Lines Matching refs:ace

673 			 * ace.  To do this, we invert the mask (found
675 * DENY ace access_mask.
731 * Set the corresponding deny for the group ace.
735 * the allow ace.
738 * skip ahead for the deny ace, here.
1659 acet_to_ace4(ace_t *ace, nfsace4 *nfsace4, int isserver)
1663 if (ace == NULL) {
1676 switch (ace->a_type) {
1685 "acet_to_ace4: unsupported type: %x", ace->a_type));
1692 acet_mask_to_ace4_mask(ace->a_access_mask, &nfsace4->access_mask);
1693 acet_flags_to_ace4_flags(ace->a_flags, &nfsace4->flag);
1695 if (ace->a_flags & ACE_GROUP) {
1698 } else if (ace->a_flags & ACE_IDENTIFIER_GROUP) {
1708 if (ace->a_who == GID_UNKNOWN && !isserver) {
1716 error = nfs_idmap_gid_str(ace->a_who, &nfsace4->who, isserver);
1720 } else if (ace->a_flags & ACE_OWNER) {
1722 } else if (ace->a_flags & ACE_EVERYONE) {
1728 if (ace->a_who == UID_UNKNOWN && !isserver) {
1736 error = nfs_idmap_uid_str(ace->a_who, &nfsace4->who, isserver);
1751 ace4_to_acet(nfsace4 *nfsace4, ace_t *ace, uid_t owner, gid_t group,
1761 if (ace == NULL) {
1769 ace->a_type = ACE_ACCESS_ALLOWED_ACE_TYPE;
1772 ace->a_type = ACE_ACCESS_DENIED_ACE_TYPE;
1798 ace4_mask_to_acet_mask(nfsace4->access_mask, &ace->a_access_mask);
1806 ace4_flags_to_acet_flags(nfsace4->flag, &ace->a_flags);
1811 ace->a_who = group;
1812 ace->a_flags |= ACE_GROUP | ACE_IDENTIFIER_GROUP;
1816 ace->a_flags |= ACE_OWNER;
1817 ace->a_who = owner;
1821 ace->a_flags |= ACE_EVERYONE;
1822 ace->a_who = 0;
1824 ace->a_flags |= ACE_IDENTIFIER_GROUP;
1826 &ace->a_who, isserver);
1836 &ace->a_who, FALSE, isserver);
1841 &ace->a_who, isserver);
1851 &ace->a_who, TRUE, isserver);