Home
last modified time | relevance | path

Searched refs:POLICY_KERN (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/src/
Dwrite.c111 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write_item()
283 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write()
506 int new_roletr = (p->policy_type == POLICY_KERN && in role_trans_write()
676 if (p->policy_type != POLICY_KERN && in cond_write_bool()
703 unsigned int oldvers = (p->policy_type == POLICY_KERN in cond_write_av_list()
778 if (p->policy_type == POLICY_KERN) { in cond_write_node()
790 if (p->policy_type != POLICY_KERN && in cond_write_node()
841 && p->policy_type == POLICY_KERN) in context_write()
945 if ((p->policy_type != POLICY_KERN && in write_cons_helper()
947 (p->policy_type == POLICY_KERN && in write_cons_helper()
[all …]
Dpolicydb.c65 .type = POLICY_KERN,
72 .type = POLICY_KERN,
79 .type = POLICY_KERN,
86 .type = POLICY_KERN,
93 .type = POLICY_KERN,
100 .type = POLICY_KERN,
107 .type = POLICY_KERN,
114 .type = POLICY_KERN,
121 .type = POLICY_KERN,
128 .type = POLICY_KERN,
[all …]
Dpolicydb_public.c102 case POLICY_KERN: in sepol_policydb_set_typevers()
120 case POLICY_KERN: in sepol_policydb_set_vers()
Dconditional.c598 if (p->policy_type != POLICY_KERN && in cond_read_bool()
807 if (p->policy_type == POLICY_KERN) { in cond_read_node()
820 if (p->policy_type != POLICY_KERN && in cond_read_node()
Dservices.c221 if (policydb->policy_type == POLICY_KERN && in get_name_list()
Dexpand.c3006 state.out->policy_type = POLICY_KERN; in expand_module()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h506 #define POLICY_KERN SEPOL_POLICY_KERN macro
777 (((p)->policy_type == POLICY_KERN \
779 ((p)->policy_type != POLICY_KERN \
/external/selinux/checkpolicy/
Dcheckpolicy.c639 policydb.policy_type = POLICY_KERN; in main()
/external/selinux/libsepol/cil/src/
Dcil_binary.c4187 pdb->policy_type = POLICY_KERN; in __cil_policydb_create()