Home
last modified time | relevance | path

Searched refs:role_node (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dmodule_to_cil.c289 struct role_list_node *role_node; in roles_gather_map() local
293 role_node = calloc(1, sizeof(*role_node)); in roles_gather_map()
294 if (role_node == NULL) { in roles_gather_map()
298 role_node->role_name = key; in roles_gather_map()
299 role_node->role = role; in roles_gather_map()
301 rc = list_prepend((struct list *)args, role_node); in roles_gather_map()
303 free(role_node); in roles_gather_map()
1099 struct role_list_node *role_node = NULL; in roletype_role_in_ancestor_to_cil() local
1110 role_node = curr->data; in roletype_role_in_ancestor_to_cil()
1111 if (!is_id_in_ancestor_scope(pdb, decl_stack, role_node->role_name, SYM_ROLES)) { in roletype_role_in_ancestor_to_cil()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_post.c1650 struct cil_tree_node *role_node = role_datum->nodes->head->data; in __cil_post_db_roletype_helper() local
1652 if (role_node->flavor == CIL_ROLEATTRIBUTE) { in __cil_post_db_roletype_helper()