Home
last modified time | relevance | path

Searched refs:SCOPE_DECL (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/tests/
Dtest-linker-types.c137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
155 test_sym_presence(base, "g_b_alias_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
158 test_sym_presence(base, "g_b_alias_2", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
181 test_sym_presence(base, "g_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
184 test_sym_presence(base, "g_m1_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
191 test_sym_presence(base, "o1_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
194 test_sym_presence(base, "o1_m1_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
[all …]
Dtest-linker-roles.c82 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
92 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
113 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
123 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
136 test_sym_presence(base, "g_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
148 test_sym_presence(base, "g_b_role_3", SYM_ROLES, SCOPE_DECL, decls, 3); in module_role_tests()
160 test_sym_presence(base, "o1_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
172 test_sym_presence(base, "g_b_role_4", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
184 test_sym_presence(base, "o3_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
197 test_sym_presence(base, "o4_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 3); in module_role_tests()
Dtest-linker-cond-map.c99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
147 test_sym_presence(base, "g_m2_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
148 test_sym_presence(base, "g_m2_bool_2", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
Dhelpers.c73 if (scope->scope != SCOPE_DECL) { in test_find_decl_by_sym()
/external/selinux/libsepol/src/
Davrule_block.c161 if (scope->scope != SCOPE_DECL) { in is_id_enabled()
Dlink.c269 if (scope->scope == SCOPE_DECL) { in class_copy_callback()
652 if (scope->scope == SCOPE_DECL) { in bool_copy_callback()
683 if (scope->scope == SCOPE_DECL) { in sens_copy_callback()
724 if (scope->scope == SCOPE_DECL) { in cat_copy_callback()
1865 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) { in scope_copy_callback()
1868 base_scope->scope = SCOPE_DECL; in scope_copy_callback()
1879 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) { in scope_copy_callback()
Dmodule_to_cil.c2022 if (scope == SCOPE_DECL) { in role_to_cil()
2080 if (scope == SCOPE_DECL) { in role_to_cil()
2145 if (scope == SCOPE_DECL) { in type_to_cil()
2161 if (scope == SCOPE_DECL) { in type_to_cil()
2194 if (scope == SCOPE_DECL) { in user_to_cil()
2243 if (scope == SCOPE_DECL) { in boolean_to_cil()
2260 if (scope == SCOPE_DECL) { in sens_to_cil()
Dpolicydb.c706 POLICY_MOD ? SCOPE_REQ : SCOPE_DECL), 1, in roles_init()
1536 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) { in symtab_insert()
1560 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) { in symtab_insert()
1561 scope_datum->scope = SCOPE_DECL; in symtab_insert()
/external/selinux/policycoreutils/semodule_deps/
Dsemodule_deps.c181 assert(scope->scope == SCOPE_DECL); in generate_requires()
/external/selinux/libsepol/cil/src/
Dcil_binary.c252 rc = symtab_insert(pdb, SYM_COMMONS, key, sepol_common, SCOPE_DECL, 0, &value); in cil_common_to_policydb()
305 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); in cil_classorder_to_policydb()
382 rc = symtab_insert(pdb, SYM_ROLES, (hashtab_key_t)key, sepol_role, SCOPE_DECL, 0, &value); in cil_role_to_policydb()
468 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_type, SCOPE_DECL, 0, &value); in cil_type_to_policydb()
523 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_alias, SCOPE_DECL, 0, NULL); in cil_typealias_to_policydb()
577 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_attr, SCOPE_DECL, 0, &value); in cil_typeattribute_to_policydb()
690 rc = symtab_insert(pdb, SYM_USERS, key, sepol_user, SCOPE_DECL, 0, &value); in cil_user_to_policydb()
775 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
805 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value); in cil_catorder_to_policydb()
833 rc = symtab_insert(pdb, SYM_CATS, key, sepol_alias, SCOPE_DECL, 0, NULL); in cil_catalias_to_policydb()
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h474 #define SCOPE_DECL 2 macro
/external/selinux/checkpolicy/
Dmodule_compiler.c139 SCOPE_DECL, decl->decl_id, dest_value); in declare_symbol()