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.h379 #define SYM_LEVELS 6 macro
416 #define p_sens_scope scope[SYM_LEVELS]
510 #define p_levels symtab[SYM_LEVELS]
521 #define p_sens_val_to_name sym_val_to_name[SYM_LEVELS]
/external/selinux/checkpolicy/
Dmodule_compiler.c147 if (symbol_type == SYM_LEVELS) { in declare_symbol()
642 if (symbol_type == SYM_LEVELS) { in require_symbol()
1139 retval = require_symbol(SYM_LEVELS, id, (hashtab_datum_t *) level, in require_sens()
Dpolicy_define.c744 ret = declare_symbol(SYM_LEVELS, id, datum, &value, &value); in define_sens()
781 ret = declare_symbol(SYM_LEVELS, id, aliasdatum, NULL, &value); in define_sens()
/external/selinux/libsepol/tests/
Dtest-common.c125 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()
1055 assert(mod->map[SYM_LEVELS][src->sens - 1]); in mls_level_convert()
1056 dst->sens = mod->map[SYM_LEVELS][src->sens - 1]; in mls_level_convert()
Dexpand.c1133 if (!is_id_enabled(id, state->base, SYM_LEVELS)) { in sens_copy_callback()
Dmodule_to_cil.c3303 if (sym == SYM_LEVELS) { in declared_scopes_to_cil()
/external/selinux/libsepol/cil/src/
Dcil_binary.c868 rc = symtab_insert(pdb, SYM_LEVELS, key, sepol_level, SCOPE_DECL, 0, &value); in cil_sensitivityorder_to_policydb()
900 rc = symtab_insert(pdb, SYM_LEVELS, key, sepol_alias, SCOPE_DECL, 0, NULL); in cil_sensalias_to_policydb()