/external/selinux/libsepol/cil/src/ |
D | cil_internal.h | 443 struct cil_level *dftlevel; 470 struct cil_level *level; 696 struct cil_level { struct 706 struct cil_level *low; argument 708 struct cil_level *high; 991 void cil_level_init(struct cil_level **level);
|
D | cil_binary.h | 475 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level);
|
D | cil_copy_ast.h | 92 void cil_copy_fill_level(struct cil_db *db, struct cil_level *orig, struct cil_level **new);
|
D | cil_reset_ast.c | 8 static inline void cil_reset_level(struct cil_level *level); 241 static inline void cil_reset_level(struct cil_level *level) in cil_reset_level()
|
D | cil_resolve_ast.h | 71 int cil_resolve_level(struct cil_tree_node *current, struct cil_level *level, void *extra_args);
|
D | cil_build_ast.h | 164 void cil_destroy_level(struct cil_level *level); 233 int cil_fill_level(struct cil_tree_node *sens, struct cil_level *level);
|
D | cil_verify.c | 738 struct cil_level *user_low = user->range->low; in __cil_verify_context() 739 struct cil_level *user_high = user->range->high; in __cil_verify_context() 740 struct cil_level *ctx_low = ctx->range->low; in __cil_verify_context() 741 struct cil_level *ctx_high = ctx->range->high; in __cil_verify_context()
|
D | cil.c | 1303 static int cil_level_equals(struct cil_level *low, struct cil_level *high) in cil_level_equals() 1335 static int __cil_level_strlen(struct cil_level *lvl) in __cil_level_strlen() 1387 static int __cil_level_to_string(struct cil_level *lvl, char *out) in __cil_level_to_string() 1880 void cil_level_init(struct cil_level **level) in cil_level_init()
|
D | cil_copy_ast.c | 994 void cil_copy_fill_level(struct cil_db *db, struct cil_level *orig, struct cil_level **new) in cil_copy_fill_level() 1007 struct cil_level *orig = data; in cil_copy_level() 1008 struct cil_level *new = NULL; in cil_copy_level()
|
D | cil_tree.c | 46 void cil_tree_print_level(struct cil_level *level); 598 void cil_tree_print_level(struct cil_level *level) in cil_tree_print_level() 1337 struct cil_level *level = node->data; in cil_tree_print_node()
|
D | cil_binary.c | 2983 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level) in cil_level_to_mls_level() argument 2986 struct cil_sens *cil_sens = cil_level->sens; in cil_level_to_mls_level() 2987 struct cil_cats *cats = cil_level->cats; in cil_level_to_mls_level() 3013 struct cil_level *low = cil_lvlrange->low; in __cil_levelrange_to_mls_range() 3014 struct cil_level *high = cil_lvlrange->high; in __cil_levelrange_to_mls_range() 3040 struct cil_level *cil_level = cil_user->dftlevel; in cil_userlevel_userrange_to_policydb() local 3047 rc = cil_level_to_mls_level(pdb, cil_level, &sepol_user->exp_dfltlevel); in cil_userlevel_userrange_to_policydb()
|
D | cil_resolve_ast.c | 878 usrlvl->level = (struct cil_level*)lvl_datum; in cil_resolve_userlevel() 1700 int cil_resolve_level(struct cil_tree_node *current, struct cil_level *level, void *extra_args) in cil_resolve_level() 1737 lvlrange->low = (struct cil_level*)low_datum; in cil_resolve_levelrange() 1758 lvlrange->high = (struct cil_level*)high_datum; in cil_resolve_levelrange() 2876 struct cil_level *level = NULL; in cil_resolve_call1() 3605 rc = cil_resolve_level(node, (struct cil_level*)node->data, args); in __cil_resolve_ast_node()
|
D | cil_policy.c | 241 static void cil_level_to_policy(FILE *out, struct cil_level *level) in cil_level_to_policy() 250 static int cil_levels_simple_and_equal(struct cil_level *l1, struct cil_level *l2) in cil_levels_simple_and_equal()
|
D | cil_post.c | 75 static int level_compare(struct cil_level *a, struct cil_level *b) in level_compare() 1787 static int __evaluate_level_expression(struct cil_level *level, struct cil_db *db) in __evaluate_level_expression()
|
D | cil_write_ast.c | 268 static int cil_unfill_level(struct cil_level *lvl, char **out_str) { in cil_unfill_level()
|
D | cil_build_ast.c | 3825 struct cil_level *level = NULL; in cil_gen_level() 3860 void cil_destroy_level(struct cil_level *level) in cil_destroy_level() 5438 cil_destroy_level((struct cil_level *)args->arg); in cil_destroy_args() 5700 int cil_fill_level(struct cil_tree_node *curr, struct cil_level *level) in cil_fill_level()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 881 cil_level_init((struct cil_level**)&test_copy->data); in test_cil_copy_fill_level() 886 …int rc = cil_copy_fill_level((struct cil_level*)test_ast_node->data, (struct cil_level*)test_copy-… in test_cil_copy_fill_level() 888 CuAssertStrEquals(tc, ((struct cil_level *)test_copy->data)->sens_str, in test_cil_copy_fill_level() 889 ((struct cil_level *)test_ast_node->data)->sens_str); in test_cil_copy_fill_level()
|
D | test_cil_resolve_ast.c | 1182 int rc = cil_resolve_level(level, (struct cil_level*)level->data, args); in test_cil_resolve_level() 1183 int rc2 = cil_resolve_level(level->next, (struct cil_level*)level->next->data, args); in test_cil_resolve_level() 1217 int rc = cil_resolve_level(level, (struct cil_level*)level->data, args); in test_cil_resolve_level_catlist() 1219 rc = cil_resolve_level(level, (struct cil_level*)level->data, args); in test_cil_resolve_level_catlist() 1264 int rc = cil_resolve_level(level, (struct cil_level*)level->data, args); in test_cil_resolve_level_catset() 1299 int rc = cil_resolve_level(level, (struct cil_level*)level->data, args); in test_cil_resolve_level_catset_name_neg() 1331 int rc = cil_resolve_level(level, (struct cil_level*)level->data, args); in test_cil_resolve_level_sens_neg() 1332 int rc2 = cil_resolve_level(level->next, (struct cil_level*)level->next->data, args); in test_cil_resolve_level_sens_neg() 1364 int rc = cil_resolve_level(level, (struct cil_level*)level->data, args); in test_cil_resolve_level_cat_neg() 1365 int rc2 = cil_resolve_level(level->next, (struct cil_level*)level->next->data, args); in test_cil_resolve_level_cat_neg() [all …]
|
D | test_cil_build_ast.c | 11178 struct cil_level *test_level; in test_cil_fill_level() 11202 struct cil_level *test_level; in test_cil_fill_level_sensnull_neg() 11226 struct cil_level *test_level = NULL; in test_cil_fill_level_levelnull_neg() 11249 struct cil_level *test_level; in test_cil_fill_level_nocat() 11273 struct cil_level *test_level; in test_cil_fill_level_emptycat_neg()
|