• Home
  • Raw
  • Download

Lines Matching refs:policyvers

50 		     p->policyvers >= POLICYDB_VERSION_GLBLUB) || \
52 p->policyvers >= MOD_POLICYDB_VERSION_GLBLUB))
117 && p->policyvers < POLICYDB_VERSION_AVTAB); in avtab_write_item()
231 if ((p->policyvers < POLICYDB_VERSION_XPERMS_IOCTL) && in avtab_write_item()
234 "permissions rules and one was specified", p->policyvers); in avtab_write_item()
289 && p->policyvers < POLICYDB_VERSION_AVTAB); in avtab_write()
512 p->policyvers >= POLICYDB_VERSION_ROLETRANS); in role_trans_write()
608 if (p->policyvers < POLICYDB_VERSION_FILENAME_TRANS) in filename_trans_write()
682 p->policyvers >= MOD_POLICYDB_VERSION_TUNABLE_SEP) { in cond_write_bool()
709 && p->policyvers < POLICYDB_VERSION_AVTAB); in cond_write_av_list()
796 p->policyvers >= MOD_POLICYDB_VERSION_TUNABLE_SEP) { in cond_write_node()
845 if ((p->policyvers >= POLICYDB_VERSION_MLS in context_write()
847 || (p->policyvers >= MOD_POLICYDB_VERSION_MLS in context_write()
953 (p->policyvers >= POLICYDB_VERSION_CONSTRAINT_NAMES) && in write_cons_helper()
1020 && p->policyvers >= POLICYDB_VERSION_VALIDATETRANS) in class_write()
1022 && p->policyvers >= MOD_POLICYDB_VERSION_VALIDATETRANS)) { in class_write()
1037 p->policyvers >= POLICYDB_VERSION_NEW_OBJECT_DEFAULTS) || in class_write()
1039 p->policyvers >= MOD_POLICYDB_VERSION_NEW_OBJECT_DEFAULTS)) { in class_write()
1045 p->p_class_val_to_name[cladatum->s.value - 1], p->policyvers, in class_write()
1056 p->policyvers >= POLICYDB_VERSION_DEFAULT_TYPE) || in class_write()
1058 p->policyvers >= MOD_POLICYDB_VERSION_DEFAULT_TYPE)) { in class_write()
1089 p->policyvers < MOD_POLICYDB_VERSION_ROLEATTRIB))) in role_write()
1134 p->policyvers >= MOD_POLICYDB_VERSION_ROLEATTRIB) { in role_write()
1163 && p->policyvers < POLICYDB_VERSION_BOUNDARY in type_write()
1175 && p->policyvers >= MOD_POLICYDB_VERSION_BOUNDARY_ALIAS) { in type_write()
1200 if (p->policyvers >= MOD_POLICYDB_VERSION_PERMISSIVE) in type_write()
1206 p->policyvers); in type_write()
1258 if ((p->policyvers >= POLICYDB_VERSION_MLS in user_write()
1260 || (p->policyvers >= MOD_POLICYDB_VERSION_MLS in user_write()
1261 && p->policyvers < MOD_POLICYDB_VERSION_MLS_USERS in user_write()
1263 || (p->policyvers >= MOD_POLICYDB_VERSION_MLS in user_write()
1264 && p->policyvers < MOD_POLICYDB_VERSION_MLS_USERS in user_write()
1270 } else if ((p->policyvers >= MOD_POLICYDB_VERSION_MLS_USERS in user_write()
1272 || (p->policyvers >= MOD_POLICYDB_VERSION_MLS_USERS in user_write()
1342 if (p->policyvers >= POLICYDB_VERSION_XEN_DEVICETREE) { in ocontext_write_xen()
1355 p->policyvers); in ocontext_write_xen()
1656 p->policyvers >= POLICYDB_VERSION_RANGETRANS); in range_write()
1726 if (p->policyvers < MOD_POLICYDB_VERSION_XPERMS_IOCTL) { in avrule_write()
1730 p->policyvers); in avrule_write()
1807 int new_role = p->policyvers >= MOD_POLICYDB_VERSION_ROLETRANS; in role_trans_rule_write()
1972 if (p->policyvers >= MOD_POLICYDB_VERSION_FILENAME_TRANS && in avrule_decl_write()
1976 if (p->policyvers >= MOD_POLICYDB_VERSION_RANGETRANS && in avrule_decl_write()
2125 if ((p->policyvers < POLICYDB_VERSION_MLS && in policydb_write()
2127 (p->policyvers < MOD_POLICYDB_VERSION_MLS && in policydb_write()
2129 (p->policyvers < MOD_POLICYDB_VERSION_MLS && in policydb_write()
2132 p->policyvers); in policydb_write()
2163 info = policydb_lookup_compat(p->policyvers, p->policy_type, in policydb_write()
2167 "version %d", p->policyvers); in policydb_write()
2174 buf[items++] = cpu_to_le32(p->policyvers); in policydb_write()
2203 if ((p->policyvers >= POLICYDB_VERSION_POLCAP && in policydb_write()
2205 (p->policyvers >= MOD_POLICYDB_VERSION_POLCAP && in policydb_write()
2207 (p->policyvers >= MOD_POLICYDB_VERSION_POLCAP && in policydb_write()
2213 if (p->policyvers < POLICYDB_VERSION_PERMISSIVE && in policydb_write()
2220 p->policyvers); in policydb_write()
2225 if (p->policyvers >= POLICYDB_VERSION_PERMISSIVE && in policydb_write()
2243 p->policyvers < POLICYDB_VERSION_BOUNDARY && in policydb_write()
2257 p->policyvers < MOD_POLICYDB_VERSION_ROLEATTRIB))) in policydb_write()
2271 if (p->policyvers < POLICYDB_VERSION_BOOL) { in policydb_write()
2283 if (p->policyvers >= POLICYDB_VERSION_FILENAME_TRANS) { in policydb_write()
2309 if ((p->policyvers >= POLICYDB_VERSION_MLS in policydb_write()
2311 || (p->policyvers >= MOD_POLICYDB_VERSION_MLS in policydb_write()
2312 && p->policyvers < MOD_POLICYDB_VERSION_RANGETRANS in policydb_write()
2320 && p->policyvers >= POLICYDB_VERSION_AVTAB) { in policydb_write()