Lines Matching full:requested

377 static inline u32 avc_xperms_audit_required(u32 requested,  in avc_xperms_audit_required()  argument
386 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
394 audited = denied = requested; in avc_xperms_audit_required()
396 audited = requested & avd->auditallow; in avc_xperms_audit_required()
408 u32 requested, struct av_decision *avd, in avc_xperms_audit() argument
416 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
419 return slow_avc_audit(ssid, tsid, tclass, requested, in avc_xperms_audit()
749 u32 requested, u32 audited, u32 denied, int result, in slow_avc_audit() argument
764 sad.requested = requested; in slow_avc_audit()
991 u16 tclass, u32 requested, in avc_denied() argument
1002 avc_update_node(AVC_CALLBACK_GRANT, requested, driver, in avc_denied()
1014 int avc_has_extended_perms(u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_has_extended_perms() argument
1030 if (WARN_ON(!requested)) in avc_has_extended_perms()
1057 avd.allowed &= ~requested; in avc_has_extended_perms()
1064 avc_update_node(AVC_CALLBACK_ADD_XPERMS, requested, in avc_has_extended_perms()
1073 avd.allowed &= ~requested; in avc_has_extended_perms()
1076 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1078 rc = avc_denied(ssid, tsid, tclass, requested, in avc_has_extended_perms()
1083 rc2 = avc_xperms_audit(ssid, tsid, tclass, requested, in avc_has_extended_perms()
1095 * @requested: requested permissions
1104 u32 requested, unsigned int flags, in avc_perm_nonode() argument
1111 denied = requested & ~(avd->allowed); in avc_perm_nonode()
1113 return avc_denied(ssid, tsid, tclass, requested, 0, 0, in avc_perm_nonode()
1123 * @requested: requested permissions, interpreted based on @tclass
1127 * Check the AVC to determine whether the @requested permissions are granted
1131 * in @avd. Return %0 if all @requested permissions are granted,
1139 u16 tclass, u32 requested, in avc_has_perm_noaudit() argument
1146 if (WARN_ON(!requested)) in avc_has_perm_noaudit()
1153 return avc_perm_nonode(ssid, tsid, tclass, requested, in avc_has_perm_noaudit()
1156 denied = requested & ~node->ae.avd.allowed; in avc_has_perm_noaudit()
1161 return avc_denied(ssid, tsid, tclass, requested, 0, 0, in avc_has_perm_noaudit()
1171 * @requested: requested permissions, interpreted based on @tclass
1174 * Check the AVC to determine whether the @requested permissions are granted
1178 * permissions in accordance with the policy. Return %0 if all @requested
1183 u32 requested, struct common_audit_data *auditdata) in avc_has_perm() argument
1188 rc = avc_has_perm_noaudit(ssid, tsid, tclass, requested, 0, in avc_has_perm()
1191 rc2 = avc_audit(ssid, tsid, tclass, requested, &avd, rc, in avc_has_perm()