Lines Matching refs:perm
201 u8 perm, u8 which) in avc_xperms_has_perm() argument
207 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
210 rc = security_xperm_test(xpd->auditallow->p, perm); in avc_xperms_has_perm()
213 rc = security_xperm_test(xpd->dontaudit->p, perm); in avc_xperms_has_perm()
218 u8 driver, u8 perm) in avc_xperms_allow_perm() argument
224 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
275 static inline void avc_quick_copy_xperms_decision(u8 perm, in avc_quick_copy_xperms_decision() argument
283 u8 i = perm >> 5; in avc_quick_copy_xperms_decision()
390 u8 perm, in avc_xperms_audit_required() argument
400 if (avc_xperms_has_perm(xpd, perm, XPERMS_DONTAUDIT)) in avc_xperms_audit_required()
408 if (!avc_xperms_has_perm(xpd, perm, XPERMS_AUDITALLOW)) in avc_xperms_audit_required()
421 u8 perm, int result, in avc_xperms_audit() argument
427 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
672 int i, perm; in avc_audit_pre_callback() local
685 perm = 1; in avc_audit_pre_callback()
687 if ((perm & av) && perms[i]) { in avc_audit_pre_callback()
689 av &= ~perm; in avc_audit_pre_callback()
692 perm <<= 1; in avc_audit_pre_callback()