Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/selinux/ss/
A Davtab.c74 struct avtab_extended_perms *xperms; in avtab_insert_node() local
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()
294 temp->datum.u.xperms); in avtab_destroy()
410 struct avtab_extended_perms xperms; in avtab_read_item() local
411 __le32 buf32[ARRAY_SIZE(xperms.perms.p)]; in avtab_read_item()
533 rc = next_entry(&xperms.driver, fp, sizeof(u8)); in avtab_read_item()
543 for (i = 0; i < ARRAY_SIZE(xperms.perms.p); i++) in avtab_read_item()
544 xperms.perms.p[i] = le32_to_cpu(buf32[i]); in avtab_read_item()
[all …]
A Dservices.c589 struct extended_perms *xperms, in services_compute_xperms_drivers() argument
597 xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; 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()
630 if (xperms) { in context_struct_compute_av()
631 memset(&xperms->drivers, 0, sizeof(xperms->drivers)); in context_struct_compute_av()
632 xperms->len = 0; in context_struct_compute_av()
671 avd, xperms); in context_struct_compute_av()
1109 struct extended_perms *xperms) in security_compute_av() argument
1120 xperms->len = 0; in security_compute_av()
[all …]
A Dservices.h38 void services_compute_xperms_drivers(struct extended_perms *xperms,
A Dconditional.h78 struct av_decision *avd, struct extended_perms *xperms);
A Davtab.h73 struct avtab_extended_perms *xperms; member
A Dconditional.c575 struct av_decision *avd, struct extended_perms *xperms) in cond_compute_av() argument
598 if (xperms && (node->key.specified & AVTAB_ENABLED) && in cond_compute_av()
600 services_compute_xperms_drivers(xperms, node); in cond_compute_av()
/linux-6.3-rc2/security/selinux/include/
A Dsecurity.h293 struct extended_perms *xperms);

Completed in 16 milliseconds