Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmls.c261 level_datum_t *levdatum; in mls_context_isvalid()
288 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, key); in mls_context_isvalid()
337 level_datum_t *levdatum; in mls_context_to_sid()
359 (level_datum_t *) hashtab_search(policydb->p_levels.table, in mls_context_to_sid()
557 level_datum_t *levdatum; in mls_convert_context()
568 (level_datum_t *) hashtab_search(newp->p_levels.table, in mls_convert_context()
Dpolicydb.c543 void level_datum_init(level_datum_t * x) in level_datum_init()
545 memset(x, 0, sizeof(level_datum_t)); in level_datum_init()
548 void level_datum_destroy(level_datum_t * x __attribute__ ((unused))) in level_datum_destroy()
1055 level_datum_t *levdatum; in sens_index()
1057 levdatum = (level_datum_t *) datum; in sens_index()
1360 level_datum_t *levdatum; in sens_destroy()
1364 levdatum = (level_datum_t *) datum; in sens_destroy()
3196 level_datum_t *levdatum; in sens_read()
3200 levdatum = malloc(sizeof(level_datum_t)); in sens_read()
Dexpand.c889 level_datum_t *levdatum; in mls_semantic_level_expand()
902 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_semantic_level_expand()
1132 level_datum_t *level = (level_datum_t *) datum, *new_level = NULL; in sens_copy_callback()
1143 new_level = (level_datum_t *) malloc(sizeof(level_datum_t)); in sens_copy_callback()
Dkernel_to_conf.c728 level_datum_t *sens = data; in map_sensitivity_aliases_to_strs()
741 level_datum_t *level; in write_sensitivity_rules_to_conf()
1048 level_datum_t *level; in write_level_rules_to_conf()
Dkernel_to_cil.c764 level_datum_t *sens = data; in map_sensitivity_aliases_to_strs()
777 level_datum_t *level; in write_sensitivity_rules_to_cil()
1070 level_datum_t *level; in write_sensitivitycategory_rules_to_cil()
Dwrite.c448 level_datum_t *levdatum; in sens_write()
454 levdatum = (level_datum_t *) datum; in sens_write()
Dlink.c671 level_datum_t *level, *base_level; in sens_copy_callback()
675 level = (level_datum_t *) datum; in sens_copy_callback()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h219 } level_datum_t; typedef
680 extern void level_datum_init(level_datum_t * x);
681 extern void level_datum_destroy(level_datum_t * x);
/external/selinux/libsepol/tests/
Dtest-common.c122 level_datum_t *d = (level_datum_t *) datum; in level_test_index()
/external/selinux/checkpolicy/
Dpolicy_define.c707 level_datum_t *datum = 0, *aliasdatum = 0; in define_sens()
740 datum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens()
777 aliasdatum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens()
837 level_datum_t *datum; in define_dominance()
855 (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_dominance()
1007 level_datum_t *levdatum = (level_datum_t *) datum; in clone_level()
1029 level_datum_t *levdatum; in define_level()
1047 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level()
4186 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories()
4246 static int parse_semantic_categories(char *id, level_datum_t * levdatum __attribute__ ((unused)), in parse_semantic_categories()
[all …]
Dmodule_compiler.c174 *dest_value = ((level_datum_t *)s)->level->sens; in create_symbol()
1027 level_datum_t *level = NULL; in require_sens()
1037 level = malloc(sizeof(level_datum_t)); in require_sens()
Dcheckpolicy.c370 level_datum_t *levdatum = (level_datum_t *) datum; in check_level()
/external/selinux/libsepol/cil/src/
Dcil_binary.c139 …get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum_t **sepol_level) in __cil_get_sepol_level_datum()
867 level_datum_t *sepol_level = NULL; in cil_sensitivityorder_to_policydb()
902 level_datum_t *sepol_level = NULL; in cil_sensalias_to_policydb()
903 level_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); in cil_sensalias_to_policydb()
2940 level_datum_t *sepol_level = NULL; in cil_sepol_level_define()
2974 level_datum_t *sepol_level = NULL; in cil_level_to_mls_level()
4036 level_datum_t *level = (level_datum_t *)datum; in __cil_level_val_array_insert()