Home
last modified time | relevance | path

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

/security/selinux/ss/
A Davtab.c73 struct avtab_extended_perms *xperms; in avtab_insert_node() local
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()
474 rc = next_entry(&xperms.driver, fp, sizeof(u8)); in avtab_read_item()
480 sizeof(u32) * ARRAY_SIZE(xperms.perms.p)); in avtab_read_item()
486 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
599 xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; in services_compute_xperms_drivers()
605 node->datum.u.xperms->driver); in services_compute_xperms_drivers()
611 node->datum.u.xperms->driver); in services_compute_xperms_drivers()
615 xperms->len = 1; in services_compute_xperms_drivers()
641 if (xperms) { in context_struct_compute_av()
642 memset(xperms, 0, sizeof(*xperms)); in context_struct_compute_av()
680 avd, xperms); in context_struct_compute_av()
1127 struct extended_perms *xperms) in security_compute_av() argument
1138 xperms->len = 0; in security_compute_av()
[all …]
A Dservices.h38 void services_compute_xperms_drivers(struct extended_perms *xperms,
A Dconditional.h77 struct av_decision *avd, struct extended_perms *xperms);
A Davtab.h74 struct avtab_extended_perms *xperms; member
A Dconditional.c571 struct av_decision *avd, struct extended_perms *xperms) in cond_compute_av() argument
594 if (xperms && (node->key.specified & AVTAB_ENABLED) && in cond_compute_av()
596 services_compute_xperms_drivers(xperms, node); in cond_compute_av()
/security/selinux/include/
A Dsecurity.h268 struct extended_perms *xperms);

Completed in 76 milliseconds