Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Davtab.c74 struct avtab_extended_perms *xperms; in avtab_insert_node() local
81 xperms = kmem_cache_zalloc(avtab_xperms_cachep, GFP_KERNEL); in avtab_insert_node()
82 if (xperms == NULL) { in avtab_insert_node()
86 *xperms = *(datum->u.xperms); in avtab_insert_node()
87 newnode->datum.u.xperms = xperms; in avtab_insert_node()
292 temp->datum.u.xperms); in avtab_destroy()
397 struct avtab_extended_perms xperms; in avtab_read_item() local
398 __le32 buf32[ARRAY_SIZE(xperms.perms.p)]; in avtab_read_item()
514 memset(&xperms, 0, sizeof(struct avtab_extended_perms)); in avtab_read_item()
515 rc = next_entry(&xperms.specified, fp, sizeof(u8)); in avtab_read_item()
[all …]
Dservices.c99 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()
606 xperms->len = 1; in services_compute_xperms_drivers()
618 struct extended_perms *xperms) in context_struct_compute_av() argument
[all …]
Dservices.h36 void services_compute_xperms_drivers(struct extended_perms *xperms,
Dconditional.h75 struct av_decision *avd, struct extended_perms *xperms);
Davtab.h73 struct avtab_extended_perms *xperms; member
Dconditional.c633 struct av_decision *avd, struct extended_perms *xperms) in cond_compute_av() argument
656 if (xperms && (node->key.specified & AVTAB_ENABLED) && in cond_compute_av()
658 services_compute_xperms_drivers(xperms, node); in cond_compute_av()
/Linux-v5.4/security/selinux/include/
Dsecurity.h228 struct extended_perms *xperms);