Lines Matching refs:mask
2965 * as a reasonable approximation, only use the lowest bit of the mask
5769 int mask;
5772 mask = IMMUTABLE | APPEND;
5776 mask &= ~APPEND;
5782 mask = 0;
5785 mask &= ~(UF_IMMUTABLE | UF_APPEND);
5788 KAUTH_DEBUG("IMMUTABLE - file flags 0x%x mask 0x%x append = %d ignore = %d", vap->va_flags, mask, append, ignore);
5789 if ((vap->va_flags & mask) != 0)
6338 * mask the latter. If TAKE_OWNERSHIP is requested the caller is about to
7504 * Validate/mask flags changes. This checks that only the flags in
7505 * the UF_SETTABLE mask are being set, and preserves the flags in
7728 KAUTH_DEBUG("CHOWN - trying to change owner but cannot get mode from filesystem to mask setugid bits");