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.h384 #define SYM_LEVELS 6 macro
421 #define p_sens_scope scope[SYM_LEVELS]
515 #define p_levels symtab[SYM_LEVELS]
526 #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()
1053 retval = require_symbol(SYM_LEVELS, id, (hashtab_datum_t *) level, in require_sens()
1062 print_error_msg(retval, SYM_LEVELS); in require_sens()
Dpolicy_define.c748 ret = declare_symbol(SYM_LEVELS, id, datum, &value, &value); in define_sens()
785 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.c1134 if (!is_id_enabled(id, state->base, SYM_LEVELS)) { in sens_copy_callback()
Dmodule_to_cil.c3397 if (sym == SYM_LEVELS) { in declared_scopes_to_cil()
/external/selinux/libsepol/cil/src/
Dcil_binary.c878 rc = symtab_insert(pdb, SYM_LEVELS, key, sepol_level, SCOPE_DECL, 0, &value); in cil_sensitivityorder_to_policydb()
910 rc = symtab_insert(pdb, SYM_LEVELS, key, sepol_alias, SCOPE_DECL, 0, NULL); in cil_sensalias_to_policydb()