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.h377 #define SYM_CATS 7 macro
414 #define p_cat_scope scope[SYM_CATS]
508 #define p_cats symtab[SYM_CATS]
519 #define p_cat_val_to_name sym_val_to_name[SYM_CATS]
/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.c2260 ebitmap_to_cil(pdb, &level->level->cat, SYM_CATS); in sens_to_cil()
2374 ebitmap_to_cil(pdb, map, SYM_CATS); in level_to_cil()
3245 if (sym == SYM_CATS) { in declared_scopes_to_cil()
Dexpand.c1185 if (!is_id_enabled(id, state->base, SYM_CATS)) { in cats_copy_callback()
/external/selinux/checkpolicy/
Dmodule_compiler.c1194 retval = require_symbol(SYM_CATS, id, (hashtab_datum_t *) cat, in require_cat()
Dpolicy_define.c913 ret = declare_symbol(SYM_CATS, id, datum, &value, &value); in define_category()
952 declare_symbol(SYM_CATS, id, aliasdatum, NULL, in define_category()
/external/selinux/libsepol/cil/src/
Dcil_binary.c831 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value); in cil_catorder_to_policydb()
859 rc = symtab_insert(pdb, SYM_CATS, key, sepol_alias, SCOPE_DECL, 0, NULL); in cil_catalias_to_policydb()