Searched refs:rule_kind (Results 1 – 13 of 13) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_build_ast.h | 112 …en_avrule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind); 114 …n_avrulex(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind); 117 …type_rule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind);
|
D | cil_find.c | 300 if (avrule->rule_kind != target->rule_kind) goto exit; in cil_find_matching_avrule()
|
D | cil_internal.h | 575 uint32_t rule_kind; member 604 uint32_t rule_kind; member
|
D | cil.c | 1014 switch (((struct cil_avrule *)node->data)->rule_kind) { in cil_node_to_string() 1028 switch (((struct cil_avrule *)node->data)->rule_kind) { in cil_node_to_string() 1046 switch (((struct cil_type_rule *)node->data)->rule_kind) { in cil_node_to_string() 2121 (*avrule)->rule_kind = CIL_NONE; in cil_avrule_init() 2145 (*type_rule)->rule_kind = CIL_NONE; in cil_type_rule_init()
|
D | cil_binary.c | 1058 uint16_t kind = cil_rule->rule_kind; in __cil_type_rule_to_avtab() 1134 trans.rule_kind = CIL_TYPE_TRANSITION; in __cil_typetransition_to_avtab() 1401 uint16_t kind = cil_avrule->rule_kind; in __cil_avrule_to_avtab() 1406 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab() 1717 if (cil_avrulex->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in cil_avrulex_to_hashtable() 1723 kind = cil_avrulex->rule_kind; in cil_avrulex_to_hashtable() 3507 if (db->disable_neverallow != CIL_TRUE && rule->rule_kind == CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb() 3562 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb() 3569 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb() 4345 target.rule_kind = CIL_AVRULE_ALLOWED; in __cil_print_neverallow_failure() [all …]
|
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_copy_ast.c | 800 new->rule_kind = orig->rule_kind; in cil_copy_avrule() 849 new->rule_kind = orig->rule_kind; in cil_copy_type_rule()
|
D | cil_build_ast.c | 2004 …gen_avrule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_avrule() argument 2029 rule->rule_kind = rule_kind; in cil_gen_avrule() 2167 …en_avrulex(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_avrulex() argument 2192 rule->rule_kind = rule_kind; in cil_gen_avrulex() 2219 …_type_rule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_type_rule() argument 2244 rule->rule_kind = rule_kind; in cil_gen_type_rule() 3309 rule->rule_kind = CIL_TYPE_TRANSITION; in cil_gen_typetransition()
|
D | cil_tree.c | 1067 switch (rule->rule_kind) { in cil_tree_print_node() 1102 switch (rule->rule_kind) { in cil_tree_print_node()
|
D | cil_verify.c | 842 ckey.key4 = (intptr_t)typerule->rule_kind; in __cil_verify_rule() 878 if (avrule->rule_kind == CIL_AVRULE_NEVERALLOW) { in __cil_verify_booleanif_helper()
|
D | cil_resolve_ast.c | 313 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in cil_resolve_avrule() 325 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()
|