HomeSort by relevance Sort by last modified time
    Searched refs:SYM_TYPES (Results 1 - 15 of 15) sorted by null

  /external/selinux/libsepol/tests/
test-linker-types.c 136 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id;
146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
154 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
155 test_sym_presence(base, "g_b_alias_1", SYM_TYPES, SCOPE_DECL, decls, 1);
157 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o6_b"))->decl_id;
158 test_sym_presence(base, "g_b_alias_2", SYM_TYPES, SCOPE_DECL, decls, 1)
    [all...]
test-linker-roles.c 81 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
90 decl = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b");
112 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
121 decl = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1");
134 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
144 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
145 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
146 decls[2] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2"))->decl_id;
157 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id;
158 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id
    [all...]
test-linker-cond-map.c 97 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b");
107 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b");
125 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1");
135 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1");
145 d = test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2");
test-common.c 94 CU_ASSERT(p->sym_val_to_name[SYM_TYPES][d->s.value - 1] == (char *)key);
204 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) {
210 printf("\nRole %s had type %s not in types array\n", id, p->sym_val_to_name[SYM_TYPES][i]);
247 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) {
253 printf("\nattr %s had type %s not in types array\n", id, p->sym_val_to_name[SYM_TYPES][i]);
test-deps.c 174 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type);
254 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type);
  /external/selinux/checkpolicy/test/
dispol.c 313 display_id(p, fp, SYM_TYPES, i - 1, "");
326 display_id(p, fp, SYM_TYPES, rt->type - 1, "");
348 display_id(p, fp, SYM_TYPES, ft->stype - 1, "");
349 display_id(p, fp, SYM_TYPES, ft->ttype - 1, "");
351 display_id(p, fp, SYM_TYPES, ftdatum->otype - 1, "");
dismod.c 159 display_id(policy, fp, SYM_TYPES, i, "");
166 display_id(policy, fp, SYM_TYPES, i, "-");
291 display_id(policy, fp, SYM_TYPES, avrule->perms->data - 1, "");
327 display_id(&policydb, fp, SYM_TYPES, type->s.value - 1, "");
346 display_id(&policydb, fp, SYM_TYPES, i, "");
352 display_id(&policydb, fp, SYM_TYPES, type->s.value - 1, "");
516 display_id(p, fp, SYM_TYPES, tr->otype - 1, "");
  /external/selinux/libsepol/include/sepol/policydb/
policydb.h 393 #define SYM_TYPES 3
431 #define p_types_scope scope[SYM_TYPES]
525 #define p_types symtab[SYM_TYPES]
536 #define p_type_val_to_name sym_val_to_name[SYM_TYPES]
  /external/selinux/libsepol/src/
link.c 521 state->cur->map[SYM_TYPES][type->s.value - 1] = base_type->s.value;
771 bounds_val = state->cur->map[SYM_TYPES][type->bounds - 1];
927 mod->map[SYM_TYPES][primval - 1]);
928 assert(mod->map[SYM_TYPES][type->s.value - 1] ==
946 mod->map[SYM_TYPES][type->s.value - 1] = base_type->primary;
967 assert(mod->map[SYM_TYPES][i]);
969 (&dst->types, mod->map[SYM_TYPES][i] - 1, 1)) {
976 assert(mod->map[SYM_TYPES][i]);
978 (&dst->negset, mod->map[SYM_TYPES][i] - 1, 1)) {
    [all...]
expand.c 93 if (!is_id_enabled(id, state->base, SYM_TYPES)) {
161 if (!is_id_enabled(id, state->base, SYM_TYPES)) {
541 if (!is_id_enabled((char *)key, state->base, SYM_TYPES))
652 state->base, SYM_TYPES)) {
    [all...]
module_to_cil.c 330 scope = hashtab_search(pdb->scope[SYM_TYPES].table, key);
    [all...]
write.c     [all...]
  /external/selinux/checkpolicy/
module_compiler.c 58 [SYM_TYPES] = "type",
419 ret = declare_symbol(SYM_TYPES, id, datum, &value, &value);
421 ret = require_symbol(SYM_TYPES, id, datum, &value, &value);
430 *type = hashtab_search(policydbp->symtab[SYM_TYPES].table, id);
439 print_error_msg(ret, SYM_TYPES);
    [all...]
policy_define.c 224 if (!is_id_in_scope(SYM_TYPES, type)) {
1169 if (!is_id_in_scope(SYM_TYPES, id)) {
1210 policydbp->sym_val_to_name[SYM_TYPES][i]);
1248 ret = declare_symbol(SYM_TYPES, id, aliasdatum,
1271 aliasdatum = hashtab_search(policydbp->symtab[SYM_TYPES].table, id);
1309 if (!is_id_in_scope(SYM_TYPES, id)) {
1342 if (!is_id_in_scope(SYM_TYPES, id)) {
1356 if (!is_id_in_scope(SYM_TYPES, id)) {
1393 if (!is_id_in_scope(SYM_TYPES, bounds_id)) {
1404 if (!is_id_in_scope(SYM_TYPES, type_id))
    [all...]
  /external/selinux/libsepol/cil/src/
cil_binary.c 471 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_type, SCOPE_DECL, 0, &value);
526 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_alias, SCOPE_DECL, 0, NULL);
580 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_attr, SCOPE_DECL, 0, &value);
    [all...]

Completed in 148 milliseconds