Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h397 #define SYM_CATS 7 macro
435 #define p_cat_scope scope[SYM_CATS]
529 #define p_cats symtab[SYM_CATS]
540 #define p_cat_val_to_name sym_val_to_name[SYM_CATS]
/external/selinux/checkpolicy/
Dmodule_compiler.c62 [SYM_CATS] = "cat"
1092 retval = require_symbol(SYM_CATS, id, (hashtab_datum_t *) cat, in require_cat()
1099 print_error_msg(retval, SYM_CATS); in require_cat()
Dpolicy_define.c921 ret = declare_symbol(SYM_CATS, id, datum, &value, &value); in define_category()
960 declare_symbol(SYM_CATS, id, aliasdatum, NULL, in define_category()
/external/selinux/libsepol/tests/
Dtest-common.c134 CU_ASSERT(p->sym_val_to_name[SYM_CATS][d->s.value - 1] == (char *)key); in cat_test_index()
/external/selinux/libsepol/src/
Dlink.c745 state->cur->map[SYM_CATS][cat->s.value - 1] = base_cat->s.value; in cat_copy_callback()
1070 assert(mod->map[SYM_CATS][src_cat->low - 1]); in mls_level_convert()
1071 dst->cat->low = mod->map[SYM_CATS][src_cat->low - 1]; in mls_level_convert()
1072 assert(mod->map[SYM_CATS][src_cat->high - 1]); in mls_level_convert()
1073 dst->cat->high = mod->map[SYM_CATS][src_cat->high - 1]; in mls_level_convert()
Dmodule_to_cil.c2405 ebitmap_to_cil(pdb, &level->level->cat, SYM_CATS); in sens_to_cil()
2519 ebitmap_to_cil(pdb, map, SYM_CATS); in level_to_cil()
3451 if (sym == SYM_CATS) { in declared_scopes_to_cil()
Dexpand.c1187 if (!is_id_enabled(id, state->base, SYM_CATS)) { in cats_copy_callback()
/external/selinux/libsepol/cil/src/
Dcil_binary.c820 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value); in cil_catorder_to_policydb()
848 rc = symtab_insert(pdb, SYM_CATS, key, sepol_alias, SCOPE_DECL, 0, NULL); in cil_catalias_to_policydb()