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()
999 u16 tclass, u32 requested, in avc_denied() argument
1010 avc_update_node(AVC_CALLBACK_GRANT, requested, driver, in avc_denied()
1022 int avc_has_extended_perms(u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_has_extended_perms() argument
1038 if (WARN_ON(!requested)) in avc_has_extended_perms()
1065 avd.allowed &= ~requested; in avc_has_extended_perms()
1072 avc_update_node(AVC_CALLBACK_ADD_XPERMS, requested, in avc_has_extended_perms()
1081 avd.allowed &= ~requested; in avc_has_extended_perms()
1084 denied = requested & ~(avd.allowed); in avc_has_extended_perms()
1086 rc = avc_denied(ssid, tsid, tclass, requested, in avc_has_extended_perms()
1091 rc2 = avc_xperms_audit(ssid, tsid, tclass, requested, in avc_has_extended_perms()
1103 * @requested: requested permissions
1112 u32 requested, unsigned int flags, in avc_perm_nonode() argument
1119 denied = requested & ~(avd->allowed); in avc_perm_nonode()
1121 return avc_denied(ssid, tsid, tclass, requested, 0, 0, in avc_perm_nonode()
1131 * @requested: requested permissions, interpreted based on @tclass
1135 * Check the AVC to determine whether the @requested permissions are granted
1139 * in @avd. Return %0 if all @requested permissions are granted,
1147 u16 tclass, u32 requested, in avc_has_perm_noaudit() argument
1154 if (WARN_ON(!requested)) in avc_has_perm_noaudit()
1161 return avc_perm_nonode(ssid, tsid, tclass, requested, in avc_has_perm_noaudit()
1164 denied = requested & ~node->ae.avd.allowed; in avc_has_perm_noaudit()
1169 return avc_denied(ssid, tsid, tclass, requested, 0, 0, in avc_has_perm_noaudit()
1179 * @requested: requested permissions, interpreted based on @tclass
1182 * Check the AVC to determine whether the @requested permissions are granted
1186 * permissions in accordance with the policy. Return %0 if all @requested
1191 u32 requested, struct common_audit_data *auditdata) in avc_has_perm() argument
1196 rc = avc_has_perm_noaudit(ssid, tsid, tclass, requested, 0, in avc_has_perm()
1199 rc2 = avc_audit(ssid, tsid, tclass, requested, &avd, rc, in avc_has_perm()