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.c290 struct role_list_node *role_node; in roles_gather_map() local
294 role_node = calloc(1, sizeof(*role_node)); in roles_gather_map()
295 if (role_node == NULL) { in roles_gather_map()
299 role_node->role_name = key; in roles_gather_map()
300 role_node->role = role; in roles_gather_map()
302 rc = list_prepend((struct list *)args, role_node); in roles_gather_map()
304 free(role_node); in roles_gather_map()
1087 struct role_list_node *role_node = NULL; in roletype_role_in_ancestor_to_cil() local
1098 role_node = curr->data; in roletype_role_in_ancestor_to_cil()
1099 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()