Searched refs:SYM_CLASSES (Results 1 – 11 of 11) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 374 #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/ |
D | link.c | 319 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 …]
|
D | avrule_block.c | 181 if (!is_id_enabled(class_id, p, SYM_CLASSES)) { in is_perm_enabled()
|
D | module_to_cil.c | 1993 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()
|
D | expand.c | 422 if (!is_id_enabled(id, state->base, SYM_CLASSES)) { in class_copy_callback()
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 272 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()
|
D | dispol.c | 327 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/ |
D | test-common.c | 71 CU_ASSERT(p->sym_val_to_name[SYM_CLASSES][d->s.value - 1] == (char *)key); in class_test_index()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 170 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()
|
D | module_compiler.c | 768 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 305 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); in cil_classorder_to_policydb()
|