Lines Matching refs:mask
307 * If an ACL mask exists, the effective group rights are
308 * set to the mask. Otherwise, the effective group rights
319 ip->i_mode |= MASK2MODE(sp); /* apply mask */
639 int ismask, mask = 0;
655 mask = sp->aclass.acl_maskbits;
657 mask = -1;
675 (mask & acl->acl_ic_perm) << 6, cr, ip));
681 * if no ACL mask is defined; if there is an ACL mask, we look
704 return (MODE_CHECK(owner, mode, ((gperm & mask) << 6), cr, ip));
931 * class_obj(mask) acl (1003.6/D12 p. 29 lines 75-80).
959 * def_class_obj(mask) acl (1003.6/D12 P. 29 lines 75-80).
1316 int mask;
1336 mask = ((sp->downer != NULL) ? 1 : 0) |
1340 if (mask == 0) {
1345 if (mask != 7) {
1460 int mask = vap->va_mask;
1465 if (!(mask & (AT_MODE|AT_UID|AT_GID)))
1479 * set the mask to the group permissions if a mask entry
1481 * permissions. Since non-trivial ACLs always have a mask,
1482 * and the mask is the final arbiter of group permissions,
1483 * setting the mask has the effect of changing the effective
1486 * an ACL mask exists, chmod(2) must set the acl mask (NOT the
1489 if (mask & AT_MODE) {
1500 if (mask & AT_UID) {
1505 if (mask & AT_GID) {