Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dwrite.c109 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()
929 if ((p->policy_type != POLICY_KERN && in write_cons_helper()
931 (p->policy_type == POLICY_KERN && in write_cons_helper()
[all …]
Dpolicydb.c63 .type = POLICY_KERN,
70 .type = POLICY_KERN,
77 .type = POLICY_KERN,
84 .type = POLICY_KERN,
91 .type = POLICY_KERN,
98 .type = POLICY_KERN,
105 .type = POLICY_KERN,
112 .type = POLICY_KERN,
119 .type = POLICY_KERN,
126 .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.c601 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()
Dservices.c220 if (policydb->policy_type == POLICY_KERN && in get_name_list()
Dexpand.c2951 state.out->policy_type = POLICY_KERN; in expand_module()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h488 #define POLICY_KERN SEPOL_POLICY_KERN macro
749 (((p)->policy_type == POLICY_KERN \
751 ((p)->policy_type != POLICY_KERN \
/external/selinux/checkpolicy/
Dcheckpolicy.c627 policydb.policy_type = POLICY_KERN; in main()
/external/selinux/libsepol/cil/src/
Dcil_binary.c3899 pdb->policy_type = POLICY_KERN; in __cil_policydb_create()