Home
last modified time | relevance | path

Searched refs:POLICY_MOD (Results 1 – 13 of 13) sorted by relevance

/third_party/selinux/libsepol/src/
Dpolicydb_public.c105 case POLICY_MOD: in sepol_policydb_set_typevers()
124 case POLICY_MOD: in sepol_policydb_set_vers()
Dpolicydb.c338 .type = POLICY_MOD,
345 .type = POLICY_MOD,
352 .type = POLICY_MOD,
359 .type = POLICY_MOD,
366 .type = POLICY_MOD,
373 .type = POLICY_MOD,
380 .type = POLICY_MOD,
387 .type = POLICY_MOD,
394 .type = POLICY_MOD,
401 .type = POLICY_MOD,
[all …]
Dwrite.c1322 && p->policy_type == POLICY_MOD) in user_write()
1331 && p->policy_type == POLICY_MOD) in user_write()
2219 p->policy_type == POLICY_MOD)) { in policydb_write()
2270 if (p->policy_type == POLICY_MOD) { in policydb_write()
2295 p->policy_type == POLICY_MOD)) { in policydb_write()
Dmodule.c784 } else if (*type != POLICY_MOD) { in sepol_module_package_info()
Dpolicydb_validate.c1281 case POLICY_MOD: in validate_properties()
Dlink.c2536 if (mods[i]->policy_type != POLICY_MOD) { in link_modules()
/third_party/selinux/libsepol/tests/
Dtest-deps.c164 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_global()
245 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_opt()
Dtest-linker.c77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i])) in linker_test_init()
Dtest-expander.c107 mymodules[i - 1]->policy_type = POLICY_MOD; in expander_policy_init()
/third_party/selinux/checkpolicy/
Dcheckmodule.c200 policy_type = POLICY_MOD; in main()
Dmodule_compiler.c87 if (policydbp->policy_type != POLICY_MOD) { in define_policy()
112 if (policydbp->policy_type == POLICY_MOD) { in define_policy()
/third_party/selinux/checkpolicy/test/
Ddismod.c803 if (module.policy_type != POLICY_MOD) { in link_module()
888 policydb.policy_type != POLICY_MOD) { in main()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h511 #define POLICY_MOD SEPOL_POLICY_MOD macro