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.h65 } constraint_expr_t; typedef
69 constraint_expr_t *expr; /* constraint on permissions */
75 extern int constraint_expr_init(constraint_expr_t * expr);
76 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.c212 static void get_name_list(constraint_expr_t *e, int type, in get_name_list()
294 constraint_expr_t *e; in get_class_info()
398 constraint_expr_t *e; in constraint_expr_eval_reason()
Dpolicydb.c1311 constraint_expr_t *e, *etmp; in class_destroy()
2153 constraint_expr_t *e, *le; in read_cons_helper()
2178 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.c921 constraint_expr_t *e; in write_cons_helper()
/external/selinux/checkpolicy/
Dpolicy_define.h33 int define_constraint(constraint_expr_t *expr);
69 int define_validatetrans(constraint_expr_t *expr);
Dpolicy_parse.y299 { if (define_constraint((constraint_expr_t*)$4)) return -1; }
302 { if (define_validatetrans((constraint_expr_t*)$3)) return -1; }
548 { if (define_constraint((constraint_expr_t*)$4)) return -1; }
551 { if (define_validatetrans((constraint_expr_t*)$3)) return -1; }
Dpolicy_define.c3473 static constraint_expr_t *constraint_expr_clone(constraint_expr_t * expr) in constraint_expr_clone()
3475 constraint_expr_t *h = NULL, *l = NULL, *e, *newe; in constraint_expr_clone()
3515 int define_constraint(constraint_expr_t * expr) in define_constraint()
3523 constraint_expr_t *e; in define_constraint()
3663 int define_validatetrans(constraint_expr_t * expr) in define_validatetrans()
3669 constraint_expr_t *e; in define_validatetrans()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2422 …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()
2522 …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()
2617 …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()
2622 constraint_expr_t *op, *h1, *h2, *t1, *t2; in __cil_constrain_expr_to_sepol_expr_helper()
2632 op = cil_malloc(sizeof(constraint_expr_t)); in __cil_constrain_expr_to_sepol_expr_helper()
2714 …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()
2717 constraint_expr_t *head, *tail; in __cil_constrain_expr_to_sepol_expr()
2733 constraint_expr_t *sepol_expr = NULL; in cil_constrain_to_policydb_helper()
2824 constraint_expr_t *sepol_expr = NULL; in cil_validatetrans_to_policydb()