Lines Matching full:requested

385 static inline u32 avc_xperms_audit_required(u32 requested,  in avc_xperms_audit_required()  argument
394 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
399 audited &= ~requested; in avc_xperms_audit_required()
402 audited = denied = requested; in avc_xperms_audit_required()
404 audited = requested & avd->auditallow; in avc_xperms_audit_required()
407 audited &= ~requested; in avc_xperms_audit_required()
416 u32 requested, struct av_decision *avd, in avc_xperms_audit() argument
424 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
427 return slow_avc_audit(ssid, tsid, tclass, requested, in avc_xperms_audit()
757 u32 requested, u32 audited, u32 denied, int result, in slow_avc_audit() argument
772 sad.requested = requested; in slow_avc_audit()
995 u16 tclass, u32 requested, in avc_denied() argument
1006 avc_update_node(AVC_CALLBACK_GRANT, requested, driver, in avc_denied()
1018 int avc_has_extended_perms(u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_has_extended_perms() argument
1034 if (WARN_ON(!requested)) in avc_has_extended_perms()
1061 avd.allowed &= ~requested; in avc_has_extended_perms()
1068 avc_update_node(AVC_CALLBACK_ADD_XPERMS, requested, in avc_has_extended_perms()
1077 avd.allowed &= ~requested; in avc_has_extended_perms()
1080 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1082 rc = avc_denied(ssid, tsid, tclass, requested, in avc_has_extended_perms()
1087 rc2 = avc_xperms_audit(ssid, tsid, tclass, requested, in avc_has_extended_perms()
1099 * @requested: requested permissions
1108 u32 requested, unsigned int flags, in avc_perm_nonode() argument
1115 denied = requested & ~(avd->allowed); in avc_perm_nonode()
1117 return avc_denied(ssid, tsid, tclass, requested, 0, 0, in avc_perm_nonode()
1127 * @requested: requested permissions, interpreted based on @tclass
1131 * Check the AVC to determine whether the @requested permissions are granted
1135 * in @avd. Return %0 if all @requested permissions are granted,
1143 u16 tclass, u32 requested, in avc_has_perm_noaudit() argument
1150 if (WARN_ON(!requested)) in avc_has_perm_noaudit()
1157 return avc_perm_nonode(ssid, tsid, tclass, requested, in avc_has_perm_noaudit()
1160 denied = requested & ~node->ae.avd.allowed; in avc_has_perm_noaudit()
1165 return avc_denied(ssid, tsid, tclass, requested, 0, 0, in avc_has_perm_noaudit()
1175 * @requested: requested permissions, interpreted based on @tclass
1178 * Check the AVC to determine whether the @requested permissions are granted
1182 * permissions in accordance with the policy. Return %0 if all @requested
1187 u32 requested, struct common_audit_data *auditdata) in avc_has_perm() argument
1192 rc = avc_has_perm_noaudit(ssid, tsid, tclass, requested, 0, in avc_has_perm()
1195 rc2 = avc_audit(ssid, tsid, tclass, requested, &avd, rc, in avc_has_perm()