Home
last modified time | relevance | path

Searched refs:POLICY_BASE (Results 1 – 16 of 16) sorted by relevance

/external/selinux/checkpolicy/
Dcheckmodule.c49 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()
Dmodule_compiler.c845 if (policydbp->policy_type == POLICY_BASE) { in require_class()
1428 if (policydbp->policy_type == POLICY_BASE in end_avrule_block()
Dcheckpolicy.c585 parse_policy.policy_type = POLICY_BASE; in main()
/external/selinux/libsepol/tests/
Dtest-linker.c63 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()
Dtest-deps.c98 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()
Dtest-cond.c41 if (test_load_policy(&basemod, POLICY_BASE, 1, "test-cond", "refpolicy-base.conf")) in cond_test_init()
Dtest-expander.c98 mybase->policy_type = POLICY_BASE; in expander_policy_init()
/external/selinux/libsepol/src/
Dpolicydb_public.c105 case POLICY_BASE: in sepol_policydb_set_typevers()
124 case POLICY_BASE: in sepol_policydb_set_vers()
Dpolicydb.c197 .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 …]
Dwrite.c843 && 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()
Dmodule.c776 if (*type == POLICY_BASE) { in sepol_module_package_info()
Dlink.c2551 if (b->policy_type != POLICY_BASE) { in link_modules()
Dexpand.c2995 if (base->policy_type != POLICY_BASE) { in expand_module()
Dmodule_to_cil.c3994 if (pdb->policy_type == POLICY_BASE) { in fix_module_name()
/external/selinux/checkpolicy/test/
Ddismod.c778 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/
Dpolicydb.h507 #define POLICY_BASE SEPOL_POLICY_BASE macro