Home
last modified time | relevance | path

Searched refs:constraint_expr_t (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h63 } constraint_expr_t; typedef
67 constraint_expr_t *expr; /* constraint on permissions */
73 extern int constraint_expr_init(constraint_expr_t * expr);
74 extern void constraint_expr_destroy(constraint_expr_t * expr);
/external/selinux/libsepol/src/
Dconstraint.c28 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()
Dservices.c211 static void get_name_list(constraint_expr_t *e, int type, in get_name_list()
293 constraint_expr_t *e; in get_class_info()
397 constraint_expr_t *e; in constraint_expr_eval_reason()
Dpolicydb.c1146 constraint_expr_t *e, *etmp; in class_destroy()
1987 constraint_expr_t *e, *le; in read_cons_helper()
2012 e = malloc(sizeof(constraint_expr_t)); in read_cons_helper()
Dexpand.c288 constraint_expr_t *new_expr = NULL; in constraint_node_clone()
291 constraint_expr_t *expr, *expr_l = NULL; in constraint_node_clone()
Dwrite.c899 constraint_expr_t *e; in write_cons_helper()
/external/selinux/checkpolicy/
Dpolicy_define.h33 int define_constraint(constraint_expr_t *expr);
67 int define_validatetrans(constraint_expr_t *expr);
Dpolicy_parse.y293 { if (define_constraint((constraint_expr_t*)$4)) return -1; }
296 { if (define_validatetrans((constraint_expr_t*)$3)) return -1; }
538 { if (define_constraint((constraint_expr_t*)$4)) return -1; }
541 { if (define_validatetrans((constraint_expr_t*)$3)) return -1; }
Dpolicy_define.c3368 static constraint_expr_t *constraint_expr_clone(constraint_expr_t * expr) in constraint_expr_clone()
3370 constraint_expr_t *h = NULL, *l = NULL, *e, *newe; in constraint_expr_clone()
3410 int define_constraint(constraint_expr_t * expr) in define_constraint()
3418 constraint_expr_t *e; in define_constraint()
3561 int define_validatetrans(constraint_expr_t * expr) in define_validatetrans()
3567 constraint_expr_t *e; in define_validatetrans()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2280 …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()
2381 …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()
2476 …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()
2481 constraint_expr_t *op, *h1, *h2, *t1, *t2; in __cil_constrain_expr_to_sepol_expr_helper()
2491 op = cil_malloc(sizeof(constraint_expr_t)); in __cil_constrain_expr_to_sepol_expr_helper()
2573 …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()
2576 constraint_expr_t *head, *tail; in __cil_constrain_expr_to_sepol_expr()
2592 constraint_expr_t *sepol_expr = NULL; in cil_constrain_to_policydb_helper()
2683 constraint_expr_t *sepol_expr = NULL; in cil_validatetrans_to_policydb()