Home
last modified time | relevance | path

Searched refs:current_perm (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_tree.c44 void cil_tree_print_perms_list(struct cil_tree_node *current_perm);
523 void cil_tree_print_perms_list(struct cil_tree_node *current_perm) in cil_tree_print_perms_list() argument
525 while (current_perm != NULL) { in cil_tree_print_perms_list()
526 if (current_perm->flavor == CIL_PERM) { in cil_tree_print_perms_list()
527 cil_log(CIL_INFO, " %s", ((struct cil_perm *)current_perm->data)->datum.name); in cil_tree_print_perms_list()
528 } else if (current_perm->flavor == CIL_MAP_PERM) { in cil_tree_print_perms_list()
529 cil_log(CIL_INFO, " %s", ((struct cil_perm*)current_perm->data)->datum.name); in cil_tree_print_perms_list()
531 cil_log(CIL_INFO, "\n\n perms list contained unexpected data type: %d\n", current_perm->flavor); in cil_tree_print_perms_list()
534 current_perm = current_perm->next; in cil_tree_print_perms_list()
Dcil_build_ast.h57 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node …
Dcil_build_ast.c552 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node … in cil_gen_perm_nodes() argument
557 while(current_perm != NULL) { in cil_gen_perm_nodes()
558 if (current_perm->cl_head != NULL) { in cil_gen_perm_nodes()
565 new_ast->line = current_perm->line; in cil_gen_perm_nodes()
566 new_ast->hll_line = current_perm->hll_line; in cil_gen_perm_nodes()
568 rc = cil_gen_perm(db, current_perm, new_ast, flavor, num_perms); in cil_gen_perm_nodes()
581 current_perm = current_perm->next; in cil_gen_perm_nodes()