Lines Matching refs:perm
199 u8 perm, u8 which) in avc_xperms_has_perm() argument
205 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
208 rc = security_xperm_test(xpd->auditallow->p, perm); in avc_xperms_has_perm()
211 rc = security_xperm_test(xpd->dontaudit->p, perm); in avc_xperms_has_perm()
216 u8 driver, u8 perm) in avc_xperms_allow_perm() argument
222 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
273 static inline void avc_quick_copy_xperms_decision(u8 perm, in avc_quick_copy_xperms_decision() argument
281 u8 i = perm >> 5; in avc_quick_copy_xperms_decision()
388 u8 perm, in avc_xperms_audit_required() argument
398 if (avc_xperms_has_perm(xpd, perm, XPERMS_DONTAUDIT)) in avc_xperms_audit_required()
406 if (!avc_xperms_has_perm(xpd, perm, XPERMS_AUDITALLOW)) in avc_xperms_audit_required()
418 u8 perm, int result, in avc_xperms_audit() argument
424 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
657 u32 av = sad->audited, perm; in avc_audit_pre_callback() local
672 perm = 1; in avc_audit_pre_callback()
674 if ((perm & av) && perms[i]) { in avc_audit_pre_callback()
676 av &= ~perm; in avc_audit_pre_callback()
679 perm <<= 1; in avc_audit_pre_callback()