Lines Matching full:requested
386 static inline u32 avc_xperms_audit_required(u32 requested, in avc_xperms_audit_required() argument
395 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
400 audited &= ~requested; in avc_xperms_audit_required()
403 audited = denied = requested; in avc_xperms_audit_required()
405 audited = requested & avd->auditallow; in avc_xperms_audit_required()
408 audited &= ~requested; in avc_xperms_audit_required()
418 u32 requested, struct av_decision *avd, in avc_xperms_audit() argument
426 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
429 return slow_avc_audit(state, ssid, tsid, tclass, requested, in avc_xperms_audit()
764 u32 requested, u32 audited, u32 denied, int result, in slow_avc_audit() argument
779 sad.requested = requested; in slow_avc_audit()
1016 u16 tclass, u32 requested, in avc_denied() argument
1027 avc_update_node(state->avc, AVC_CALLBACK_GRANT, requested, driver, in avc_denied()
1040 u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_has_extended_perms() argument
1056 if (WARN_ON(!requested)) in avc_has_extended_perms()
1083 avd.allowed &= ~requested; in avc_has_extended_perms()
1090 avc_update_node(state->avc, AVC_CALLBACK_ADD_XPERMS, requested, in avc_has_extended_perms()
1099 avd.allowed &= ~requested; in avc_has_extended_perms()
1102 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1104 rc = avc_denied(state, ssid, tsid, tclass, requested, in avc_has_extended_perms()
1109 rc2 = avc_xperms_audit(state, ssid, tsid, tclass, requested, in avc_has_extended_perms()
1121 * @requested: requested permissions, interpreted based on @tclass
1125 * Check the AVC to determine whether the @requested permissions are granted
1129 * in @avd. Return %0 if all @requested permissions are granted,
1138 u16 tclass, u32 requested, in avc_has_perm_noaudit() argument
1147 if (WARN_ON(!requested)) in avc_has_perm_noaudit()
1158 denied = requested & ~(avd->allowed); in avc_has_perm_noaudit()
1160 rc = avc_denied(state, ssid, tsid, tclass, requested, 0, 0, in avc_has_perm_noaudit()
1172 * @requested: requested permissions, interpreted based on @tclass
1175 * Check the AVC to determine whether the @requested permissions are granted
1179 * permissions in accordance with the policy. Return %0 if all @requested
1184 u32 requested, struct common_audit_data *auditdata) in avc_has_perm() argument
1189 rc = avc_has_perm_noaudit(state, ssid, tsid, tclass, requested, 0, in avc_has_perm()
1192 rc2 = avc_audit(state, ssid, tsid, tclass, requested, &avd, rc, in avc_has_perm()
1200 u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_has_perm_flags() argument
1207 rc = avc_has_perm_noaudit(state, ssid, tsid, tclass, requested, in avc_has_perm_flags()
1211 rc2 = avc_audit(state, ssid, tsid, tclass, requested, &avd, rc, in avc_has_perm_flags()