Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dassertion.c49 const class_perm_node_t *curperm, uint32_t perms) in report_failure()
73 static int match_any_class_permissions(class_perm_node_t *cp, uint32_t class, uint32_t data) in match_any_class_permissions()
148 const class_perm_node_t *curperm, uint32_t perms, in report_assertion_extended_permissions()
220 class_perm_node_t *cp; in report_assertion_avtab_matches()
Dexpand.c1707 uint32_t ttype, class_perm_node_t * perms, in expand_terule_helper()
1713 class_perm_node_t *cur; in expand_terule_helper()
1839 class_perm_node_t * perms, avtab_t * avtab, in expand_avrule_helper()
1845 class_perm_node_t *cur; in expand_avrule_helper()
2640 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow()
2678 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in copy_neverallow()
Dpolicydb.c609 void class_perm_node_init(class_perm_node_t * x) in class_perm_node_init()
611 memset(x, 0, sizeof(class_perm_node_t)); in class_perm_node_init()
623 class_perm_node_t *cur, *next; in avrule_destroy()
3514 class_perm_node_t *cur, *tail = NULL; in avrule_read()
3543 cur = (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in avrule_read()
Dlink.c1230 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; in copy_avrule_list()
1255 if ((new_perm = (class_perm_node_t *) in copy_avrule_list()
1256 malloc(sizeof(class_perm_node_t))) == NULL) { in copy_avrule_list()
Dpolicydb_validate.c874 const class_perm_node_t *classperm; in validate_avrules()
Dwrite.c1748 class_perm_node_t *cur; in avrule_write()
Dmodule_to_cil.c685 …licydb *pdb, uint32_t type, const char *src, const char *tgt, const class_perm_node_t *classperms,… in avrulex_to_cil()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h252 } class_perm_node_t; typedef
292 class_perm_node_t *perms;
668 extern void class_perm_node_init(class_perm_node_t * x);
/third_party/selinux/checkpolicy/
Dpolicy_define.c1611 class_perm_node_t *perm; in define_compute_type_helper()
1673 perm = malloc(sizeof(class_perm_node_t)); in define_compute_type_helper()
2040 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL; in define_te_avtab_xperms_helper()
2103 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in define_te_avtab_xperms_helper()
2346 class_perm_node_t *src_perms; in avrule_cpy()
2347 class_perm_node_t *dest_perms, *dest_tail; in avrule_cpy()
2372 dest_perms = (class_perm_node_t *) calloc(1, sizeof(class_perm_node_t)); in avrule_cpy()
2502 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL; in define_te_avtab_helper()
2564 (class_perm_node_t *) malloc(sizeof(class_perm_node_t)); in define_te_avtab_helper()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c4472 static void __cil_destroy_sepol_class_perms(class_perm_node_t *curr) in __cil_destroy_sepol_class_perms()
4474 class_perm_node_t *next; in __cil_destroy_sepol_class_perms()
4483 …_to_sepol_class_perms(policydb_t *pdb, struct cil_list *classperms, class_perm_node_t **sepol_clas… in __cil_rule_to_sepol_class_perms()
4491 class_perm_node_t *cpn = NULL; in __cil_rule_to_sepol_class_perms()
4501 cpn = cil_malloc(sizeof(class_perm_node_t)); in __cil_rule_to_sepol_class_perms()
4532 …o_sepol_class_perms(policydb_t *pdb, struct cil_permissionx *permx, class_perm_node_t **sepol_clas… in __cil_permx_to_sepol_class_perms()
4538 class_perm_node_t *cpn; in __cil_permx_to_sepol_class_perms()
/third_party/selinux/checkpolicy/test/
Ddismod.c216 class_perm_node_t *cur; in display_avrule()