Lines Matching refs:allow
135 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file()
151 aad(&sa)->denied = aad(&sa)->request & ~perms->allow; in aa_audit_file()
243 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
248 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
253 perms.allow |= AA_MAY_GETATTR; in aa_compute_fperms()
257 perms.allow |= AA_MAY_CHANGE_PROFILE; in aa_compute_fperms()
259 perms.allow |= AA_MAY_ONEXEC; in aa_compute_fperms()
294 if (request & ~perms->allow) in __aa_path_perm()
401 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link()
415 if (!(perms.allow & AA_MAY_LINK)) { in profile_path_link()
422 if (!(perms.allow & AA_LINK_SUBSET)) in profile_path_link()
432 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link()
433 lperms.allow &= perms.allow | AA_MAY_LINK; in profile_path_link()
435 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in profile_path_link()
436 if (request & ~lperms.allow) { in profile_path_link()
438 } else if ((lperms.allow & MAY_EXEC) && in profile_path_link()
440 lperms.allow &= ~MAY_EXEC; in profile_path_link()
511 fctx->allow |= request; in update_file_ctx()
602 denied = request & ~fctx->allow; in aa_file_perm()