Searched refs:allowed (Results 1 – 6 of 6) sorted by relevance
256 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()272 if (xpd && xpd->allowed) in avc_xperms_allow_perm()273 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()281 if (xpd->allowed) in avc_xperms_decision_free()282 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()310 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()311 sizeof(src->allowed->p)); in avc_copy_xperms_decision()336 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()355 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()357 if (!xpd->allowed) in avc_xperms_decision_alloc()[all …]
795 avd.allowed, 0xffffffff, in sel_write_access()
241 if (avd->allowed & current_mapping[tclass].perms[i]) in map_decision()246 avd->allowed = result; in map_decision()594 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()600 avd->allowed &= ~masked; in type_attribute_bounds_av()651 avd->allowed = 0; in context_struct_compute_av()685 avd->allowed |= node->datum.u.data; in context_struct_compute_av()707 if ((constraint->permissions & (avd->allowed)) && in context_struct_compute_av()710 avd->allowed &= ~(constraint->permissions); in context_struct_compute_av()721 (avd->allowed & policydb.process_trans_perms) && in context_struct_compute_av()729 avd->allowed &= ~policydb.process_trans_perms; in context_struct_compute_av()[all …]
651 avd->allowed |= node->datum.u.data; in cond_compute_av()
112 u32 allowed; member132 struct extended_perms_data *allowed; member
76 denied = requested & ~avd->allowed; in avc_audit_required()