Lines Matching refs:mask
128 uint32_t mask;
391 * mask bits in the access_mask:
455 int *hasmask, mode_t *mask,
463 *mask = 07;
483 *mask = aclent[i].a_perm;
506 mode_t mask;
513 error = ln_aent_preprocess(aclent, n, &hasmask, &mask,
523 * user|group for the mask (the group_obj was added
527 /* ... and don't count the mask itself */
542 * don't process CLASS_OBJ (mask); mask was grabbed in
569 * Set the access mask for the prepended deny
570 * ace. To do this, we invert the mask (found
574 acep->a_access_mask = mode_to_ace_access((mask ^ 07),
630 * access (A), not the mask (MD)
733 ace_mask_to_mode(uint32_t mask, o_mode_t *modep, int isdir)
740 if (mask & ACE_READ_DATA)
747 bits = mask & wantbits;
757 if (mask & ACE_EXECUTE) {
773 vals->mask = ACE_MASK_UNDEFINED;
1030 ace_allow_to_mode(uint32_t mask, o_mode_t *modep, int isdir)
1033 if ((mask & (ACE_READ_ACL | ACE_READ_ATTRIBUTES)) !=
1038 return (ace_mask_to_mode(mask, modep, isdir));
1054 if ((list->hasmask) && (list->acl_mask != vals->mask) &&
1103 * (aka ACL mask)
1426 vals->mask = vals->denied;
1563 #define SET_ACE(acl, index, who, mask, type, flags) { \
1567 acl[0][index++].a_access_mask = mask; \
1686 uint32_t mask;
1690 while (cookie = walk(acep, cookie, aclcnt, &flags, &type, &mask)) {
1712 if ((mask & (ACE_READ_ACL|ACE_READ_ATTRIBUTES)) &&
1719 if (mask & (ACE_DELETE|ACE_DELETE_CHILD))
1726 (!(flags & ACE_OWNER) && (mask &
1737 uint16_t *type, uint32_t *mask)
1746 *mask = acep[cookie++].a_access_mask;