HomeSort by relevance Sort by last modified time
    Searched refs:policy_type (Results 1 - 24 of 24) sorted by null

  /external/selinux/libsepol/tests/
helpers.h 38 * policy_type Type of policy expected - POLICY_BASE or POLICY_MOD.
48 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name);
helpers.c 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name)
54 p->policy_type = policy_type;
test-expander.c 98 mybase->policy_type = POLICY_BASE;
107 mymodules[i - 1]->policy_type = POLICY_MOD;
  /external/selinux/checkpolicy/
checkmodule.c 48 unsigned int policy_type = POLICY_BASE; variable
116 p->policy_type = policy_type;
195 policy_type = POLICY_MOD;
215 if (handle_unknown && (policy_type != POLICY_BASE)) {
220 if (binary && (policy_type != POLICY_BASE)) {
248 modpolicydb.policy_type = policy_type;
261 if (modpolicydb.policy_type == POLICY_BASE && !cil) {
module_compiler.c 59 if (policydbp->policy_type != POLICY_MOD) {
83 if (policydbp->policy_type == POLICY_MOD) {
826 if (policydbp->policy_type == POLICY_BASE) {
    [all...]
checkpolicy.c 574 parse_policy.policy_type = POLICY_BASE;
627 policydb.policy_type = POLICY_KERN;
  /external/selinux/libsepol/src/
write.c 109 unsigned int oldvers = (p->policy_type == POLICY_KERN
281 unsigned int oldvers = (p->policy_type == POLICY_KERN
504 int new_roletr = (p->policy_type == POLICY_KERN &&
659 if (p->policy_type != POLICY_KERN &&
686 unsigned int oldvers = (p->policy_type == POLICY_KERN
761 if (p->policy_type == POLICY_KERN) {
773 if (p->policy_type != POLICY_KERN &&
824 && p->policy_type == POLICY_KERN)
826 && p->policy_type == POLICY_BASE))
929 if ((p->policy_type != POLICY_KERN &
    [all...]
policydb.c 705 (p->policy_type ==
816 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) {
3646 unsigned int policy_type, bufindex; local
    [all...]
policydb_public.c 112 p->policy_type = type;
119 switch (p->policy_type) {
conditional.c 601 if (p->policy_type != POLICY_KERN &&
810 if (p->policy_type == POLICY_KERN) {
823 if (p->policy_type != POLICY_KERN &&
module_to_cil.c     [all...]
services.c 142 if (mypolicydb.policy_type)
220 if (policydb->policy_type == POLICY_KERN &&
    [all...]
module.c 900 && (p->policy->p.policy_type != SEPOL_POLICY_BASE)) {
link.c     [all...]
expand.c     [all...]
  /external/selinux/libselinux/src/
selinux_config.c 276 char *policy_type = strrchr(path, '/'); local
277 if (!policy_type) {
281 policy_type++;
290 if (setpolicytype(policy_type) != 0)
  /external/autotest/client/common_lib/cros/
policy.py 102 data_proto.policy_type = ownership.POLICY_TYPE
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/elb/
loadbalancer.py 372 def create_lb_policy(self, policy_name, policy_type, policy_attribute):
374 self.name, policy_name, policy_type, policy_attribute)
__init__.py 639 def create_lb_policy(self, lb_name, policy_name, policy_type,
650 'PolicyTypeName': policy_type}
  /external/selinux/checkpolicy/test/
dismod.c 753 if (base->policy_type != POLICY_BASE) {
777 if (module.policy_type != POLICY_MOD) {
863 if (policydb.policy_type != POLICY_BASE &&
864 policydb.policy_type != POLICY_MOD) {
880 if (policydb.policy_type == POLICY_BASE) {
  /external/selinux/libsepol/include/sepol/policydb/
policydb.h 491 uint32_t policy_type; member in struct:policydb
749 (((p)->policy_type == POLICY_KERN \
751 ((p)->policy_type != POLICY_KERN \
  /external/selinux/policycoreutils/gui/
modulesPage.py 74 status, self.policy_type = selinux.selinux_getpolicytype()
  /external/autotest/client/cros/
ownership.py 121 POLICY_TYPE = 'google/chromeos/device'
140 if (not data_proto.HasField("policy_type") or
141 data_proto.policy_type != POLICY_TYPE or
  /external/selinux/libsepol/cil/src/
cil_binary.c     [all...]

Completed in 2124 milliseconds