Searched refs:level_datum_t (Results 1 – 13 of 13) sorted by relevance
/external/selinux/libsepol/src/ |
D | mls.c | 261 level_datum_t *levdatum; in mls_context_isvalid() 288 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, key); in mls_context_isvalid() 335 level_datum_t *levdatum; in mls_context_to_sid() 357 (level_datum_t *) hashtab_search(policydb->p_levels.table, in mls_context_to_sid() 555 level_datum_t *levdatum; in mls_convert_context() 566 (level_datum_t *) hashtab_search(newp->p_levels.table, in mls_convert_context()
|
D | policydb.c | 566 void level_datum_init(level_datum_t * x) in level_datum_init() 568 memset(x, 0, sizeof(level_datum_t)); in level_datum_init() 571 void level_datum_destroy(level_datum_t * x __attribute__ ((unused))) in level_datum_destroy() 1078 level_datum_t *levdatum; in sens_index() 1080 levdatum = (level_datum_t *) datum; in sens_index() 1383 level_datum_t *levdatum; in sens_destroy() 1387 levdatum = (level_datum_t *) datum; in sens_destroy() 3225 level_datum_t *levdatum; in sens_read() 3229 levdatum = malloc(sizeof(level_datum_t)); in sens_read()
|
D | expand.c | 885 level_datum_t *levdatum; in mls_semantic_level_expand() 898 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_semantic_level_expand() 1128 level_datum_t *level = (level_datum_t *) datum, *new_level = NULL; in sens_copy_callback() 1139 new_level = (level_datum_t *) malloc(sizeof(level_datum_t)); in sens_copy_callback()
|
D | kernel_to_conf.c | 756 level_datum_t *sens = data; in map_sensitivity_aliases_to_strs() 769 level_datum_t *level; in write_sensitivity_rules_to_conf() 1078 level_datum_t *level; in write_level_rules_to_conf()
|
D | kernel_to_cil.c | 788 level_datum_t *sens = data; in map_sensitivity_aliases_to_strs() 801 level_datum_t *level; in write_sensitivity_rules_to_cil() 1088 level_datum_t *level; in write_sensitivitycategory_rules_to_cil()
|
D | link.c | 671 level_datum_t *level, *base_level; in sens_copy_callback() 675 level = (level_datum_t *) datum; in sens_copy_callback()
|
D | write.c | 453 level_datum_t *levdatum; in sens_write() 459 levdatum = (level_datum_t *) datum; in sens_write()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 220 } level_datum_t; typedef 682 extern void level_datum_init(level_datum_t * x); 683 extern void level_datum_destroy(level_datum_t * x);
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 124 level_datum_t *d = (level_datum_t *) datum; in level_test_index()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 710 level_datum_t *datum = 0, *aliasdatum = 0; in define_sens() 743 datum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens() 780 aliasdatum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens() 840 level_datum_t *datum; in define_dominance() 858 (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_dominance() 1010 level_datum_t *levdatum = (level_datum_t *) datum; in clone_level() 1032 level_datum_t *levdatum; in define_level() 1050 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level() 4159 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories() 4219 static int parse_semantic_categories(char *id, level_datum_t * levdatum __attribute__ ((unused)), in parse_semantic_categories() [all …]
|
D | module_compiler.c | 174 *dest_value = ((level_datum_t *)s)->level->sens; in create_symbol() 1028 level_datum_t *level = NULL; in require_sens() 1038 level = malloc(sizeof(level_datum_t)); in require_sens()
|
D | checkpolicy.c | 373 level_datum_t *levdatum = (level_datum_t *) datum; in check_level()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 138 …get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum_t **sepol_level) in __cil_get_sepol_level_datum() 858 level_datum_t *sepol_level = NULL; in cil_sensitivityorder_to_policydb() 893 level_datum_t *sepol_level = NULL; in cil_sensalias_to_policydb() 894 level_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); in cil_sensalias_to_policydb() 2891 level_datum_t *sepol_level = NULL; in cil_sepol_level_define() 2925 level_datum_t *sepol_level = NULL; in cil_level_to_mls_level() 3968 level_datum_t *level = (level_datum_t *)datum; in __cil_level_val_array_insert()
|