Home
last modified time | relevance | path

Searched refs:SYM_LEVELS (Results 1 – 8 of 8) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h397 #define SYM_LEVELS 6 macro
435 #define p_sens_scope scope[SYM_LEVELS]
529 #define p_levels symtab[SYM_LEVELS]
540 #define p_sens_val_to_name sym_val_to_name[SYM_LEVELS]
/external/selinux/checkpolicy/
Dmodule_compiler.c61 [SYM_LEVELS] = "level",
173 if (symbol_type == SYM_LEVELS) { in create_symbol()
1054 retval = require_symbol(SYM_LEVELS, id, (hashtab_datum_t *) level, in require_sens()
1063 print_error_msg(retval, SYM_LEVELS); in require_sens()
Dpolicy_define.c752 ret = declare_symbol(SYM_LEVELS, id, datum, &value, &value); in define_sens()
789 ret = declare_symbol(SYM_LEVELS, id, aliasdatum, NULL, &value); in define_sens()
/external/selinux/libsepol/tests/
Dtest-common.c127 CU_ASSERT(p->sym_val_to_name[SYM_LEVELS][d->level->sens - 1] == (char *)key); in level_test_index()
/external/selinux/libsepol/src/
Dlink.c703 state->cur->map[SYM_LEVELS][level->level->sens - 1] = in sens_copy_callback()
1049 assert(mod->map[SYM_LEVELS][src->sens - 1]); in mls_level_convert()
1050 dst->sens = mod->map[SYM_LEVELS][src->sens - 1]; in mls_level_convert()
Dmodule_to_cil.c3419 if (sym == SYM_LEVELS) { in declared_scopes_to_cil()
Dexpand.c1131 if (!is_id_enabled(id, state->base, SYM_LEVELS)) { in sens_copy_callback()
/external/selinux/libsepol/cil/src/
Dcil_binary.c869 rc = symtab_insert(pdb, SYM_LEVELS, key, sepol_level, SCOPE_DECL, 0, &value); in cil_sensitivityorder_to_policydb()
901 rc = symtab_insert(pdb, SYM_LEVELS, key, sepol_alias, SCOPE_DECL, 0, NULL); in cil_sensalias_to_policydb()