Searched refs:level_datum_t (Results 1 – 12 of 12) sorted by relevance
/external/selinux/libsepol/src/ |
D | mls.c | 261 level_datum_t *levdatum; in mls_context_isvalid() 282 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, 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 | 507 void level_datum_init(level_datum_t * x) in level_datum_init() 509 memset(x, 0, sizeof(level_datum_t)); in level_datum_init() 512 void level_datum_destroy(level_datum_t * x __attribute__ ((unused))) in level_datum_destroy() 925 level_datum_t *levdatum; in sens_index() 927 levdatum = (level_datum_t *) datum; in sens_index() 1218 level_datum_t *levdatum; in sens_destroy() 1222 levdatum = (level_datum_t *) datum; in sens_destroy() 2951 level_datum_t *levdatum; in sens_read() 2955 levdatum = malloc(sizeof(level_datum_t)); in sens_read()
|
D | expand.c | 887 level_datum_t *levdatum; in mls_semantic_level_expand() 900 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_semantic_level_expand() 1130 level_datum_t *level = (level_datum_t *) datum, *new_level = NULL; in sens_copy_callback() 1141 new_level = (level_datum_t *) malloc(sizeof(level_datum_t)); in sens_copy_callback()
|
D | write.c | 442 level_datum_t *levdatum; in sens_write() 448 levdatum = (level_datum_t *) datum; in sens_write()
|
D | link.c | 671 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/ |
D | policydb.h | 209 } level_datum_t; typedef 651 extern void level_datum_init(level_datum_t * x); 652 extern void level_datum_destroy(level_datum_t * x);
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 122 level_datum_t *d = (level_datum_t *) datum; in level_test_index()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 702 level_datum_t *datum = 0, *aliasdatum = 0; in define_sens() 735 datum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens() 772 aliasdatum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens() 832 level_datum_t *datum; in define_dominance() 850 (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_dominance() 1002 level_datum_t *levdatum = (level_datum_t *) datum; in clone_level() 1024 level_datum_t *levdatum; in define_level() 1042 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level() 4002 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories() 4062 static int parse_semantic_categories(char *id, level_datum_t * levdatum __attribute__ ((unused)), in parse_semantic_categories() [all …]
|
D | module_compiler.c | 148 *dest_value = ((level_datum_t *)s)->level->sens; in declare_symbol() 643 *dest_value = ((level_datum_t *)s)->level->sens; in require_symbol() 1113 level_datum_t *level = NULL; in require_sens() 1123 level = malloc(sizeof(level_datum_t)); in require_sens()
|
D | checkpolicy.c | 367 level_datum_t *levdatum = (level_datum_t *) datum; in check_level()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 159 …get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum_t **sepol_level) in __cil_get_sepol_level_datum() 883 level_datum_t *sepol_level = NULL; in cil_sensitivityorder_to_policydb() 918 level_datum_t *sepol_level = NULL; in cil_sensalias_to_policydb() 919 level_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); in cil_sensalias_to_policydb() 2453 level_datum_t *sepol_level = NULL; in cil_sepol_level_define() 2487 level_datum_t *sepol_level = NULL; in cil_level_to_mls_level() 3464 level_datum_t *level = (level_datum_t *)datum; in __cil_level_val_array_insert()
|
/external/selinux/libsepol/ |
D | ChangeLog | 390 * Added a defined flag to level_datum_t for use by checkpolicy.
|