/third_party/selinux/libsepol/cil/src/ |
D | cil_verify.h | 59 int cil_verify_name(const struct cil_db *db, const char *name, enum cil_flavor flavor); 61 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_… 62 …y_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor … 63 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op); 68 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor);
|
D | cil_list.h | 38 enum cil_flavor flavor; 43 enum cil_flavor flavor; 51 void cil_list_init(struct cil_list **list, enum cil_flavor flavor); 55 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data); 56 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data); 57 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da… 58 …il_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *da…
|
D | cil_build_ast.h | 42 …t cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor); 43 int cil_parse_to_list(struct cil_tree_node *parse_cl_head, struct cil_list *ast_cl, enum cil_flavor… 57 …uct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… 59 …ruct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… 129 int cil_gen_constrain_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *… 130 int cil_gen_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **stack); 135 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor); 137 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor); 139 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor); 171 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor); [all …]
|
D | cil_list.c | 47 void cil_list_init(struct cil_list **list, enum cil_flavor flavor) in cil_list_init() 99 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_append() 121 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_prepend() 143 …il_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *da… in cil_list_insert() 225 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da… in cil_list_remove()
|
D | cil_stack.h | 40 enum cil_flavor flavor; 57 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data);
|
D | cil_find.c | 40 enum cil_flavor flavor; 48 enum cil_flavor f1 = FLAVOR(d1); in cil_type_match_any() 49 enum cil_flavor f2 = FLAVOR(d2); in cil_type_match_any() 85 enum cil_flavor f1 = FLAVOR(d1); in cil_type_matches() 86 enum cil_flavor f2 = FLAVOR(d2); in cil_type_matches() 375 int cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *ta… in cil_find_matching_avrule_in_ast()
|
D | cil_internal.h | 339 enum cil_flavor flavor; 879 enum cil_flavor flavor; 892 enum cil_flavor flavor; 907 enum cil_flavor flavor; 939 enum cil_flavor flavor; 983 void cil_destroy_data(void **data, enum cil_flavor flavor); 985 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *index);
|
D | cil_verify.c | 51 static int __cil_is_reserved_name(const char *name, enum cil_flavor flavor) in __cil_is_reserved_name() 95 int cil_verify_name(const struct cil_db *db, const char *name, enum cil_flavor flavor) in cil_verify_name() 188 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_… in cil_verify_expr_syntax() 252 …y_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor … in cil_verify_constraint_leaf_expr_syntax() 316 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op) in cil_verify_constraint_expr_syntax() 418 static int cil_verify_no_self_reference(enum cil_flavor flavor, struct cil_symtab_datum *datum, str… 444 static int cil_verify_no_self_reference(enum cil_flavor flavor, struct cil_symtab_datum *datum, str… in cil_verify_no_self_reference() 561 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor) in __cil_verify_ordered() 1705 enum cil_flavor flavor, in __cil_verify_classperms() 1749 enum cil_flavor op = (enum cil_flavor)(uintptr_t)i->data; in __cil_verify_classperms()
|
D | cil_find.h | 37 int cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *ta…
|
D | cil_policy.c | 288 enum cil_flavor op = (enum cil_flavor)(uintptr_t)i1->data; in cil_cond_expr_to_policy() 357 enum cil_flavor flavor = operand->flavor; in __cil_cons_leaf_operand_len() 388 enum cil_flavor flavor = (enum cil_flavor)(uintptr_t)op->data; in __cil_cons_leaf_op_len() 418 enum cil_flavor op; in cil_cons_expr_len() 423 op = (enum cil_flavor)(uintptr_t)i1->data; in cil_cons_expr_len() 470 enum cil_flavor flavor = operand->flavor; in __cil_cons_leaf_operand_to_string() 475 enum cil_flavor o_flavor = (enum cil_flavor)(uintptr_t)operand->data; in __cil_cons_leaf_operand_to_string() 558 enum cil_flavor flavor = (enum cil_flavor)(uintptr_t)op->data; in __cil_cons_leaf_op_to_string() 598 enum cil_flavor op; in __cil_cons_expr_to_string() 602 op = (enum cil_flavor)(uintptr_t)i1->data; in __cil_cons_expr_to_string() [all …]
|
D | cil_binary.c | 76 enum cil_flavor cond_flavor; 922 …_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_cond_insert_rule() 973 … uint32_t res, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_type_rule() 1066 …ct cil_db *db, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_type_rule_to_avtab() 1123 …*db, struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_typetransition_to_avtab() 1262 …rc, uint32_t tgt, uint32_t obj, uint32_t data, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_avrule() 1309 …_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_expand_helper() 1350 …ymtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_expand() 1405 …uct cil_db *db, struct cil_avrule *cil_avrule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_to_avtab() 1889 enum cil_flavor flavor; in __cil_cond_to_policydb_helper() [all …]
|
D | cil_tree.h | 47 enum cil_flavor flavor;
|
D | cil_stack.c | 75 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data) in cil_stack_push()
|
D | cil_flavor.h | 39 enum cil_flavor { enum
|
D | cil_build_ast.c | 59 int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **list) in cil_fill_list() 86 static int cil_allow_multiple_decls(struct cil_db *db, enum cil_flavor f_new, enum cil_flavor f_old) in cil_allow_multiple_decls() 143 …ct cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor) in cil_gen_node() 581 …uct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm() 623 …ruct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm_nodes() 2589 static enum cil_flavor __cil_get_expr_operator_flavor(const char *op) in __cil_get_expr_operator_flavor() 2603 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *… 2605 static int __cil_fill_expr_helper(struct cil_tree_node *current, enum cil_flavor flavor, struct cil… in __cil_fill_expr_helper() 2608 enum cil_flavor op; in __cil_fill_expr_helper() 2635 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *… in __cil_fill_expr() [all …]
|
D | cil_write_ast.c | 86 enum cil_flavor op_flavor = (enum cil_flavor)(uintptr_t)curr->data; in write_expr() 130 enum cil_flavor operand_flavor = (enum cil_flavor)(uintptr_t)curr->data; in write_expr() 403 enum cil_flavor arg_flavor = arg->flavor; in write_call_args() 493 static const char *macro_param_flavor_to_string(enum cil_flavor flavor) in macro_param_flavor_to_string()
|
D | cil_resolve_ast.h | 95 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_…
|
D | cil_post.c | 140 static int cil_verify_is_list(struct cil_list *list, enum cil_flavor flavor) in cil_verify_is_list() 1263 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_… in __cil_expr_to_bitmap_helper() 1307 enum cil_flavor flavor; in __cil_expr_to_bitmap() 1318 enum cil_flavor op = (enum cil_flavor)(uintptr_t)curr->data; in __cil_expr_to_bitmap() 2040 enum cil_flavor flavor; 2062 static int __evaluate_perm_expression(struct cil_list *perms, enum cil_flavor flavor, symtab_t *cla… in __evaluate_perm_expression() 2280 … int (*concompar)(const void *, const void *), struct cil_db *db, enum cil_flavor flavor, const ch… in __cil_post_process_context_rules()
|
D | cil_resolve_ast.c | 113 …on_symtab, struct cil_list *perm_strs, struct cil_list **perm_datums, enum cil_flavor class_flavor) in __cil_resolve_perms() 495 …tual(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor alia… in cil_resolve_aliasactual() 546 int cil_resolve_alias_to_actual(struct cil_tree_node *current, enum cil_flavor flavor) in cil_resolve_alias_to_actual() 2506 …unds(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor attr… in cil_resolve_bounds() 2732 enum cil_flavor flavor = ((struct cil_param*)item->data)->flavor; in cil_build_call_args() 3222 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_… in cil_resolve_expr() 3229 enum cil_flavor op = CIL_NONE; in cil_resolve_expr() 3300 op = (enum cil_flavor)(uintptr_t)curr->data; in cil_resolve_expr() 3354 enum cil_flavor op_flavor = (enum cil_flavor)(uintptr_t)curr->data; in __cil_evaluate_tunable_expr()
|
D | cil.c | 697 void cil_destroy_data(void **data, enum cil_flavor flavor) in cil_destroy_data() 1019 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) in cil_flavor_to_symtab_index()
|