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

/external/selinux/libsepol/include/sepol/policydb/
H A Dpolicydb.h371 #define SYM_CLASSES 1 macro
408 #define p_classes_scope scope[SYM_CLASSES]
502 #define p_classes symtab[SYM_CLASSES]
513 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES]
/external/selinux/libsepol/src/
H A Davrule_block.c181 if (!is_id_enabled(class_id, p, SYM_CLASSES)) {
H A Dlink.c319 state->cur->map[SYM_CLASSES][cladatum->s.value - 1] =
1298 module->map[SYM_CLASSES][cur_perm->tclass - 1];
1384 assert(module->map[SYM_CLASSES][i]);
1387 map[SYM_CLASSES][i] - 1,
1486 new_rule->tclass = module->map[SYM_CLASSES][cur->tclass - 1];
1526 assert(mod->map[SYM_CLASSES][i]);
1529 mod->map[SYM_CLASSES][i] - 1, 1)) {
1680 if (i == SYM_CLASSES &&
1682 module->map[SYM_CLASSES][j]) {
1684 module->map[SYM_CLASSES][
[all...]
H A Dmodule_to_cil.c1993 cil_printf("%s ", pdb->sym_val_to_name[SYM_CLASSES][i]);
3259 if (sym == SYM_CLASSES) {
H A Dexpand.c422 if (!is_id_enabled(id, state->base, SYM_CLASSES)) {
/external/selinux/checkpolicy/test/
H A Ddismod.c272 display_id(policy, fp, SYM_CLASSES, cur->tclass - 1, "");
454 display_id(p, fp, SYM_CLASSES, i, "");
490 display_id(p, fp, SYM_CLASSES, tr->tclass - 1, ":");
527 if (i == SYM_CLASSES) {
H A Ddispol.c378 display_id(p, fp, SYM_CLASSES, rt->tclass - 1, ":");
392 display_id(p, fp, SYM_CLASSES, ft->tclass - 1, ":");
/external/selinux/libsepol/tests/
H A Dtest-common.c71 CU_ASSERT(p->sym_val_to_name[SYM_CLASSES][d->s.value - 1] == (char *)key);
/external/selinux/checkpolicy/
H A Dpolicy_define.c170 ret = declare_symbol(SYM_CLASSES, id, datum, &value, &value);
341 if (!is_id_in_scope(SYM_CLASSES, id)) {
371 if (!is_id_in_scope(SYM_CLASSES, id)) {
403 if (!is_id_in_scope(SYM_CLASSES, id)) {
435 if (!is_id_in_scope(SYM_CLASSES, id)) {
467 if (!is_id_in_scope(SYM_CLASSES, id)) {
3416 if (!is_id_in_scope(SYM_CLASSES, id)) {
3558 if (!is_id_in_scope(SYM_CLASSES, id)) {
H A Dmodule_compiler.c768 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value,
/external/selinux/libsepol/cil/src/
H A Dcil_binary.c349 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value);

Completed in 213 milliseconds