Home
last modified time | relevance | path

Searched refs:allowed (Results 1 – 6 of 6) sorted by relevance

/security/selinux/
Davc.c257 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
273 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
274 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
282 if (xpd->allowed) in avc_xperms_decision_free()
283 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
311 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
312 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
337 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
357 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
359 if (!xpd->allowed) in avc_xperms_decision_alloc()
[all …]
Dselinuxfs.c748 avd.allowed, 0xffffffff, in sel_write_access()
/security/selinux/ss/
Dservices.c227 if (avd->allowed & current_mapping[tclass].perms[i]) in map_decision()
232 avd->allowed = result; in map_decision()
571 if ((lo_avd.allowed & avd->allowed) == avd->allowed) in type_attribute_bounds_av()
573 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
587 if ((lo_avd.allowed & avd->allowed) == avd->allowed) in type_attribute_bounds_av()
589 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
604 if ((lo_avd.allowed & avd->allowed) == avd->allowed) in type_attribute_bounds_av()
606 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
611 avd->allowed &= ~masked; in type_attribute_bounds_av()
663 avd->allowed = 0; in context_struct_compute_av()
[all …]
Dconditional.c648 avd->allowed |= node->datum.u.data; in cond_compute_av()
/security/selinux/include/
Dsecurity.h106 u32 allowed; member
126 struct extended_perms_data *allowed; member
Davc.h75 denied = requested & ~avd->allowed; in avc_audit_required()