Searched refs:POLICY_MOD (Results 1 – 13 of 13) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | policydb_public.c | 105 case POLICY_MOD: in sepol_policydb_set_typevers() 124 case POLICY_MOD: in sepol_policydb_set_vers()
|
D | policydb.c | 338 .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 …]
|
D | policydb_validate.c | 628 …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()
|
D | write.c | 1324 && 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()
|
D | module.c | 784 } else if (*type != POLICY_MOD) { in sepol_module_package_info()
|
D | link.c | 2490 if (mods[i]->policy_type != POLICY_MOD) { in link_modules()
|
/third_party/selinux/libsepol/tests/ |
D | test-deps.c | 164 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()
|
D | test-linker.c | 77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i])) in linker_test_init()
|
D | test-expander.c | 107 mymodules[i - 1]->policy_type = POLICY_MOD; in expander_policy_init()
|
/third_party/selinux/checkpolicy/ |
D | checkmodule.c | 200 policy_type = POLICY_MOD; in main()
|
D | module_compiler.c | 87 if (policydbp->policy_type != POLICY_MOD) { in define_policy() 112 if (policydbp->policy_type == POLICY_MOD) { in define_policy()
|
/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 803 if (module.policy_type != POLICY_MOD) { in link_module() 888 policydb.policy_type != POLICY_MOD) { in main()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 511 #define POLICY_MOD SEPOL_POLICY_MOD macro
|