Searched refs:mls_level_t (Results 1 – 15 of 15) sorted by relevance
/external/selinux/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() 604 mls_level_t *level = parse_raw(raw); in add_base_classification() 1102 mls_level_t *mraw = NULL; in compute_raw_from_trans() 1131 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 | 45 } mls_level_t; typedef 48 mls_level_t level[2]; /* low == level[0], high == level[1] */ 63 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 | 210 mls_level_t exp_dfltlevel; /* expanded range used for validation */ 216 mls_level_t *level; /* sensitivity and associated categories */
|
/external/selinux/libsepol/src/ |
D | mls.c | 515 mls_level_t *fromcon_sen = &(fromcon->range.level[0]); in mls_setup_user_range() 516 mls_level_t *fromcon_clr = &(fromcon->range.level[1]); in mls_setup_user_range() 517 mls_level_t *user_low = &(user->exp_range.level[0]); in mls_setup_user_range() 518 mls_level_t *user_clr = &(user->exp_range.level[1]); in mls_setup_user_range() 519 mls_level_t *user_def = &(user->exp_dfltlevel); in mls_setup_user_range() 520 mls_level_t *usercon_sen = &(usercon->range.level[0]); in mls_setup_user_range() 521 mls_level_t *usercon_clr = &(usercon->range.level[1]); in mls_setup_user_range()
|
D | expand.c | 885 int mls_semantic_level_expand(mls_semantic_level_t * sl, mls_level_t * l, in mls_semantic_level_expand() 1029 mls_level_t tmp_level; in user_copy_callback() 1147 new_level->level = (mls_level_t *) malloc(sizeof(mls_level_t)); in sens_copy_callback()
|
D | policydb.c | 1964 static int mls_level_to_semantic(mls_level_t * l, mls_semantic_level_t * sl) in mls_level_to_semantic() 3080 static int mls_read_level(mls_level_t * lp, struct policy_file *fp) in mls_read_level() 3223 levdatum->level = malloc(sizeof(mls_level_t)); in sens_read()
|
D | services.c | 397 mls_level_t *l1, *l2; in constraint_expr_eval_reason()
|
D | write.c | 399 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 | 475 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level);
|
D | cil_binary.c | 868 mls_level_t *mls_level = NULL; in cil_sensitivityorder_to_policydb() 901 mls_level_t *mls_level = NULL; in cil_sensalias_to_policydb() 2903 int __cil_cats_to_mls_level(policydb_t *pdb, struct cil_cats *cats, mls_level_t *mls_level) in __cil_cats_to_mls_level() 2941 mls_level_t *mls_level = NULL; in cil_sepol_level_define() 2969 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() 3001 mls_level_t *mls_level = NULL; in __cil_levelrange_to_mls_range()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 706 mls_level_t *level = 0; in define_sens() 731 level = (mls_level_t *) malloc(sizeof(mls_level_t)); in define_sens() 1008 mls_level_t *level = (mls_level_t *) arg, *newlevel; in clone_level() 1014 newlevel = (mls_level_t *) malloc(sizeof(mls_level_t)); in clone_level()
|
D | module_compiler.c | 1044 level->level = malloc(sizeof(mls_level_t)); in require_sens()
|