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

  /external/libsepol/tests/
test-linker-roles.c 82 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
92 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
113 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
123 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
136 test_sym_presence(base, "g_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2);
148 test_sym_presence(base, "g_b_role_3", SYM_ROLES, SCOPE_DECL, decls, 3);
160 test_sym_presence(base, "o1_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2);
172 test_sym_presence(base, "g_b_role_4", SYM_ROLES, SCOPE_DECL, decls, 2);
184 test_sym_presence(base, "o3_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 2);
197 test_sym_presence(base, "o4_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 3)
    [all...]
test-common.c 81 CU_ASSERT(p->sym_val_to_name[SYM_ROLES][d->s.value - 1] == (char *)key);
218 printf("\nrole %s has %d types, %d expected\n", p->sym_val_to_name[SYM_ROLES][role->s.value - 1], found, len);
  /external/libsepol/include/sepol/policydb/
policydb.h 335 #define SYM_ROLES 2
371 #define p_roles_scope scope[SYM_ROLES]
465 #define p_roles symtab[SYM_ROLES]
476 #define p_role_val_to_name sym_val_to_name[SYM_ROLES]
  /external/libsepol/src/
link.c 380 state->cur->map[SYM_ROLES][role->s.value - 1] = base_role->s.value;
749 bounds_val = state->cur->map[SYM_ROLES][role->bounds - 1];
973 assert(mod->map[SYM_ROLES][i]);
975 (&tmp, mod->map[SYM_ROLES][i] - 1, 1)) {
1069 assert(mod->map[SYM_ROLES][i]);
1071 (&e_tmp, mod->map[SYM_ROLES][i] - 1, 1)) {
1088 assert(mod->map[SYM_ROLES][i]);
1090 (&e_tmp, mod->map[SYM_ROLES][i] - 1, 1)) {
    [all...]
policydb.c 625 rc = symtab_insert(p, SYM_ROLES, key, role,
1010 for (i = SYM_ROLES; i < SYM_NUM; i++) {
    [all...]
expand.c 514 if (!is_id_enabled((char *)key, state->base, SYM_ROLES))
754 if (!is_id_enabled(id, state->base, SYM_ROLES)) {
    [all...]
write.c     [all...]
  /external/checkpolicy/test/
dismod.c 204 display_id(p, fp, SYM_ROLES, i, "");
352 display_id(p, fp, SYM_ROLES, j, "");
469 display_id(p, fp, SYM_ROLES, tr->new_role - 1, "");
506 display_id(&policydb, fp, SYM_ROLES, role->s.value - 1, "");
dispol.c 350 display_id(p, fp, SYM_ROLES, rt->role - 1, "");
353 display_id(p, fp, SYM_ROLES, rt->new_role - 1, "");
  /external/checkpolicy/
policy_define.c     [all...]
module_compiler.c 222 declare_symbol(SYM_ROLES, id, (hashtab_datum_t *) role, &value,
886 require_symbol(SYM_ROLES, id, (hashtab_datum_t *) role,
    [all...]

Completed in 46 milliseconds