Searched refs:POLICY_BASE (Results 1 – 16 of 16) sorted by relevance
/external/selinux/checkpolicy/ |
D | checkmodule.c | 49 unsigned int policy_type = POLICY_BASE; 216 if (handle_unknown && (policy_type != POLICY_BASE)) { in main() 221 if (binary && (policy_type != POLICY_BASE)) { in main() 262 if (policy_type != POLICY_BASE && outfile) { in main() 281 if (modpolicydb.policy_type == POLICY_BASE && !cil) { in main()
|
D | module_compiler.c | 845 if (policydbp->policy_type == POLICY_BASE) { in require_class() 1428 if (policydbp->policy_type == POLICY_BASE in end_avrule_block()
|
D | checkpolicy.c | 585 parse_policy.policy_type = POLICY_BASE; in main()
|
/external/selinux/libsepol/tests/ |
D | test-linker.c | 63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init() 66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init()
|
D | test-deps.c | 98 if (test_load_policy(&bases_met[i], POLICY_BASE, mls, "test-deps", "base-metreq.conf")) in deps_test_init() 103 if (test_load_policy(&bases_notmet[i], POLICY_BASE, mls, "test-deps", "base-notmetreq.conf")) in deps_test_init()
|
D | test-cond.c | 41 if (test_load_policy(&basemod, POLICY_BASE, 1, "test-cond", "refpolicy-base.conf")) in cond_test_init()
|
D | test-expander.c | 98 mybase->policy_type = POLICY_BASE; in expander_policy_init()
|
/external/selinux/libsepol/src/ |
D | policydb_public.c | 105 case POLICY_BASE: in sepol_policydb_set_typevers() 124 case POLICY_BASE: in sepol_policydb_set_vers()
|
D | policydb.c | 197 .type = POLICY_BASE, 204 .type = POLICY_BASE, 211 .type = POLICY_BASE, 218 .type = POLICY_BASE, 225 .type = POLICY_BASE, 232 .type = POLICY_BASE, 239 .type = POLICY_BASE, 246 .type = POLICY_BASE, 253 .type = POLICY_BASE, 260 .type = POLICY_BASE, [all …]
|
D | write.c | 843 && p->policy_type == POLICY_BASE)) in context_write() 1016 || (p->policy_type == POLICY_BASE in class_write() 1033 (p->policy_type == POLICY_BASE && in class_write() 1045 (p->policy_type == POLICY_BASE && in class_write() 1253 && p->policy_type == POLICY_BASE)) { in user_write() 1261 && p->policy_type == POLICY_BASE)) { in user_write() 2099 p->policy_type == POLICY_BASE) || in policydb_write() 2175 p->policy_type == POLICY_BASE) || in policydb_write() 2284 && p->policy_type == POLICY_BASE)) { in policydb_write()
|
D | module.c | 776 if (*type == POLICY_BASE) { in sepol_module_package_info()
|
D | link.c | 2551 if (b->policy_type != POLICY_BASE) { in link_modules()
|
D | expand.c | 2995 if (base->policy_type != POLICY_BASE) { in expand_module()
|
D | module_to_cil.c | 3994 if (pdb->policy_type == POLICY_BASE) { in fix_module_name()
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 778 if (base->policy_type != POLICY_BASE) { in link_module() 888 if (policydb.policy_type != POLICY_BASE && in main() 905 if (policydb.policy_type == POLICY_BASE) { in main()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 507 #define POLICY_BASE SEPOL_POLICY_BASE macro
|