Lines Matching full:allow
124 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file()
140 aad(&sa)->denied = aad(&sa)->request & ~perms->allow; in aa_audit_file()
226 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
231 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
236 perms.allow |= AA_MAY_GETATTR; in aa_compute_fperms()
240 perms.allow |= AA_MAY_CHANGE_PROFILE; in aa_compute_fperms()
242 perms.allow |= AA_MAY_ONEXEC; in aa_compute_fperms()
277 if (request & ~perms->allow) in __aa_path_perm()
386 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link()
400 if (!(perms.allow & AA_MAY_LINK)) { in profile_path_link()
407 if (!(perms.allow & AA_LINK_SUBSET)) in profile_path_link()
417 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link()
418 lperms.allow &= perms.allow | AA_MAY_LINK; in profile_path_link()
420 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in profile_path_link()
421 if (request & ~lperms.allow) { in profile_path_link()
423 } else if ((lperms.allow & MAY_EXEC) && in profile_path_link()
425 lperms.allow &= ~MAY_EXEC; in profile_path_link()
502 fctx->allow |= request; in update_file_ctx()
622 denied = request & ~fctx->allow; in aa_file_perm()