Searched refs:SYM_CLASSES (Results 1 – 9 of 9) sorted by relevance
/external/libsepol/include/sepol/policydb/ |
D | policydb.h | 347 #define SYM_CLASSES 1 macro 383 #define p_classes_scope scope[SYM_CLASSES] 477 #define p_classes symtab[SYM_CLASSES] 488 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES]
|
/external/libsepol/src/ |
D | link.c | 312 state->cur->map[SYM_CLASSES][cladatum->s.value - 1] = in class_copy_callback() 1282 module->map[SYM_CLASSES][cur_perm->class - 1]; in copy_avrule_list() 1361 assert(module->map[SYM_CLASSES][i]); in copy_role_trans_list() 1364 map[SYM_CLASSES][i] - 1, in copy_role_trans_list() 1463 new_rule->tclass = module->map[SYM_CLASSES][cur->tclass - 1]; in copy_filename_trans_list() 1503 assert(mod->map[SYM_CLASSES][i]); in copy_range_trans_list() 1506 mod->map[SYM_CLASSES][i] - 1, 1)) { in copy_range_trans_list() 1657 if (i == SYM_CLASSES && in copy_scope_index() 1659 module->map[SYM_CLASSES][j]) { in copy_scope_index() 1661 module->map[SYM_CLASSES][j]; in copy_scope_index() [all …]
|
D | avrule_block.c | 182 if (!is_id_enabled(class_id, p, SYM_CLASSES)) { in is_perm_enabled()
|
D | expand.c | 404 if (!is_id_enabled(id, state->base, SYM_CLASSES)) { in class_copy_callback()
|
/external/checkpolicy/test/ |
D | dismod.c | 272 display_id(policy, fp, SYM_CLASSES, cur->class - 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 | 352 display_id(p, fp, SYM_CLASSES, rt->tclass - 1, ":"); in display_role_trans() 366 display_id(p, fp, SYM_CLASSES, ft->tclass - 1, ":"); in display_filename_trans()
|
/external/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/checkpolicy/ |
D | policy_define.c | 165 ret = declare_symbol(SYM_CLASSES, id, datum, &value, &value); in define_class() 336 if (!is_id_in_scope(SYM_CLASSES, id)) { in read_classes() 366 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_user() 398 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_role() 430 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_range() 2752 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_constraint() 2893 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_validatetrans()
|
D | module_compiler.c | 767 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class()
|