Home
last modified time | relevance | path

Searched refs:class_perm_node_t (Results 1 – 9 of 9) 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()
388 class_perm_node_t *cp; in check_assertion_extended_permissions()
Dexpand.c1674 uint32_t ttype, class_perm_node_t * perms, in expand_terule_helper()
1680 class_perm_node_t *cur; in expand_terule_helper()
1783 class_perm_node_t * perms, avtab_t * avtab, in expand_avrule_helper()
1790 class_perm_node_t *cur; in expand_avrule_helper()
2599 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow()
2637 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in copy_neverallow()
Dpolicydb.c530 void class_perm_node_init(class_perm_node_t * x) in class_perm_node_init()
532 memset(x, 0, sizeof(class_perm_node_t)); in class_perm_node_init()
544 class_perm_node_t *cur, *next; in avrule_destroy()
3041 class_perm_node_t *cur, *tail = NULL; in avrule_read()
3070 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.c1551 class_perm_node_t *cur; in avrule_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h242 } class_perm_node_t; typedef
282 class_perm_node_t *perms;
627 extern void class_perm_node_init(class_perm_node_t * x);
/external/selinux/checkpolicy/
Dpolicy_define.c1523 class_perm_node_t *perm; in define_compute_type_helper()
1575 perm = malloc(sizeof(class_perm_node_t)); in define_compute_type_helper()
1940 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL; in define_te_avtab_xperms_helper()
2000 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in define_te_avtab_xperms_helper()
2254 class_perm_node_t *src_perms; in avrule_cpy()
2255 class_perm_node_t *dest_perms, *dest_tail; in avrule_cpy()
2280 dest_perms = (class_perm_node_t *) calloc(1, sizeof(class_perm_node_t)); in avrule_cpy()
2399 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL; in define_te_avtab_helper()
2458 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in define_te_avtab_helper()
/external/selinux/libsepol/cil/src/
Dcil_binary.c4084 static void __cil_destroy_sepol_class_perms(class_perm_node_t *curr) in __cil_destroy_sepol_class_perms()
4086 class_perm_node_t *next; in __cil_destroy_sepol_class_perms()
4095 …_to_sepol_class_perms(policydb_t *pdb, struct cil_list *classperms, class_perm_node_t **sepol_clas… in __cil_rule_to_sepol_class_perms()
4103 class_perm_node_t *cpn = NULL; in __cil_rule_to_sepol_class_perms()
4116 cpn = cil_malloc(sizeof(class_perm_node_t)); in __cil_rule_to_sepol_class_perms()
4146 …o_sepol_class_perms(policydb_t *pdb, struct cil_permissionx *permx, class_perm_node_t **sepol_clas… in __cil_permx_to_sepol_class_perms()
4152 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()