Home
last modified time | relevance | path

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

/third_party/selinux/checkpolicy/
Dcheckmodule.c46 unsigned int policy_type = POLICY_BASE;
242 if (handle_unknown && (policy_type != POLICY_BASE)) { in main()
247 if (binary && (policy_type != POLICY_BASE)) { in main()
287 if (policy_type != POLICY_BASE && outfile) { in main()
308 if (modpolicydb.policy_type == POLICY_BASE && !cil) { in main()
Dmodule_compiler.c847 if (policydbp->policy_type == POLICY_BASE) { in require_class()
1438 if (policydbp->policy_type == POLICY_BASE in end_avrule_block()
Dcheckpolicy.c607 parse_policy.policy_type = POLICY_BASE; in main()
/third_party/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.c100 if (test_load_policy(&bases_met[i], POLICY_BASE, mls, "test-deps", "base-metreq.conf")) in deps_test_init()
105 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-neverallow.c132 if (test_load_policy(&basemod, POLICY_BASE, mls, "test-neverallow", "policy.conf")) in test_neverallow_basic()
Dtest-expander.c98 mybase->policy_type = POLICY_BASE; in expander_policy_init()
/third_party/selinux/libsepol/src/
Dpolicydb_public.c104 case POLICY_BASE: in sepol_policydb_set_typevers()
123 case POLICY_BASE: in sepol_policydb_set_vers()
Dpolicydb.c212 .type = POLICY_BASE,
219 .type = POLICY_BASE,
226 .type = POLICY_BASE,
233 .type = POLICY_BASE,
240 .type = POLICY_BASE,
247 .type = POLICY_BASE,
254 .type = POLICY_BASE,
261 .type = POLICY_BASE,
268 .type = POLICY_BASE,
275 .type = POLICY_BASE,
[all …]
Dwrite.c50 (p->policy_type == POLICY_BASE && \
908 && p->policy_type == POLICY_BASE)) in context_write()
1081 || (p->policy_type == POLICY_BASE in class_write()
1098 (p->policy_type == POLICY_BASE && in class_write()
1119 (p->policy_type == POLICY_BASE && in class_write()
1327 && p->policy_type == POLICY_BASE)) { in user_write()
1335 && p->policy_type == POLICY_BASE)) { in user_write()
2219 p->policy_type == POLICY_BASE) || in policydb_write()
2295 p->policy_type == POLICY_BASE) || in policydb_write()
2402 && p->policy_type == POLICY_BASE)) { in policydb_write()
Dmodule.c779 if (*type == POLICY_BASE) { in sepol_module_package_info()
Dpolicydb_validate.c1439 case POLICY_BASE: in validate_properties()
Dlink.c2476 if (b->policy_type != POLICY_BASE) { in link_modules()
Dexpand.c2987 if (base->policy_type != POLICY_BASE) { in expand_module()
Dmodule_to_cil.c3981 if (pdb->policy_type == POLICY_BASE) { in fix_module_name()
/third_party/selinux/checkpolicy/test/
Ddismod.c779 if (base->policy_type != POLICY_BASE) { in link_module()
887 if (policydb.policy_type != POLICY_BASE && in main()
904 if (policydb.policy_type == POLICY_BASE) { in main()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h510 #define POLICY_BASE SEPOL_POLICY_BASE macro