Home
last modified time | relevance | path

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

/external/selinux/libsepol/tests/
Dtest-deps.c162 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_global()
242 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()
/external/selinux/libsepol/src/
Dpolicydb_public.c106 case POLICY_MOD: in sepol_policydb_set_typevers()
125 case POLICY_MOD: in sepol_policydb_set_vers()
Dpolicydb.c287 .type = POLICY_MOD,
294 .type = POLICY_MOD,
301 .type = POLICY_MOD,
308 .type = POLICY_MOD,
315 .type = POLICY_MOD,
322 .type = POLICY_MOD,
329 .type = POLICY_MOD,
336 .type = POLICY_MOD,
343 .type = POLICY_MOD,
350 .type = POLICY_MOD,
[all …]
Dwrite.c1217 && p->policy_type == POLICY_MOD) in user_write()
1226 && p->policy_type == POLICY_MOD) in user_write()
1968 p->policy_type == POLICY_MOD)) { in policydb_write()
2019 if (p->policy_type == POLICY_MOD) { in policydb_write()
2044 p->policy_type == POLICY_MOD)) { in policydb_write()
Dmodule.c780 } else if (*type != POLICY_MOD) { in sepol_module_package_info()
Dlink.c2556 if (mods[i]->policy_type != POLICY_MOD) { in link_modules()
/external/selinux/checkpolicy/
Dcheckmodule.c195 policy_type = POLICY_MOD; in main()
Dmodule_compiler.c59 if (policydbp->policy_type != POLICY_MOD) { in define_policy()
83 if (policydbp->policy_type == POLICY_MOD) { in define_policy()
/external/selinux/checkpolicy/test/
Ddismod.c777 if (module.policy_type != POLICY_MOD) { in link_module()
864 policydb.policy_type != POLICY_MOD) { in main()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h490 #define POLICY_MOD SEPOL_POLICY_MOD macro