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 …]
Dpolicydb_validate.c628 …if (p->mls && p->policy_type != POLICY_MOD && validate_mls_range(&user->exp_range, &flavors[SYM_LE… in validate_user_datum()
630 …if (p->mls && p->policy_type != POLICY_MOD && validate_mls_level(&user->exp_dfltlevel, &flavors[SY… in validate_user_datum()
1440 case POLICY_MOD: in validate_properties()
Dwrite.c1324 && p->policy_type == POLICY_MOD) in user_write()
1333 && p->policy_type == POLICY_MOD) in user_write()
2221 p->policy_type == POLICY_MOD)) { in policydb_write()
2272 if (p->policy_type == POLICY_MOD) { in policydb_write()
2297 p->policy_type == POLICY_MOD)) { in policydb_write()
Dmodule.c784 } else if (*type != POLICY_MOD) { in sepol_module_package_info()
Dlink.c2490 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