Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dwrite.c48 #define glblub_version ((p->policy_type == POLICY_KERN && \
115 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write_item()
287 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write()
510 int new_roletr = (p->policy_type == POLICY_KERN && in role_trans_write()
741 if (p->policy_type != POLICY_KERN && in cond_write_bool()
768 unsigned int oldvers = (p->policy_type == POLICY_KERN in cond_write_av_list()
843 if (p->policy_type == POLICY_KERN) { in cond_write_node()
855 if (p->policy_type != POLICY_KERN && in cond_write_node()
906 && p->policy_type == POLICY_KERN) in context_write()
1010 if ((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.c101 case POLICY_KERN: in sepol_policydb_set_typevers()
119 case POLICY_KERN: in sepol_policydb_set_vers()
Dconditional.c597 if (p->policy_type != POLICY_KERN && in cond_read_bool()
804 if (p->policy_type == POLICY_KERN) { in cond_read_node()
817 if (p->policy_type != POLICY_KERN && in cond_read_node()
Doptimize.c435 if (p->policy_type != POLICY_KERN) in policydb_optimize()
Dpolicydb_validate.c744 if (p->policy_type == POLICY_KERN) { in validate_policydb()
Dservices.c218 if (policydb->policy_type == POLICY_KERN && in get_name_list()
Dexpand.c2967 state.out->policy_type = POLICY_KERN; in expand_module()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h508 #define POLICY_KERN SEPOL_POLICY_KERN macro
795 (((p)->policy_type == POLICY_KERN \
797 ((p)->policy_type != POLICY_KERN \
/third_party/selinux/checkpolicy/
Dcheckpolicy.c647 if (optimize && policydbp->policy_type == POLICY_KERN) { in main()
669 policydb.policy_type = POLICY_KERN; in main()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c4187 pdb->policy_type = POLICY_KERN; in __cil_policydb_create()