Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/
Davc.c207 rc = security_xperm_test(xpd->auditallow->p, perm); in avc_xperms_has_perm()
231 if (xpd->auditallow) in avc_xperms_decision_free()
232 kmem_cache_free(avc_xperms_data_cachep, xpd->auditallow); in avc_xperms_decision_free()
261 memcpy(dest->auditallow->p, src->auditallow->p, in avc_copy_xperms_decision()
262 sizeof(src->auditallow->p)); in avc_copy_xperms_decision()
286 dest->auditallow->p[i] = src->auditallow->p[i]; in avc_quick_copy_xperms_decision()
309 xpd->auditallow = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
311 if (!xpd->auditallow) in avc_xperms_decision_alloc()
402 audited = requested & avd->auditallow; in avc_xperms_audit_required()
926 node->ae.avd.auditallow |= perms; in avc_update_node()
[all …]
Dselinuxfs.c855 avd.auditallow, avd.auditdeny, in sel_write_access()
/Linux-v5.4/security/selinux/include/
Dsecurity.h193 u32 auditallow; member
213 struct extended_perms_data *auditallow; member
Davc.h95 audited = requested & avd->auditallow; in avc_audit_required()
/Linux-v5.4/security/selinux/ss/
Dservices.c223 if (avd->auditallow & mapping->perms[i]) in map_decision()
225 avd->auditallow = result; in map_decision()
630 avd->auditallow = 0; in context_struct_compute_av()
664 avd->auditallow |= node->datum.u.data; in context_struct_compute_av()
938 avd->auditallow = 0; in avd_init()
974 memset(xpermd->auditallow->p, 0xff, in services_compute_xperms_decision()
975 sizeof(xpermd->auditallow->p)); in services_compute_xperms_decision()
978 for (i = 0; i < ARRAY_SIZE(xpermd->auditallow->p); i++) in services_compute_xperms_decision()
979 xpermd->auditallow->p[i] |= in services_compute_xperms_decision()
1018 memset(xpermd->auditallow->p, 0, sizeof(xpermd->auditallow->p)); in security_compute_xperms_decision()
Dconditional.c655 avd->auditallow |= node->datum.u.data; in cond_compute_av()