Searched refs:level_datum_t (Results 1 – 14 of 14) 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 | 586 void level_datum_init(level_datum_t * x) in level_datum_init() 588 memset(x, 0, sizeof(level_datum_t)); in level_datum_init() 591 void level_datum_destroy(level_datum_t * x __attribute__ ((unused))) in level_datum_destroy() 1094 level_datum_t *levdatum; in sens_index() 1096 levdatum = (level_datum_t *) datum; in sens_index() 1388 level_datum_t *levdatum; in sens_destroy() 1392 levdatum = (level_datum_t *) datum; in sens_destroy() 3419 level_datum_t *levdatum; in sens_read() 3423 levdatum = malloc(sizeof(level_datum_t)); in sens_read()
|
D | expand.c | 920 level_datum_t *levdatum; in mls_semantic_level_expand() 937 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_semantic_level_expand() 1167 level_datum_t *level = (level_datum_t *) datum, *new_level = NULL; in sens_copy_callback() 1178 new_level = (level_datum_t *) malloc(sizeof(level_datum_t)); in sens_copy_callback()
|
D | kernel_to_cil.c | 813 level_datum_t *sens = data; in map_count_sensitivity_aliases() 824 level_datum_t *sens = data; in map_sensitivity_aliases_to_strs() 837 level_datum_t *level; in write_sensitivity_rules_to_cil() 1119 level_datum_t *level; in write_sensitivitycategory_rules_to_cil()
|
D | kernel_to_conf.c | 782 level_datum_t *sens = data; in map_sensitivity_aliases_to_strs() 795 level_datum_t *level; in write_sensitivity_rules_to_conf() 1106 level_datum_t *level; in write_level_rules_to_conf()
|
D | link.c | 673 level_datum_t *level, *base_level; in sens_copy_callback() 677 level = (level_datum_t *) datum; in sens_copy_callback()
|
D | write.c | 452 level_datum_t *levdatum; in sens_write() 458 levdatum = (level_datum_t *) datum; in sens_write()
|
D | policydb_validate.c | 599 level_datum_t *level = d; in validate_level_datum()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 221 } level_datum_t; typedef 695 extern void level_datum_init(level_datum_t * x); 696 extern void level_datum_destroy(level_datum_t * x);
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 125 level_datum_t *d = (level_datum_t *) datum; in level_test_index()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 705 level_datum_t *datum = 0, *aliasdatum = 0; in define_sens() 738 datum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens() 775 aliasdatum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens() 835 level_datum_t *datum; in define_dominance() 853 (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_dominance() 1005 level_datum_t *levdatum = (level_datum_t *) datum; in clone_level() 1027 level_datum_t *levdatum; in define_level() 1045 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level() 4175 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories() 4235 static int parse_semantic_categories(char *id, level_datum_t * levdatum __attribute__ ((unused)), in parse_semantic_categories() [all …]
|
D | module_compiler.c | 175 *dest_value = ((level_datum_t *)s)->level->sens; in create_symbol() 1037 level_datum_t *level = NULL; in require_sens() 1047 level = malloc(sizeof(level_datum_t)); in require_sens()
|
D | checkpolicy.c | 371 level_datum_t *levdatum = (level_datum_t *) datum; in check_level()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 134 …get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum_t **sepol_level) in __cil_get_sepol_level_datum() 854 level_datum_t *sepol_level = NULL; in cil_sensitivityorder_to_policydb() 889 level_datum_t *sepol_level = NULL; in cil_sensalias_to_policydb() 890 level_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); in cil_sensalias_to_policydb() 3064 level_datum_t *sepol_level = NULL; in cil_sepol_level_define() 3098 level_datum_t *sepol_level = NULL; in cil_level_to_mls_level() 4187 level_datum_t *level = (level_datum_t *)datum; in __cil_level_val_array_insert()
|