Lines Matching refs:perm
191 u8 perm, u8 which) in avc_xperms_has_perm() argument
197 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
200 rc = security_xperm_test(xpd->auditallow->p, perm); in avc_xperms_has_perm()
203 rc = security_xperm_test(xpd->dontaudit->p, perm); in avc_xperms_has_perm()
208 u8 driver, u8 perm) in avc_xperms_allow_perm() argument
214 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
265 static inline void avc_quick_copy_xperms_decision(u8 perm, in avc_quick_copy_xperms_decision() argument
273 u8 i = perm >> 5; in avc_quick_copy_xperms_decision()
380 u8 perm, in avc_xperms_audit_required() argument
390 if (avc_xperms_has_perm(xpd, perm, XPERMS_DONTAUDIT)) in avc_xperms_audit_required()
398 if (!avc_xperms_has_perm(xpd, perm, XPERMS_AUDITALLOW)) in avc_xperms_audit_required()
410 u8 perm, int result, in avc_xperms_audit() argument
416 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
649 u32 av = sad->audited, perm; in avc_audit_pre_callback() local
664 perm = 1; in avc_audit_pre_callback()
666 if ((perm & av) && perms[i]) { in avc_audit_pre_callback()
668 av &= ~perm; in avc_audit_pre_callback()
671 perm <<= 1; in avc_audit_pre_callback()