Searched refs:avrule_t (Results 1 – 15 of 15) sorted by relevance
/external/checkpolicy/ |
D | policy_define.h | 11 #define COND_ERR ((avrule_t *)-1) 16 avrule_t *define_cond_compute_type(int which); 17 avrule_t *define_cond_pol_list(avrule_t *avlist, avrule_t *stmt); 18 avrule_t *define_cond_te_avtab(int which); 19 avrule_t *define_cond_filename_trans(void); 32 int define_conditional(cond_expr_t *expr, avrule_t *t_list, avrule_t *f_list );
|
D | policy_define.c | 1479 int define_compute_type_helper(int which, avrule_t ** rule) in define_compute_type_helper() 1485 avrule_t *avrule; in define_compute_type_helper() 1489 avrule = malloc(sizeof(avrule_t)); in define_compute_type_helper() 1557 avrule_t *avrule; in define_compute_type() 1578 avrule_t *define_cond_compute_type(int which) in define_cond_compute_type() 1581 avrule_t *avrule; in define_cond_compute_type() 1592 return (avrule_t *) 1; in define_cond_compute_type() 1671 avrule_t *define_cond_pol_list(avrule_t * avlist, avrule_t * sl) in define_cond_pol_list() 1675 return (avrule_t *) 1; in define_cond_pol_list() 1688 int define_te_avtab_helper(int which, avrule_t ** rule) in define_te_avtab_helper() [all …]
|
D | module_compiler.h | 82 void append_avrule(avrule_t * avrule);
|
D | policy_parse.y | 346 …{ if (pass == 2) { if (define_conditional((cond_expr_t*)$2, (avrule_t*)$4, (avrule_t*)$6) < 0) ret… 380 { $$ = define_cond_pol_list((avrule_t *)$1, (avrule_t *)$2); }
|
D | module_compiler.c | 34 avrule_t *last_avrule; 1327 avrule_t *tmp; in append_cond_list() 1347 void append_avrule(avrule_t * avrule) in append_avrule()
|
/external/libsepol/include/sepol/policydb/ |
D | policydb.h | 263 } avrule_t; typedef 410 avrule_t *avrules; 606 extern void avrule_init(avrule_t * x); 607 extern void avrule_destroy(avrule_t * x); 608 extern void avrule_list_destroy(avrule_t * x); 632 policydb_t * p, avrule_t * avrules); 661 extern int avrule_read_list(policydb_t * p, avrule_t ** avrules,
|
D | conditional.h | 81 avrule_t *avtrue_list; 82 avrule_t *avfalse_list;
|
D | expand.h | 70 avrule_t * source_rule, avtab_t * dest_avtab,
|
/external/libsepol/src/ |
D | assertion.c | 81 avrule_t * avrules) in check_assertions() 83 avrule_t *a; in check_assertions()
|
D | expand.c | 1816 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule_helper() 1875 avrule_t * source_rule, avtab_t * dest_avtab, in convert_and_expand_rule() 1909 static int cond_avrule_list_copy(policydb_t * dest_pol, avrule_t * source_rules, in cond_avrule_list_copy() 1914 avrule_t *cur; in cond_avrule_list_copy() 2299 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule() 2514 avrule_t * source_rule) in copy_neverallow() 2517 avrule_t *avrule; in copy_neverallow() 2530 avrule = (avrule_t *) malloc(sizeof(avrule_t)); in copy_neverallow() 2621 avrule_t *cur_avrule; in copy_and_expand_avrule_block() 2725 avrule_t *tail, *to_be_appended; in discard_tunables()
|
D | policydb.c | 479 void avrule_init(avrule_t * x) in avrule_init() 481 memset(x, 0, sizeof(avrule_t)); in avrule_init() 486 void avrule_destroy(avrule_t * x) in avrule_destroy() 608 void avrule_list_destroy(avrule_t * x) in avrule_list_destroy() 610 avrule_t *next, *cur; in avrule_list_destroy() 2939 static avrule_t *avrule_read(policydb_t * p in avrule_read() 2945 avrule_t *avrule; in avrule_read() 2948 avrule = (avrule_t *) malloc(sizeof(avrule_t)); in avrule_read() 3098 int avrule_read_list(policydb_t * p, avrule_t ** avrules, in avrule_read_list() 3102 avrule_t *cur, *tail; in avrule_read_list()
|
D | link.c | 1244 static int copy_avrule_list(avrule_t * list, avrule_t ** dst, in copy_avrule_list() 1248 avrule_t *cur, *new_rule = NULL, *tail; in copy_avrule_list() 1258 if ((new_rule = (avrule_t *) malloc(sizeof(avrule_t))) == NULL) { in copy_avrule_list()
|
D | write.c | 53 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp); 1471 static int avrule_write(avrule_t * avrule, struct policy_file *fp) in avrule_write() 1516 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp) in avrule_write_list() 1519 avrule_t *avrule; in avrule_write_list()
|
D | conditional.c | 351 avrule_t *tmp2; in cond_normalize_expr()
|
/external/checkpolicy/test/ |
D | dismod.c | 214 int display_avrule(avrule_t * avrule, policydb_t * policy, in display_avrule() 598 avrule_t *avrule; in display_avdecl() 623 avrule_t *avrule = decl->avrules; in display_avdecl()
|