/external/selinux/checkpolicy/ |
D | checkmodule.c | 48 unsigned int policy_type = POLICY_BASE; variable 116 p->policy_type = policy_type; in write_binary_policy() 195 policy_type = POLICY_MOD; in main() 215 if (handle_unknown && (policy_type != POLICY_BASE)) { in main() 220 if (binary && (policy_type != POLICY_BASE)) { in main() 248 modpolicydb.policy_type = policy_type; in main() 261 if (modpolicydb.policy_type == POLICY_BASE && !cil) { in main()
|
D | module_compiler.c | 59 if (policydbp->policy_type != POLICY_MOD) { in define_policy() 83 if (policydbp->policy_type == POLICY_MOD) { in define_policy() 826 if (policydbp->policy_type == POLICY_BASE) { in require_class() 1548 if (policydbp->policy_type == POLICY_BASE in end_avrule_block()
|
D | checkpolicy.c | 574 parse_policy.policy_type = POLICY_BASE; in main() 627 policydb.policy_type = POLICY_KERN; in main()
|
/external/selinux/libsepol/src/ |
D | write.c | 109 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write_item() 281 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write() 504 int new_roletr = (p->policy_type == POLICY_KERN && in role_trans_write() 659 if (p->policy_type != POLICY_KERN && in cond_write_bool() 686 unsigned int oldvers = (p->policy_type == POLICY_KERN in cond_write_av_list() 761 if (p->policy_type == POLICY_KERN) { in cond_write_node() 773 if (p->policy_type != POLICY_KERN && in cond_write_node() 824 && p->policy_type == POLICY_KERN) in context_write() 826 && p->policy_type == POLICY_BASE)) in context_write() 929 if ((p->policy_type != POLICY_KERN && in write_cons_helper() [all …]
|
D | policydb.c | 705 (p->policy_type == in roles_init() 816 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) { in policydb_user_cache() 1870 if ((p->policy_type == POLICY_KERN in context_read_and_validate() 1872 || (p->policy_type == POLICY_BASE in context_read_and_validate() 2056 if (p->policy_type != POLICY_KERN && in read_cons_helper() 2059 else if (p->policy_type == POLICY_KERN && in read_cons_helper() 2137 if ((p->policy_type == POLICY_KERN in class_read() 2139 || (p->policy_type == POLICY_BASE in class_read() 2150 if ((p->policy_type == POLICY_KERN && in class_read() 2152 (p->policy_type == POLICY_BASE && in class_read() [all …]
|
D | policydb_public.c | 112 p->policy_type = type; in sepol_policydb_set_typevers() 119 switch (p->policy_type) { in sepol_policydb_set_vers()
|
D | conditional.c | 601 if (p->policy_type != POLICY_KERN && in cond_read_bool() 810 if (p->policy_type == POLICY_KERN) { in cond_read_node() 823 if (p->policy_type != POLICY_KERN && in cond_read_node()
|
D | module_to_cil.c | 2052 if ((is_base_role && pdb->policy_type == SEPOL_POLICY_BASE) || in role_to_cil() 3798 if (pdb->policy_type == POLICY_BASE) { in fix_module_name() 3833 if (pdb->policy_type != SEPOL_POLICY_BASE && in sepol_module_policydb_to_cil() 3834 pdb->policy_type != SEPOL_POLICY_MOD) { in sepol_module_policydb_to_cil() 3845 if (pdb->policy_type == SEPOL_POLICY_BASE && !pdb->mls) { in sepol_module_policydb_to_cil() 3856 if (pdb->policy_type == SEPOL_POLICY_BASE) { in sepol_module_policydb_to_cil()
|
D | module.c | 900 && (p->policy->p.policy_type != SEPOL_POLICY_BASE)) { in sepol_module_package_write()
|
D | services.c | 142 if (mypolicydb.policy_type) in sepol_set_policydb_from_file() 220 if (policydb->policy_type == POLICY_KERN && in get_name_list()
|
D | link.c | 2542 if (b->policy_type != POLICY_BASE) { in link_modules() 2556 if (mods[i]->policy_type != POLICY_MOD) { in link_modules()
|
D | expand.c | 2946 if (base->policy_type != POLICY_BASE) { in expand_module() 2951 state.out->policy_type = POLICY_KERN; in expand_module()
|
/external/selinux/libsepol/tests/ |
D | helpers.c | 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *p… in test_load_policy() argument 54 p->policy_type = policy_type; in test_load_policy()
|
D | test-expander.c | 98 mybase->policy_type = POLICY_BASE; in expander_policy_init() 107 mymodules[i - 1]->policy_type = POLICY_MOD; in expander_policy_init()
|
D | helpers.h | 48 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const …
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 276 char *policy_type = strrchr(path, '/'); in selinux_set_policy_root() local 277 if (!policy_type) { in selinux_set_policy_root() 281 policy_type++; in selinux_set_policy_root() 290 if (setpolicytype(policy_type) != 0) in selinux_set_policy_root()
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 753 if (base->policy_type != POLICY_BASE) { in link_module() 777 if (module.policy_type != POLICY_MOD) { in link_module() 863 if (policydb.policy_type != POLICY_BASE && in main() 864 policydb.policy_type != POLICY_MOD) { in main() 880 if (policydb.policy_type == POLICY_BASE) { in main()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 491 uint32_t policy_type; member 749 (((p)->policy_type == POLICY_KERN \ 751 ((p)->policy_type != POLICY_KERN \
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/elb/ |
D | loadbalancer.py | 372 def create_lb_policy(self, policy_name, policy_type, policy_attribute): argument 374 self.name, policy_name, policy_type, policy_attribute)
|
D | __init__.py | 639 def create_lb_policy(self, lb_name, policy_name, policy_type, argument 650 'PolicyTypeName': policy_type}
|
/external/autotest/client/common_lib/cros/ |
D | policy.py | 102 data_proto.policy_type = ownership.POLICY_TYPE
|
/external/selinux/policycoreutils/gui/ |
D | modulesPage.py | 74 status, self.policy_type = selinux.selinux_getpolicytype()
|
/external/autotest/client/cros/ |
D | ownership.py | 141 data_proto.policy_type != POLICY_TYPE or
|
/external/selinux/libsepol/ |
D | ChangeLog | 621 2) policydb_init no longer takes policy_type argument. 622 Caller must set policy_type separately. 625 4) policydb_write uses the policy_type and policyvers from the
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 3899 pdb->policy_type = POLICY_KERN; in __cil_policydb_create()
|