Searched refs:SYM_CLASSES (Results 1 – 12 of 12) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 53 if (validate_init(&flavors[SYM_CLASSES], p->p_class_val_to_name, p->p_classes.nprim)) in validate_array_init() 370 if (validate_value(class->s.value, &flavors[SYM_CLASSES])) in validate_class_datum() 689 if (bool_xnor(p->class_val_to_struct[i], ebitmap_get_bit(&flavors[SYM_CLASSES].gaps, i))) in validate_datum_array_gaps() 787 if (validate_value(key->target_class, &flavors[SYM_CLASSES])) in validate_avtab_key() 904 if (validate_value(classperm->tclass, &flavors[SYM_CLASSES])) in validate_avrules() 1049 if (validate_value(role_trans->tclass, &flavors[SYM_CLASSES])) in validate_role_transes() 1086 if (validate_value(ftk->tclass, &flavors[SYM_CLASSES])) in validate_filename_trans() 1178 if (octx->v.sclass && validate_value(octx->v.sclass, &flavors[SYM_CLASSES])) in validate_genfs() 1204 if (validate_ebitmap(&role_trans->classes, &flavors[SYM_CLASSES])) in validate_role_trans_rules() 1240 if (validate_ebitmap(&range_trans->tclasses, &flavors[SYM_CLASSES])) in validate_range_trans_rules() [all …]
|
D | link.c | 321 state->cur->map[SYM_CLASSES][cladatum->s.value - 1] = in class_copy_callback() 1262 module->map[SYM_CLASSES][cur_perm->tclass - 1]; in copy_avrule_list() 1353 if (ebitmap_convert(&cur->classes, &new_rule->classes, module->map[SYM_CLASSES])) in copy_role_trans_list() 1448 new_rule->tclass = module->map[SYM_CLASSES][cur->tclass - 1]; in copy_filename_trans_list() 1485 if (ebitmap_convert(&rule->tclasses, &new_rule->tclasses, mod->map[SYM_CLASSES])) in copy_range_trans_list() 1632 if (i == SYM_CLASSES && in copy_scope_index() 1634 module->map[SYM_CLASSES][j]) { in copy_scope_index() 1636 module->map[SYM_CLASSES][j]; in copy_scope_index() 1650 dest->class_perms_map + module->map[SYM_CLASSES][i] - 1; in copy_scope_index() 1943 if (i == SYM_CLASSES) { in is_decl_requires_met() [all …]
|
D | avrule_block.c | 199 if (!is_id_enabled(class_id, p, SYM_CLASSES)) { in is_perm_enabled()
|
D | module_to_cil.c | 2098 cil_printf("%s ", pdb->sym_val_to_name[SYM_CLASSES][i]); in class_order_to_cil() 3478 if (sym == SYM_CLASSES) { in declared_scopes_to_cil()
|
D | expand.c | 457 if (!is_id_enabled(id, state->base, SYM_CLASSES)) { in class_copy_callback()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 394 #define SYM_CLASSES 1 macro 432 #define p_classes_scope scope[SYM_CLASSES] 526 #define p_classes symtab[SYM_CLASSES] 537 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES]
|
/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 278 display_id(policy, fp, SYM_CLASSES, cur->tclass - 1, ""); in display_avrule() 478 display_id(p, fp, SYM_CLASSES, i, ""); in display_class_set() 514 display_id(p, fp, SYM_CLASSES, tr->tclass - 1, ":"); in display_filename_trans() 551 if (i == SYM_CLASSES) { in display_scope_index()
|
D | dispol.c | 323 display_id(p, fp, SYM_CLASSES, rt->tclass - 1, ":"); in display_role_trans() 350 display_id(p, fp, SYM_CLASSES, ft->tclass - 1, ":"); in filenametr_display()
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 56 [SYM_CLASSES] = "class", 810 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class() 813 print_error_msg(ret, SYM_CLASSES); in require_class()
|
D | policy_define.c | 172 ret = declare_symbol(SYM_CLASSES, id, datum, &value, &value); in define_class() 343 if (!is_id_in_scope(SYM_CLASSES, id)) { in read_classes() 374 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_user() 406 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_role() 438 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_type() 470 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_default_range() 3582 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_constraint() 3737 if (!is_id_in_scope(SYM_CLASSES, id)) { in define_validatetrans()
|
/third_party/selinux/libsepol/tests/ |
D | test-common.c | 74 CU_ASSERT(p->sym_val_to_name[SYM_CLASSES][d->s.value - 1] == (char *)key); in class_test_index()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 303 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); in cil_classorder_to_policydb()
|