Searched refs:rule_kind (Results 1 – 15 of 15) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_policy.c | 1163 switch (rule->rule_kind) { in cil_av_rulex_to_policy() 1196 switch (rule->rule_kind) { in cil_av_rule_to_policy() 1235 switch (rule->rule_kind) { in cil_type_rule_to_policy() 1302 uint32_t rule_kind; member 1327 if (args->rule_kind == rule->rule_kind) { in __cil_block_te_rules_to_policy_helper() 1339 if (args->rule_kind == rule->rule_kind) { in __cil_block_te_rules_to_policy_helper() 1375 args.rule_kind = 0; in cil_block_te_rules_to_policy() 1379 args.rule_kind = CIL_AVRULE_ALLOWED; in cil_block_te_rules_to_policy() 1381 args.rule_kind = CIL_AVRULE_AUDITALLOW; in cil_block_te_rules_to_policy() 1383 args.rule_kind = CIL_AVRULE_DONTAUDIT; in cil_block_te_rules_to_policy() [all …]
|
D | cil_write_ast.c | 1110 if (rule->rule_kind == AVRULE_ALLOWED) in cil_write_ast_node() 1112 else if (rule->rule_kind == AVRULE_AUDITALLOW) in cil_write_ast_node() 1114 else if (rule->rule_kind == AVRULE_DONTAUDIT) in cil_write_ast_node() 1116 else if (rule->rule_kind == AVRULE_NEVERALLOW) in cil_write_ast_node() 1129 if (rule->rule_kind == AVRULE_ALLOWED) in cil_write_ast_node() 1131 else if (rule->rule_kind == AVRULE_AUDITALLOW) in cil_write_ast_node() 1133 else if (rule->rule_kind == AVRULE_DONTAUDIT) in cil_write_ast_node() 1135 else if (rule->rule_kind == AVRULE_NEVERALLOW) in cil_write_ast_node() 1151 if (rule->rule_kind == AVRULE_TRANSITION) in cil_write_ast_node() 1153 else if (rule->rule_kind == AVRULE_MEMBER) in cil_write_ast_node() [all …]
|
D | cil_build_ast.h | 114 …en_avrule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind); 116 …n_avrulex(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind); 119 …type_rule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind);
|
D | cil_find.c | 305 if (avrule->rule_kind != target->rule_kind) goto exit; in cil_find_matching_avrule()
|
D | cil_internal.h | 611 uint32_t rule_kind; member 640 uint32_t rule_kind; member
|
D | cil_binary.c | 1084 pdb, cil_rule->rule_kind, sepol_src->s.value, in __cil_type_rule_to_avtab_helper() 1222 trans.rule_kind = CIL_TYPE_TRANSITION; in __cil_typetransition_to_avtab() 1490 uint16_t kind = cil_avrule->rule_kind; in __cil_avrule_to_avtab() 1498 if (cil_avrule->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in __cil_avrule_to_avtab() 1860 if (cil_avrulex->rule_kind == CIL_AVRULE_DONTAUDIT && db->disable_dontaudit == CIL_TRUE) { in cil_avrulex_to_hashtable() 1866 kind = cil_avrulex->rule_kind; in cil_avrulex_to_hashtable() 3919 if (db->disable_neverallow != CIL_TRUE && rule->rule_kind == CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb() 3974 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb() 3981 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in __cil_node_to_policydb() 4744 target.rule_kind = CIL_AVRULE_ALLOWED; in __cil_print_neverallow_failure() [all …]
|
D | cil.c | 1265 switch (((struct cil_avrule *)node->data)->rule_kind) { in cil_node_to_string() 1279 switch (((struct cil_avrule *)node->data)->rule_kind) { in cil_node_to_string() 1297 switch (((struct cil_type_rule *)node->data)->rule_kind) { in cil_node_to_string() 2453 (*avrule)->rule_kind = CIL_NONE; in cil_avrule_init() 2477 (*type_rule)->rule_kind = CIL_NONE; in cil_type_rule_init()
|
D | cil_copy_ast.c | 815 new->rule_kind = orig->rule_kind; in cil_copy_avrule() 864 new->rule_kind = orig->rule_kind; in cil_copy_type_rule()
|
D | cil_build_ast.c | 2081 …gen_avrule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_avrule() argument 2106 rule->rule_kind = rule_kind; in cil_gen_avrule() 2241 …en_avrulex(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_avrulex() argument 2266 rule->rule_kind = rule_kind; in cil_gen_avrulex() 2292 …_type_rule(struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint32_t rule_kind) in cil_gen_type_rule() argument 2317 rule->rule_kind = rule_kind; in cil_gen_type_rule() 3383 rule->rule_kind = CIL_TYPE_TRANSITION; in cil_gen_typetransition()
|
D | android.c | 1033 if (rule->rule_kind != CIL_AVRULE_NEVERALLOW) { in apply_rules()
|
D | cil_verify.c | 1032 if (avrule->rule_kind == CIL_AVRULE_NEVERALLOW) { in __cil_verify_booleanif_helper()
|
D | cil_resolve_ast.c | 342 used = (rule->rule_kind == CIL_AVRULE_NEVERALLOW) ? in cil_resolve_avrule() 3963 if (rule->rule_kind == CIL_AVRULE_NEVERALLOW) { in __cil_resolve_ast_node_helper()
|
/external/tensorflow/tensorflow/lite/ |
D | build_def.bzl | 718 rule_kind = rule["kind"] 720 if rule_kind == "cc_library" and "allow_undefined_symbols" not in rule_tags:
|
/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()
|