Searched refs:rule_kind (Results 1 – 12 of 12) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_build_ast.h | 108 …en_avrule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind); 110 …type_rule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind);
|
D | cil_internal.h | 547 uint32_t rule_kind; member 560 uint32_t rule_kind; member
|
D | cil_copy_ast.c | 753 new->rule_kind = orig->rule_kind; in cil_copy_avrule() 770 new->rule_kind = orig->rule_kind; in cil_copy_type_rule()
|
D | cil_policy.c | 582 switch (rule->rule_kind) { in cil_avrule_to_policy() 597 rule->rule_kind, src_str, tgt_str); in cil_avrule_to_policy() 613 switch (rule->rule_kind) { in cil_typerule_to_policy()
|
D | cil.c | 983 switch (((struct cil_avrule *)node->data)->rule_kind) { in cil_node_to_string() 999 switch (((struct cil_type_rule *)node->data)->rule_kind) { in cil_node_to_string() 2073 (*avrule)->rule_kind = CIL_NONE; in cil_avrule_init() 2085 (*type_rule)->rule_kind = CIL_NONE; in cil_type_rule_init()
|
D | cil_binary.c | 1084 uint16_t kind = cil_rule->rule_kind; in __cil_type_rule_to_avtab() 1160 trans.rule_kind = CIL_TYPE_TRANSITION; in __cil_typetransition_to_avtab() 1501 uint16_t kind = cil_avrule->rule_kind; in __cil_avrule_to_avtab() 1506 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab() 1512 if (cil_avrule->rule_kind == CIL_AVRULE_NEVERALLOW && db->disable_neverallow == CIL_TRUE) { in __cil_avrule_to_avtab() 3206 if (rule->rule_kind == CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb() 3268 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb()
|
D | cil_verify.c | 838 ckey.key4 = (intptr_t)typerule->rule_kind; in __cil_verify_rule() 874 if (avrule->rule_kind == CIL_AVRULE_NEVERALLOW) { in __cil_verify_booleanif_helper()
|
D | cil_tree.c | 1049 switch (rule->rule_kind) { in cil_tree_print_node() 1084 switch (rule->rule_kind) { in cil_tree_print_node()
|
D | cil_build_ast.c | 1849 …gen_avrule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_avrule() argument 1873 rule->rule_kind = rule_kind; in cil_gen_avrule() 1906 …_type_rule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_type_rule() argument 1931 rule->rule_kind = rule_kind; in cil_gen_type_rule() 2996 rule->rule_kind = CIL_TYPE_TRANSITION; in cil_gen_typetransition()
|
D | cil_resolve_ast.c | 293 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in cil_resolve_avrule() 305 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in cil_resolve_avrule()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 578 …ssertIntEquals(tc, ((struct cil_type_rule *)test_ast_node->data)->rule_kind, test_copy->rule_kind); in test_cil_copy_type_rule() 612 CuAssertIntEquals(tc, ((struct cil_avrule *)test_ast_node->data)->rule_kind, test_copy->rule_kind); in test_cil_copy_avrule()
|
D | test_cil_build_ast.c | 74 test_avrule->rule_kind = CIL_AVRULE_ALLOWED; in test_cil_parse_to_list() 105 test_avrule->rule_kind = CIL_AVRULE_ALLOWED; in test_cil_parse_to_list_currnull_neg() 136 test_avrule->rule_kind = CIL_AVRULE_ALLOWED; in test_cil_parse_to_list_listnull_neg() 8495 …CuAssertIntEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->rule_kind, CIL_TYPE_TRANSITION… in test_cil_gen_type_rule_transition() 8643 CuAssertIntEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->rule_kind, CIL_TYPE_CHANGE); in test_cil_gen_type_rule_change() 8791 CuAssertIntEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->rule_kind, CIL_TYPE_MEMBER); in test_cil_gen_type_rule_member()
|