/external/selinux/libsepol/cil/src/ |
D | cil_policy.c | 579 const char *tgt_str = DATUM(rule->tgt)->name; in cil_avrule_to_policy() local 597 rule->rule_kind, src_str, tgt_str); in cil_avrule_to_policy() 601 …cil_avrule_to_policy_helper(file_arr, file_index, kind_str, src_str, tgt_str, rule->perms.classper… in cil_avrule_to_policy() 609 char *tgt_str = ((struct cil_symtab_datum*)rule->tgt)->name; in cil_typerule_to_policy() local 615 …fprintf(file_arr[ALLOWS], "type_transition %s %s : %s %s;\n", src_str, tgt_str, obj_str, result_st… in cil_typerule_to_policy() 618 fprintf(file_arr[ALLOWS], "type_change %s %s : %s %s\n;", src_str, tgt_str, obj_str, result_str); in cil_typerule_to_policy() 621 fprintf(file_arr[ALLOWS], "type_member %s %s : %s %s;\n", src_str, tgt_str, obj_str, result_str); in cil_typerule_to_policy() 634 char *tgt_str = ((struct cil_symtab_datum*)nametypetrans->tgt)->name; in cil_nametypetransition_to_policy() local 638 …fprintf(file_arr[file_index], "type_transition %s %s : %s %s %s;\n", src_str, tgt_str, obj_str, re… in cil_nametypetransition_to_policy() 1034 char *tgt_str = ((struct cil_symtab_datum*)roletrans->tgt)->name; in cil_name_to_policy() local [all …]
|
D | cil_internal.h | 536 char *tgt_str; member 578 char *tgt_str; member 607 char *tgt_str; member 618 char *tgt_str; member 629 char *tgt_str; member
|
D | cil_copy_ast.c | 577 new->tgt_str = orig->tgt_str; in cil_copy_roleallow() 694 new->tgt_str = orig->tgt_str; in cil_copy_roletransition() 711 new->tgt_str = orig->tgt_str; in cil_copy_nametypetransition() 802 new->tgt_str = orig->tgt_str; in cil_copy_avrule() 851 new->tgt_str = orig->tgt_str; in cil_copy_type_rule()
|
D | cil_tree.c | 740 cil_log(CIL_INFO, " %s", roletrans->tgt_str); in cil_tree_print_node() 770 cil_log(CIL_INFO, " %s", roleallow->tgt_str); in cil_tree_print_node() 1013 cil_log(CIL_INFO, " %s", nametypetrans->tgt_str); in cil_tree_print_node() 1091 cil_log(CIL_INFO, " %s", rule->tgt_str); in cil_tree_print_node() 1123 cil_log(CIL_INFO, " %s", rule->tgt_str); in cil_tree_print_node()
|
D | cil.c | 2052 (*nametypetrans)->tgt_str = NULL; in cil_nametypetransition_init() 2124 (*avrule)->tgt_str = NULL; in cil_avrule_init() 2148 (*type_rule)->tgt_str = NULL; in cil_type_rule_init() 2162 (*role_trans)->tgt_str = NULL; in cil_roletransition_init() 2176 (*roleallow)->tgt_str = NULL; in cil_roleallow_init()
|
D | cil_resolve_ast.c | 317 if (rule->tgt_str == CIL_KEY_SELF) { in cil_resolve_avrule() 320 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, args, &tgt_datum); in cil_resolve_avrule() 373 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_type_rule() 581 rc = cil_resolve_name(current, nametypetrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_nametypetransition() 1016 rc = cil_resolve_name(current, roletrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_roletransition() 1061 rc = cil_resolve_name(current, roleallow->tgt_str, CIL_SYM_ROLES, extra_args, &tgt_datum); in cil_resolve_roleallow()
|
D | cil_build_ast.c | 1808 roletrans->tgt_str = parse_current->next->next->data; in cil_gen_roletransition() 1857 roleallow->tgt_str = parse_current->next->next->data; in cil_gen_roleallow() 2032 rule->tgt_str = parse_current->next->next->data; in cil_gen_avrule() 2194 rule->tgt_str = parse_current->next->next->data; in cil_gen_avrulex() 2246 rule->tgt_str = parse_current->next->next->data; in cil_gen_type_rule() 3297 nametypetrans->tgt_str = s2; in cil_gen_typetransition() 3311 rule->tgt_str = s2; in cil_gen_typetransition()
|
D | cil_binary.c | 4581 target.tgt_str = NULL; in cil_check_type_bounds()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 580 CuAssertStrEquals(tc, ((struct cil_type_rule *)test_ast_node->data)->tgt_str, test_copy->tgt_str); in test_cil_copy_type_rule() 614 CuAssertStrEquals(tc, ((struct cil_avrule *)test_ast_node->data)->tgt_str, test_copy->tgt_str); in test_cil_copy_avrule()
|
D | test_cil_build_ast.c | 76 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list() 107 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list_currnull_neg() 138 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list_listnull_neg() 7874 …CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->tgt_str, test_current->next->n… in test_cil_gen_roleallow() 8157 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->tgt_str, test_current->next->next… in test_cil_gen_avrule() 8492 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->tgt_str, test_tree->root->cl_h… in test_cil_gen_type_rule_transition() 8640 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->tgt_str, test_tree->root->cl_h… in test_cil_gen_type_rule_change() 8788 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->tgt_str, test_tree->root->cl_h… in test_cil_gen_type_rule_member()
|