Lines Matching refs:policyvers
1034 if (p->policyvers >= POLICYDB_VERSION_MLS) { in context_read_and_validate()
1254 if (p->policyvers >= in read_cons_helper()
1335 if (p->policyvers >= POLICYDB_VERSION_VALIDATETRANS) { in class_read()
1347 if (p->policyvers >= POLICYDB_VERSION_NEW_OBJECT_DEFAULTS) { in class_read()
1357 if (p->policyvers >= POLICYDB_VERSION_DEFAULT_TYPE) { in class_read()
1386 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) in role_read()
1395 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) in role_read()
1442 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) in type_read()
1451 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) { in type_read()
1516 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) in user_read()
1525 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) in user_read()
1536 if (p->policyvers >= POLICYDB_VERSION_MLS) { in user_read()
1746 if (p->policyvers < POLICYDB_VERSION_BOUNDARY) in policydb_bounds_sanity_check()
1809 if (p->policyvers < POLICYDB_VERSION_MLS) in range_read()
1829 if (p->policyvers >= POLICYDB_VERSION_RANGETRANS) { in range_read()
1882 if (p->policyvers < POLICYDB_VERSION_FILENAME_TRANS) in filename_trans_read()
2324 p->policyvers = le32_to_cpu(buf[0]); in policydb_read()
2325 if (p->policyvers < POLICYDB_VERSION_MIN || in policydb_read()
2326 p->policyvers > POLICYDB_VERSION_MAX) { in policydb_read()
2337 if (p->policyvers < POLICYDB_VERSION_MLS) { in policydb_read()
2340 p->policyvers); in policydb_read()
2347 if (p->policyvers >= POLICYDB_VERSION_POLCAP) { in policydb_read()
2353 if (p->policyvers >= POLICYDB_VERSION_PERMISSIVE) { in policydb_read()
2360 info = policydb_lookup_compat(p->policyvers); in policydb_read()
2363 "for version %d\n", p->policyvers); in policydb_read()
2401 if (p->policyvers >= POLICYDB_VERSION_BOOL) { in policydb_read()
2429 if (p->policyvers >= POLICYDB_VERSION_ROLETRANS) { in policydb_read()
2512 if (p->policyvers >= POLICYDB_VERSION_AVTAB) { in policydb_read()
2670 if (p->policyvers >= POLICYDB_VERSION_ROLETRANS) { in role_trans_write()
2837 if (p->policyvers >= in write_cons_helper()
2921 if (p->policyvers >= POLICYDB_VERSION_NEW_OBJECT_DEFAULTS) { in class_write()
2931 if (p->policyvers >= POLICYDB_VERSION_DEFAULT_TYPE) { in class_write()
2956 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) in role_write()
2995 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) { in type_write()
3036 if (p->policyvers >= POLICYDB_VERSION_BOUNDARY) in user_write()
3280 if (p->policyvers >= POLICYDB_VERSION_RANGETRANS) { in range_write_helper()
3358 if (p->policyvers < POLICYDB_VERSION_FILENAME_TRANS) in filename_trans_write()
3398 if (p->policyvers < POLICYDB_VERSION_AVTAB) { in policydb_write()
3400 " Because it is less than version %d\n", p->policyvers, in policydb_write()
3426 info = policydb_lookup_compat(p->policyvers); in policydb_write()
3429 "version %d", p->policyvers); in policydb_write()
3433 buf[0] = cpu_to_le32(p->policyvers); in policydb_write()
3442 if (p->policyvers >= POLICYDB_VERSION_POLCAP) { in policydb_write()
3448 if (p->policyvers >= POLICYDB_VERSION_PERMISSIVE) { in policydb_write()