Home
last modified time | relevance | path

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

/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.c310 .type = POLICY_MOD,
317 .type = POLICY_MOD,
324 .type = POLICY_MOD,
331 .type = POLICY_MOD,
338 .type = POLICY_MOD,
345 .type = POLICY_MOD,
352 .type = POLICY_MOD,
359 .type = POLICY_MOD,
366 .type = POLICY_MOD,
373 .type = POLICY_MOD,
[all …]
Dwrite.c1250 && p->policy_type == POLICY_MOD) in user_write()
1259 && p->policy_type == POLICY_MOD) in user_write()
2101 p->policy_type == POLICY_MOD)) { in policydb_write()
2152 if (p->policy_type == POLICY_MOD) { in policydb_write()
2177 p->policy_type == POLICY_MOD)) { in policydb_write()
Dmodule.c781 } else if (*type != POLICY_MOD) { in sepol_module_package_info()
Dlink.c2565 if (mods[i]->policy_type != POLICY_MOD) { in link_modules()
/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()
243 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/checkpolicy/
Dcheckmodule.c196 policy_type = POLICY_MOD; in main()
Dmodule_compiler.c87 if (policydbp->policy_type != POLICY_MOD) { in define_policy()
111 if (policydbp->policy_type == POLICY_MOD) { in define_policy()
/external/selinux/checkpolicy/test/
Ddismod.c802 if (module.policy_type != POLICY_MOD) { in link_module()
889 policydb.policy_type != POLICY_MOD) { in main()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h508 #define POLICY_MOD SEPOL_POLICY_MOD macro