/external/selinux/libsepol/tests/ |
H A D | test-linker-types.c | 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); 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); 155 test_sym_presence(base, "g_b_alias_1", SYM_TYPES, SCOPE_DECL, decls, 1); 158 test_sym_presence(base, "g_b_alias_2", SYM_TYPES, SCOPE_DECL, decls, 1); 181 test_sym_presence(base, "g_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); 184 test_sym_presence(base, "g_m1_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); 191 test_sym_presence(base, "o1_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); 194 test_sym_presence(base, "o1_m1_attr_1", SYM_TYPES, SCOPE_DECL, decl [all...] |
H A D | 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, decl [all...] |
H A D | test-linker-cond-map.c | 99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); 109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); 127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); 137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); 147 test_sym_presence(base, "g_m2_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); 148 test_sym_presence(base, "g_m2_bool_2", SYM_BOOLS, SCOPE_DECL, decls, 1);
|
H A D | helpers.c | 73 if (scope->scope != SCOPE_DECL) {
|
/external/selinux/libsepol/src/ |
H A D | avrule_block.c | 150 * marked as SCOPE_DECL, and any of its declaring block has been enabled, 161 if (scope->scope != SCOPE_DECL) {
|
H A D | link.c | 269 if (scope->scope == SCOPE_DECL) { 652 if (scope->scope == SCOPE_DECL) { 683 if (scope->scope == SCOPE_DECL) { 724 if (scope->scope == SCOPE_DECL) { 1865 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) { 1868 base_scope->scope = SCOPE_DECL; 1879 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) {
|
H A D | module_to_cil.c | 2022 if (scope == SCOPE_DECL) { 2070 if (scope == SCOPE_DECL) { 2133 if (scope == SCOPE_DECL) { 2149 if (scope == SCOPE_DECL) { 2182 if (scope == SCOPE_DECL) { 2231 if (scope == SCOPE_DECL) { 2248 if (scope == SCOPE_DECL) {
|
H A D | policydb.c | 685 * otherwise set it to SCOPE_DECL. 706 POLICY_MOD ? SCOPE_REQ : SCOPE_DECL), 1, 1475 * scope scope of this symbol, either SCOPE_REQ or SCOPE_DECL 1536 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) { 1560 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) { 1561 scope_datum->scope = SCOPE_DECL;
|
/external/selinux/policycoreutils/semodule_deps/ |
H A D | semodule_deps.c | 181 assert(scope->scope == SCOPE_DECL);
|
/external/selinux/libsepol/cil/src/ |
H A D | cil_binary.c | 296 rc = symtab_insert(pdb, SYM_COMMONS, key, sepol_common, SCOPE_DECL, 0, &value); 349 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); 418 rc = symtab_insert(pdb, SYM_ROLES, (hashtab_key_t)key, sepol_role, SCOPE_DECL, 0, &value); 504 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_type, SCOPE_DECL, 0, &value); 557 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_alias, SCOPE_DECL, 0, NULL); 611 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_attr, SCOPE_DECL, 0, &value); 714 rc = symtab_insert(pdb, SYM_USERS, key, sepol_user, SCOPE_DECL, 0, &value); 801 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); 831 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value); 859 rc = symtab_insert(pdb, SYM_CATS, key, sepol_alias, SCOPE_DECL, [all...] |
/external/selinux/libsepol/include/sepol/policydb/ |
H A D | policydb.h | 471 #define SCOPE_DECL 2 macro 476 * this symbol. If scope==SCOPE_DECL then this is a list of
|
/external/selinux/checkpolicy/ |
H A D | module_compiler.c | 139 SCOPE_DECL, decl->decl_id, dest_value);
|