Lines Matching refs:POLICY_KERN
48 #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()
1012 (p->policy_type == POLICY_KERN && in write_cons_helper()
1079 if ((p->policy_type == POLICY_KERN in class_write()
1096 if ((p->policy_type == POLICY_KERN && in class_write()
1106 … p->policy_type == POLICY_KERN? POLICYDB_VERSION_GLBLUB:MOD_POLICYDB_VERSION_GLBLUB); in class_write()
1115 if ((p->policy_type == POLICY_KERN && in class_write()
1147 ((p->policy_type == POLICY_KERN) || in role_write()
1148 (p->policy_type != POLICY_KERN && in role_write()
1168 if (p->policy_type == POLICY_KERN) { in role_write()
1193 if (p->policy_type != POLICY_KERN && in role_write()
1222 if (p->policy_type == POLICY_KERN in type_write()
1234 if (p->policy_type != POLICY_KERN in type_write()
1245 && p->policy_type != POLICY_KERN) in type_write()
1249 && p->policy_type != POLICY_KERN) in type_write()
1257 if (p->policy_type != POLICY_KERN) { in type_write()
1273 if (p->policy_type != POLICY_KERN) { in type_write()
1310 if (p->policy_type == POLICY_KERN) { in user_write()
1319 && p->policy_type == POLICY_KERN) in user_write()
1718 int new_rangetr = (p->policy_type == POLICY_KERN && in range_write()
2195 p->policy_type == POLICY_KERN) || in policydb_write()
2211 if (p->policy_type == POLICY_KERN) { in policydb_write()
2238 if (p->policy_type != POLICY_KERN) { in policydb_write()
2271 p->policy_type == POLICY_KERN) || in policydb_write()
2281 p->policy_type == POLICY_KERN) { in policydb_write()
2293 p->policy_type == POLICY_KERN) { in policydb_write()
2311 p->policy_type == POLICY_KERN) { in policydb_write()
2322 ((p->policy_type == POLICY_KERN) || in policydb_write()
2323 (p->policy_type != POLICY_KERN && in policydb_write()
2335 if (p->policy_type == POLICY_KERN) { in policydb_write()
2377 && p->policy_type == POLICY_KERN) in policydb_write()
2386 if (p->policy_type == POLICY_KERN in policydb_write()