Lines Matching refs:allow
133 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file()
149 aad(&sa)->denied = aad(&sa)->request & ~perms->allow; in aa_audit_file()
235 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
240 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
245 perms.allow |= AA_MAY_GETATTR; in aa_compute_fperms()
249 perms.allow |= AA_MAY_CHANGE_PROFILE; in aa_compute_fperms()
251 perms.allow |= AA_MAY_ONEXEC; in aa_compute_fperms()
286 if (request & ~perms->allow) in __aa_path_perm()
393 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link()
407 if (!(perms.allow & AA_MAY_LINK)) { in profile_path_link()
414 if (!(perms.allow & AA_LINK_SUBSET)) in profile_path_link()
424 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link()
425 lperms.allow &= perms.allow | AA_MAY_LINK; in profile_path_link()
427 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in profile_path_link()
428 if (request & ~lperms.allow) { in profile_path_link()
430 } else if ((lperms.allow & MAY_EXEC) && in profile_path_link()
432 lperms.allow &= ~MAY_EXEC; in profile_path_link()
503 fctx->allow |= request; in update_file_ctx()
620 denied = request & ~fctx->allow; in aa_file_perm()