Searched refs:constraint_expr_t (Results 1 – 11 of 11) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | constraint.h | 64 } constraint_expr_t; typedef 68 constraint_expr_t *expr; /* constraint on permissions */ 72 extern int constraint_expr_init(constraint_expr_t * expr); 73 extern void constraint_expr_destroy(constraint_expr_t * expr);
|
/third_party/selinux/libsepol/src/ |
D | constraint.c | 28 int constraint_expr_init(constraint_expr_t * expr) in constraint_expr_init() 39 void constraint_expr_destroy(constraint_expr_t * expr) in constraint_expr_destroy() 41 constraint_expr_t *next; in constraint_expr_destroy()
|
D | services.c | 209 static void get_name_list(constraint_expr_t *e, int type, in get_name_list() 291 constraint_expr_t *e; in get_class_info() 396 constraint_expr_t *e; in constraint_expr_eval_reason()
|
D | policydb_validate.c | 230 const constraint_expr_t *cexp; in validate_constraint_nodes()
|
D | expand.c | 320 constraint_expr_t *new_expr = NULL; in constraint_node_clone() 323 constraint_expr_t *expr, *expr_l = NULL; in constraint_node_clone()
|
D | policydb.c | 2151 constraint_expr_t *e, *le; in read_cons_helper() 2176 e = malloc(sizeof(constraint_expr_t)); in read_cons_helper()
|
D | write.c | 981 constraint_expr_t *e; in write_cons_helper()
|
/third_party/selinux/checkpolicy/ |
D | policy_define.h | 33 int define_constraint(constraint_expr_t *expr); 69 int define_validatetrans(constraint_expr_t *expr);
|
D | policy_parse.y | 298 { if (define_constraint((constraint_expr_t*)$4)) return -1; } 301 { if (define_validatetrans((constraint_expr_t*)$3)) return -1; } 547 { if (define_constraint((constraint_expr_t*)$4)) return -1; } 550 { if (define_validatetrans((constraint_expr_t*)$3)) return -1; }
|
D | policy_define.c | 3480 static constraint_expr_t *constraint_expr_clone(const constraint_expr_t * expr) in constraint_expr_clone() 3482 constraint_expr_t *h = NULL, *l = NULL, *newe; in constraint_expr_clone() 3483 const constraint_expr_t *e; in constraint_expr_clone() 3520 int define_constraint(constraint_expr_t * expr) in define_constraint() 3528 constraint_expr_t *e; in define_constraint() 3684 int define_validatetrans(constraint_expr_t * expr) in define_validatetrans() 3690 constraint_expr_t *e; in define_validatetrans()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2539 …truct cil_db *db, struct cil_list_item *item, enum cil_flavor expr_flavor, constraint_expr_t *expr) in __cil_constrain_expr_datum_to_sepol_expr() 2639 …ct cil_db *db, struct cil_list_item *op_item, enum cil_flavor expr_flavor, constraint_expr_t *expr) in __cil_constrain_expr_leaf_to_sepol_expr() 2734 …st struct cil_db *db, const struct cil_list *cil_expr, constraint_expr_t **head, constraint_expr_t… in __cil_constrain_expr_to_sepol_expr_helper() 2740 constraint_expr_t *op, *h1, *h2, *t1, *t2; in __cil_constrain_expr_to_sepol_expr_helper() 2750 op = cil_malloc(sizeof(constraint_expr_t)); in __cil_constrain_expr_to_sepol_expr_helper() 2832 …b_t *pdb, const struct cil_db *db, const struct cil_list *cil_expr, constraint_expr_t **sepol_expr) in __cil_constrain_expr_to_sepol_expr() 2835 constraint_expr_t *head, *tail; in __cil_constrain_expr_to_sepol_expr() 2847 static int __cil_validate_constrain_expr(constraint_expr_t *sepol_expr) in __cil_validate_constrain_expr() 2849 constraint_expr_t *e; in __cil_validate_constrain_expr() 2894 constraint_expr_t *sepol_expr = NULL; in cil_constrain_to_policydb_helper() [all …]
|