Home
last modified time | relevance | path

Searched refs:xperms (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/security/selinux/ss/
Davtab.c73 struct avtab_extended_perms *xperms; in avtab_insert_node() local
80 xperms = kmem_cache_zalloc(avtab_xperms_cachep, GFP_KERNEL); in avtab_insert_node()
81 if (xperms == NULL) { in avtab_insert_node()
85 *xperms = *(datum->u.xperms); in avtab_insert_node()
86 newnode->datum.u.xperms = xperms; in avtab_insert_node()
234 temp->datum.u.xperms); in avtab_destroy()
349 struct avtab_extended_perms xperms; in avtab_read_item() local
350 __le32 buf32[ARRAY_SIZE(xperms.perms.p)]; in avtab_read_item()
461 memset(&xperms, 0, sizeof(struct avtab_extended_perms)); in avtab_read_item()
462 rc = next_entry(&xperms.specified, fp, sizeof(u8)); in avtab_read_item()
[all …]
Dservices.c93 struct extended_perms *xperms);
589 struct extended_perms *xperms, in services_compute_xperms_drivers() argument
594 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_drivers()
596 for (i = 0; i < ARRAY_SIZE(xperms->drivers.p); i++) in services_compute_xperms_drivers()
597 xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; in services_compute_xperms_drivers()
598 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_drivers()
600 security_xperm_set(xperms->drivers.p, in services_compute_xperms_drivers()
601 node->datum.u.xperms->driver); in services_compute_xperms_drivers()
604 xperms->len = 1; in services_compute_xperms_drivers()
616 struct extended_perms *xperms) in context_struct_compute_av() argument
[all …]
Dservices.h38 void services_compute_xperms_drivers(struct extended_perms *xperms,
Dconditional.h77 struct av_decision *avd, struct extended_perms *xperms);
Davtab.h73 struct avtab_extended_perms *xperms; member
Dconditional.c577 struct av_decision *avd, struct extended_perms *xperms) in cond_compute_av() argument
600 if (xperms && (node->key.specified & AVTAB_ENABLED) && in cond_compute_av()
602 services_compute_xperms_drivers(xperms, node); in cond_compute_av()
/linux-6.12.1/security/selinux/include/
Dsecurity.h251 struct extended_perms *xperms);