Home
last modified time | relevance | path

Searched refs:class_perm_node_t (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/src/
Dassertion.c41 const class_perm_node_t *curperm, uint32_t perms) in report_failure()
65 static int match_any_class_permissions(class_perm_node_t *cp, uint32_t class, uint32_t data) in match_any_class_permissions()
143 const class_perm_node_t *curperm, uint32_t perms, in report_assertion_extended_permissions()
219 class_perm_node_t *cp; in report_assertion_avtab_matches()
396 class_perm_node_t *cp; in check_assertion_extended_permissions()
Dexpand.c1705 uint32_t ttype, class_perm_node_t * perms, in expand_terule_helper()
1711 class_perm_node_t *cur; in expand_terule_helper()
1837 class_perm_node_t * perms, avtab_t * avtab, in expand_avrule_helper()
1843 class_perm_node_t *cur; in expand_avrule_helper()
2654 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow()
2692 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in copy_neverallow()
Dpolicydb.c567 void class_perm_node_init(class_perm_node_t * x) in class_perm_node_init()
569 memset(x, 0, sizeof(class_perm_node_t)); in class_perm_node_init()
581 class_perm_node_t *cur, *next; in avrule_destroy()
3302 class_perm_node_t *cur, *tail = NULL; in avrule_read()
3331 cur = (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in avrule_read()
Dlink.c1265 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; in copy_avrule_list()
1291 if ((new_perm = (class_perm_node_t *) in copy_avrule_list()
1292 malloc(sizeof(class_perm_node_t))) == NULL) { in copy_avrule_list()
Dwrite.c1652 class_perm_node_t *cur; in avrule_write()
Dmodule_to_cil.c680 …licydb *pdb, uint32_t type, const char *src, const char *tgt, const class_perm_node_t *classperms,… in avrulex_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h250 } class_perm_node_t; typedef
290 class_perm_node_t *perms;
652 extern void class_perm_node_init(class_perm_node_t * x);
/external/selinux/checkpolicy/
Dpolicy_define.c1624 class_perm_node_t *perm; in define_compute_type_helper()
1678 perm = malloc(sizeof(class_perm_node_t)); in define_compute_type_helper()
2043 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL; in define_te_avtab_xperms_helper()
2108 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in define_te_avtab_xperms_helper()
2362 class_perm_node_t *src_perms; in avrule_cpy()
2363 class_perm_node_t *dest_perms, *dest_tail; in avrule_cpy()
2388 dest_perms = (class_perm_node_t *) calloc(1, sizeof(class_perm_node_t)); in avrule_cpy()
2508 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL; in define_te_avtab_helper()
2572 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in define_te_avtab_helper()
/external/selinux/libsepol/cil/src/
Dcil_binary.c4372 static void __cil_destroy_sepol_class_perms(class_perm_node_t *curr) in __cil_destroy_sepol_class_perms()
4374 class_perm_node_t *next; in __cil_destroy_sepol_class_perms()
4383 …_to_sepol_class_perms(policydb_t *pdb, struct cil_list *classperms, class_perm_node_t **sepol_clas… in __cil_rule_to_sepol_class_perms()
4391 class_perm_node_t *cpn = NULL; in __cil_rule_to_sepol_class_perms()
4404 cpn = cil_malloc(sizeof(class_perm_node_t)); in __cil_rule_to_sepol_class_perms()
4434 …o_sepol_class_perms(policydb_t *pdb, struct cil_permissionx *permx, class_perm_node_t **sepol_clas… in __cil_permx_to_sepol_class_perms()
4440 class_perm_node_t *cpn; in __cil_permx_to_sepol_class_perms()
/external/selinux/checkpolicy/test/
Ddismod.c217 class_perm_node_t *cur; in display_avrule()