Searched refs:mls_level_t (Results 1 – 15 of 15) sorted by relevance
/external/selinux/policycoreutils/mcstrans/src/ |
D | mls_level.c | 5 mls_level_t *mls_level_from_string(char *mls_context) in mls_level_from_string() 9 mls_level_t *l; in mls_level_from_string() 15 l = (mls_level_t *) calloc(1, sizeof(mls_level_t)); in mls_level_from_string() 81 unsigned int mls_compute_string_len(mls_level_t *l) in mls_compute_string_len() 117 char *mls_level_to_string(mls_level_t *l) in mls_level_to_string()
|
D | mls_level.h | 6 unsigned int mls_compute_string_len(mls_level_t *r); 7 mls_level_t *mls_level_from_string(char *mls_context); 8 char *mls_level_to_string(mls_level_t *r);
|
D | mcstrans.c | 99 mls_level_t *level; 227 mls_level_t * 229 mls_level_t *mls = calloc(1, sizeof(mls_level_t)); in parse_raw() 525 violates_constraints(mls_level_t *l) { in violates_constraints() 606 mls_level_t *level = parse_raw(raw); in add_base_classification() 1103 mls_level_t *mraw = NULL; in compute_raw_from_trans() 1132 mraw = malloc(sizeof(mls_level_t)); in compute_raw_from_trans() 1288 mls_level_t *l = NULL; in compute_trans_from_raw()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 44 } mls_level_t; typedef 47 mls_level_t level[2]; /* low == level[0], high == level[1] */ 62 memset(level, 0, sizeof(mls_level_t)); in mls_level_init()
|
D | expand.h | 67 extern int mls_semantic_level_expand(mls_semantic_level_t *sl, mls_level_t *l,
|
D | policydb.h | 200 mls_level_t exp_dfltlevel; /* expanded range used for validation */ 206 mls_level_t *level; /* sensitivity and associated categories */
|
/external/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 | 883 int mls_semantic_level_expand(mls_semantic_level_t * sl, mls_level_t * l, in mls_semantic_level_expand() 1027 mls_level_t tmp_level; in user_copy_callback() 1145 new_level->level = (mls_level_t *) malloc(sizeof(mls_level_t)); in sens_copy_callback()
|
D | policydb.c | 1807 static int mls_level_to_semantic(mls_level_t * l, mls_semantic_level_t * sl) in mls_level_to_semantic() 2838 static int mls_read_level(mls_level_t * lp, struct policy_file *fp) in mls_read_level() 2975 levdatum->level = malloc(sizeof(mls_level_t)); in sens_read()
|
D | services.c | 396 mls_level_t *l1, *l2; in constraint_expr_eval_reason()
|
D | write.c | 393 static int mls_write_level(mls_level_t * l, struct policy_file *fp) in mls_write_level()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.h | 450 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level);
|
D | cil_binary.c | 884 mls_level_t *mls_level = NULL; in cil_sensitivityorder_to_policydb() 917 mls_level_t *mls_level = NULL; in cil_sensalias_to_policydb() 2416 int __cil_cats_to_mls_level(policydb_t *pdb, struct cil_cats *cats, mls_level_t *mls_level) in __cil_cats_to_mls_level() 2454 mls_level_t *mls_level = NULL; in cil_sepol_level_define() 2482 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() 2514 mls_level_t *mls_level = NULL; in __cil_levelrange_to_mls_range()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 701 mls_level_t *level = 0; in define_sens() 726 level = (mls_level_t *) malloc(sizeof(mls_level_t)); in define_sens() 1003 mls_level_t *level = (mls_level_t *) arg, *newlevel; in clone_level() 1009 newlevel = (mls_level_t *) malloc(sizeof(mls_level_t)); in clone_level()
|
D | module_compiler.c | 1130 level->level = malloc(sizeof(mls_level_t)); in require_sens()
|