Home
last modified time | relevance | path

Searched refs:mls_level_t (Results 1 – 13 of 13) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Dmls_types.h47 } mls_level_t; typedef
50 mls_level_t level[2]; /* low == level[0], high == level[1] */
89 memset(level, 0, sizeof(mls_level_t)); in mls_level_init()
Dexpand.h68 extern int mls_semantic_level_expand(mls_semantic_level_t *sl, mls_level_t *l,
Dpolicydb.h212 mls_level_t exp_dfltlevel; /* expanded range used for validation */
218 mls_level_t *level; /* sensitivity and associated categories */
/third_party/selinux/libsepol/src/
Dmls.c513 mls_level_t *fromcon_sen = &(fromcon->range.level[0]); in mls_setup_user_range()
514 mls_level_t *fromcon_clr = &(fromcon->range.level[1]); in mls_setup_user_range()
515 mls_level_t *user_low = &(user->exp_range.level[0]); in mls_setup_user_range()
516 mls_level_t *user_clr = &(user->exp_range.level[1]); in mls_setup_user_range()
517 mls_level_t *user_def = &(user->exp_dfltlevel); in mls_setup_user_range()
518 mls_level_t *usercon_sen = &(usercon->range.level[0]); in mls_setup_user_range()
519 mls_level_t *usercon_clr = &(usercon->range.level[1]); in mls_setup_user_range()
Dexpand.c916 int mls_semantic_level_expand(mls_semantic_level_t * sl, mls_level_t * l, in mls_semantic_level_expand()
1064 mls_level_t tmp_level; in user_copy_callback()
1182 new_level->level = (mls_level_t *) malloc(sizeof(mls_level_t)); in sens_copy_callback()
Dpolicydb_validate.c584 static int validate_mls_level(const mls_level_t *level, const validate_t *sens, const validate_t *c… in validate_mls_level()
Dpolicydb.c1969 static int mls_level_to_semantic(mls_level_t * l, mls_semantic_level_t * sl) in mls_level_to_semantic()
3303 static int mls_read_level(mls_level_t * lp, struct policy_file *fp) in mls_read_level()
3446 levdatum->level = malloc(sizeof(mls_level_t)); in sens_read()
Dservices.c395 mls_level_t *l1, *l2; in constraint_expr_eval_reason()
Dwrite.c403 static int mls_write_level(mls_level_t * l, struct policy_file *fp) in mls_write_level()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.h475 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level);
Dcil_binary.c855 mls_level_t *mls_level = NULL; in cil_sensitivityorder_to_policydb()
888 mls_level_t *mls_level = NULL; in cil_sensalias_to_policydb()
3027 static int __cil_cats_to_mls_level(policydb_t *pdb, struct cil_cats *cats, mls_level_t *mls_level) in __cil_cats_to_mls_level()
3065 mls_level_t *mls_level = NULL; in cil_sepol_level_define()
3093 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()
3125 mls_level_t *mls_level = NULL; in __cil_levelrange_to_mls_range()
/third_party/selinux/checkpolicy/
Dpolicy_define.c704 mls_level_t *level = 0; in define_sens()
729 level = (mls_level_t *) malloc(sizeof(mls_level_t)); in define_sens()
1006 mls_level_t *level = (mls_level_t *) arg, *newlevel; in clone_level()
1012 newlevel = (mls_level_t *) malloc(sizeof(mls_level_t)); in clone_level()
Dmodule_compiler.c1054 level->level = malloc(sizeof(mls_level_t)); in require_sens()