Home
last modified time | relevance | path

Searched refs:SYM_CLASSES (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h374 #define SYM_CLASSES 1 macro
411 #define p_classes_scope scope[SYM_CLASSES]
505 #define p_classes symtab[SYM_CLASSES]
516 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES]
/external/selinux/libsepol/src/
Dlink.c319 state->cur->map[SYM_CLASSES][cladatum->s.value - 1] = in class_copy_callback()
1298 module->map[SYM_CLASSES][cur_perm->tclass - 1]; in copy_avrule_list()
1384 assert(module->map[SYM_CLASSES][i]); in copy_role_trans_list()
1387 map[SYM_CLASSES][i] - 1, in copy_role_trans_list()
1486 new_rule->tclass = module->map[SYM_CLASSES][cur->tclass - 1]; in copy_filename_trans_list()
1526 assert(mod->map[SYM_CLASSES][i]); in copy_range_trans_list()
1529 mod->map[SYM_CLASSES][i] - 1, 1)) { in copy_range_trans_list()
1680 if (i == SYM_CLASSES && in copy_scope_index()
1682 module->map[SYM_CLASSES][j]) { in copy_scope_index()
1684 module->map[SYM_CLASSES][j]; in copy_scope_index()
[all …]
Davrule_block.c181 if (!is_id_enabled(class_id, p, SYM_CLASSES)) { in is_perm_enabled()
Dmodule_to_cil.c1993 cil_printf("%s ", pdb->sym_val_to_name[SYM_CLASSES][i]); in class_order_to_cil()
3310 if (sym == SYM_CLASSES) { in declared_scopes_to_cil()
Dexpand.c422 if (!is_id_enabled(id, state->base, SYM_CLASSES)) { in class_copy_callback()
/external/selinux/checkpolicy/test/
Ddismod.c272 display_id(policy, fp, SYM_CLASSES, cur->tclass - 1, ""); in display_avrule()
454 display_id(p, fp, SYM_CLASSES, i, ""); in display_class_set()
490 display_id(p, fp, SYM_CLASSES, tr->tclass - 1, ":"); in display_filename_trans()
527 if (i == SYM_CLASSES) { in display_scope_index()
Ddispol.c327 display_id(p, fp, SYM_CLASSES, rt->tclass - 1, ":"); in display_role_trans()
341 display_id(p, fp, SYM_CLASSES, ft->tclass - 1, ":"); in display_filename_trans()
/external/selinux/libsepol/tests/
Dtest-common.c71 CU_ASSERT(p->sym_val_to_name[SYM_CLASSES][d->s.value - 1] == (char *)key); in class_test_index()
/external/selinux/checkpolicy/
Dpolicy_define.c170 ret = declare_symbol(SYM_CLASSES, id, datum, &value, &value); in define_class()
341 if (!is_id_in_scope(SYM_CLASSES, id)) { in read_classes()
371 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_user()
403 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_role()
435 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_type()
467 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_range()
3472 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_constraint()
3614 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_validatetrans()
Dmodule_compiler.c768 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class()
/external/selinux/libsepol/cil/src/
Dcil_binary.c305 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); in cil_classorder_to_policydb()