Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/acl/
H A Dacl_common.c826 access_mask_check(ace_t *acep, int mask_bit, int isowner) in access_mask_check() argument
852 if (mask_bit == ACE_SYNCHRONIZE) { in access_mask_check()
857 } else if (mask_bit == ACE_WRITE_OWNER) { in access_mask_check()
862 } else if (mask_bit == ACE_DELETE) { in access_mask_check()
867 } else if (mask_bit == ACE_WRITE_ATTRIBUTES) { in access_mask_check()
879 if (((acep->a_access_mask & mask_bit) != 0) && in access_mask_check()
885 } else if (mask_bit == ACE_READ_NAMED_ATTRS) { in access_mask_check()
893 } else if (mask_bit == ACE_WRITE_NAMED_ATTRS) { in access_mask_check()
907 if (!(acep->a_access_mask & mask_bit)) { in access_mask_check()
911 if (acep->a_access_mask & mask_bit) { in access_mask_check()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c969 access_mask_check(nfsace4 *ace4p, int mask_bit, int isserver, int isowner) in access_mask_check() argument
989 if (mask_bit == ACE4_SYNCHRONIZE) { in access_mask_check()
994 } else if (mask_bit == ACE4_WRITE_OWNER) { in access_mask_check()
999 } else if (mask_bit == ACE4_DELETE) { in access_mask_check()
1004 } else if (mask_bit == ACE4_WRITE_ATTRIBUTES) { in access_mask_check()
1016 if ((ace4p->access_mask & mask_bit) && in access_mask_check()
1022 } else if (mask_bit == ACE4_READ_NAMED_ATTRS) { in access_mask_check()
1030 } else if (mask_bit == ACE4_WRITE_NAMED_ATTRS) { in access_mask_check()
1043 if (!(ace4p->access_mask & mask_bit)) { in access_mask_check()
1047 if (ace4p->access_mask & mask_bit) { in access_mask_check()
[all …]