Lines Matching full:allow
122 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file()
138 aad(&sa)->denied = aad(&sa)->request & ~perms->allow; in aa_audit_file()
224 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
229 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
234 perms.allow |= AA_MAY_GETATTR; in aa_compute_fperms()
238 perms.allow |= AA_MAY_CHANGE_PROFILE; in aa_compute_fperms()
240 perms.allow |= AA_MAY_ONEXEC; in aa_compute_fperms()
275 if (request & ~perms->allow) in __aa_path_perm()
384 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link()
398 if (!(perms.allow & AA_MAY_LINK)) { in profile_path_link()
405 if (!(perms.allow & AA_LINK_SUBSET)) in profile_path_link()
415 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link()
416 lperms.allow &= perms.allow | AA_MAY_LINK; in profile_path_link()
418 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in profile_path_link()
419 if (request & ~lperms.allow) { in profile_path_link()
421 } else if ((lperms.allow & MAY_EXEC) && in profile_path_link()
423 lperms.allow &= ~MAY_EXEC; in profile_path_link()
500 fctx->allow |= request; in update_file_ctx()
620 denied = request & ~fctx->allow; in aa_file_perm()