Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmls.c261 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()
Dpolicydb.c507 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()
Dexpand.c887 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()
Dlink.c671 level_datum_t *level, *base_level; in sens_copy_callback()
675 level = (level_datum_t *) datum; in sens_copy_callback()
Dwrite.c446 level_datum_t *levdatum; in sens_write()
452 levdatum = (level_datum_t *) datum; in sens_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h209 } level_datum_t; typedef
654 extern void level_datum_init(level_datum_t * x);
655 extern void level_datum_destroy(level_datum_t * x);
/external/selinux/checkpolicy/
Dpolicy_define.c702 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()
4058 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories()
4118 static int parse_semantic_categories(char *id, level_datum_t * levdatum __attribute__ ((unused)), in parse_semantic_categories()
[all …]
Dmodule_compiler.c148 *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()
Dcheckpolicy.c367 level_datum_t *levdatum = (level_datum_t *) datum; in check_level()
/external/selinux/libsepol/tests/
Dtest-common.c122 level_datum_t *d = (level_datum_t *) datum; in level_test_index()
/external/selinux/libsepol/cil/src/
Dcil_binary.c136 …get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum_t **sepol_level) in __cil_get_sepol_level_datum()
857 level_datum_t *sepol_level = NULL; in cil_sensitivityorder_to_policydb()
892 level_datum_t *sepol_level = NULL; in cil_sensalias_to_policydb()
893 level_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_alias)); in cil_sensalias_to_policydb()
2750 level_datum_t *sepol_level = NULL; in cil_sepol_level_define()
2784 level_datum_t *sepol_level = NULL; in cil_level_to_mls_level()
3765 level_datum_t *level = (level_datum_t *)datum; in __cil_level_val_array_insert()
/external/selinux/libsepol/
DChangeLog415 * Added a defined flag to level_datum_t for use by checkpolicy.