Lines Matching full:allow
137 aad(&sa)->request = aad(&sa)->request & ~perms->allow; in aa_audit_file()
153 aad(&sa)->denied = aad(&sa)->request & ~perms->allow; in aa_audit_file()
239 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
244 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
249 perms.allow |= AA_MAY_GETATTR; in aa_compute_fperms()
253 perms.allow |= AA_MAY_CHANGE_PROFILE; in aa_compute_fperms()
255 perms.allow |= AA_MAY_ONEXEC; in aa_compute_fperms()
290 if (request & ~perms->allow) in __aa_path_perm()
397 if (!(lperms.allow & AA_MAY_LINK)) in profile_path_link()
411 if (!(perms.allow & AA_MAY_LINK)) { in profile_path_link()
418 if (!(perms.allow & AA_LINK_SUBSET)) in profile_path_link()
428 request = lperms.allow & ~AA_MAY_LINK; in profile_path_link()
429 lperms.allow &= perms.allow | AA_MAY_LINK; in profile_path_link()
431 request |= AA_AUDIT_FILE_MASK & (lperms.allow & ~perms.allow); in profile_path_link()
432 if (request & ~lperms.allow) { in profile_path_link()
434 } else if ((lperms.allow & MAY_EXEC) && in profile_path_link()
436 lperms.allow &= ~MAY_EXEC; in profile_path_link()
507 fctx->allow |= request; in update_file_ctx()
624 denied = request & ~fctx->allow; in aa_file_perm()