Lines Matching refs:perm
112 int i, perm; in avc_dump_av() local
124 perm = 1; in avc_dump_av()
126 if ((perm & av) && perms[i]) { in avc_dump_av()
128 av &= ~perm; in avc_dump_av()
131 perm <<= 1; in avc_dump_av()
252 u8 perm, u8 which) in avc_xperms_has_perm() argument
258 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
261 rc = security_xperm_test(xpd->auditallow->p, perm); in avc_xperms_has_perm()
264 rc = security_xperm_test(xpd->dontaudit->p, perm); in avc_xperms_has_perm()
269 u8 driver, u8 perm) in avc_xperms_allow_perm() argument
275 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
326 static inline void avc_quick_copy_xperms_decision(u8 perm, in avc_quick_copy_xperms_decision() argument
334 u8 i = perm >> 5; in avc_quick_copy_xperms_decision()
442 u8 perm, in avc_xperms_audit_required() argument
452 if (avc_xperms_has_perm(xpd, perm, XPERMS_DONTAUDIT)) in avc_xperms_audit_required()
460 if (!avc_xperms_has_perm(xpd, perm, XPERMS_AUDITALLOW)) in avc_xperms_audit_required()
472 u8 perm, int result, in avc_xperms_audit() argument
478 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()