Searched refs:mls_level_t (Results 1 – 13 of 13) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 47 } 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()
|
D | expand.h | 68 extern int mls_semantic_level_expand(mls_semantic_level_t *sl, mls_level_t *l,
|
D | policydb.h | 212 mls_level_t exp_dfltlevel; /* expanded range used for validation */ 218 mls_level_t *level; /* sensitivity and associated categories */
|
/third_party/selinux/libsepol/src/ |
D | mls.c | 513 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()
|
D | expand.c | 916 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()
|
D | policydb_validate.c | 584 static int validate_mls_level(const mls_level_t *level, const validate_t *sens, const validate_t *c… in validate_mls_level()
|
D | policydb.c | 1969 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()
|
D | services.c | 395 mls_level_t *l1, *l2; in constraint_expr_eval_reason()
|
D | write.c | 403 static int mls_write_level(mls_level_t * l, struct policy_file *fp) in mls_write_level()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.h | 475 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level);
|
D | cil_binary.c | 855 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/ |
D | policy_define.c | 704 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()
|
D | module_compiler.c | 1054 level->level = malloc(sizeof(mls_level_t)); in require_sens()
|