Searched refs:POLICY_BASE (Results 1 – 18 of 18) sorted by relevance
/third_party/selinux/checkpolicy/ |
D | checkmodule.c | 46 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()
|
D | module_compiler.c | 847 if (policydbp->policy_type == POLICY_BASE) { in require_class() 1438 if (policydbp->policy_type == POLICY_BASE in end_avrule_block()
|
D | checkpolicy.c | 607 parse_policy.policy_type = POLICY_BASE; in main()
|
/third_party/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 | 100 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()
|
D | test-cond.c | 41 if (test_load_policy(&basemod, POLICY_BASE, 1, "test-cond", "refpolicy-base.conf")) in cond_test_init()
|
D | test-neverallow.c | 132 if (test_load_policy(&basemod, POLICY_BASE, mls, "test-neverallow", "policy.conf")) in test_neverallow_basic()
|
D | test-expander.c | 98 mybase->policy_type = POLICY_BASE; in expander_policy_init()
|
/third_party/selinux/libsepol/src/ |
D | policydb_public.c | 104 case POLICY_BASE: in sepol_policydb_set_typevers() 123 case POLICY_BASE: in sepol_policydb_set_vers()
|
D | policydb.c | 212 .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 …]
|
D | write.c | 50 (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()
|
D | module.c | 779 if (*type == POLICY_BASE) { in sepol_module_package_info()
|
D | policydb_validate.c | 1439 case POLICY_BASE: in validate_properties()
|
D | link.c | 2476 if (b->policy_type != POLICY_BASE) { in link_modules()
|
D | expand.c | 2987 if (base->policy_type != POLICY_BASE) { in expand_module()
|
D | module_to_cil.c | 3981 if (pdb->policy_type == POLICY_BASE) { in fix_module_name()
|
/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 779 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/ |
D | policydb.h | 510 #define POLICY_BASE SEPOL_POLICY_BASE macro
|