Lines Matching defs:policy_type
647 (p->policy_type ==
758 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) {
1812 if ((p->policy_type == POLICY_KERN
1814 || (p->policy_type == POLICY_BASE
1998 if (p->policy_type != POLICY_KERN &&
2075 if ((p->policy_type == POLICY_KERN
2077 || (p->policy_type == POLICY_BASE
2088 if ((p->policy_type == POLICY_KERN &&
2090 (p->policy_type == POLICY_BASE &&
2147 if (p->policy_type == POLICY_KERN) {
2155 if (p->policy_type != POLICY_KERN &&
2204 if (p->policy_type != POLICY_KERN
2210 else if (p->policy_type == POLICY_KERN)
2226 if (p->policy_type != POLICY_KERN
2241 && p->policy_type != POLICY_KERN)
2244 && p->policy_type != POLICY_KERN)
2250 if (p->policy_type != POLICY_KERN) {
2257 if (p->policy_type != POLICY_KERN) {
2287 int new_roletr = (p->policy_type == POLICY_KERN &&
2797 if (p->policy_type == POLICY_KERN) {
2809 if ((p->policy_type == POLICY_KERN
2811 || (p->policy_type == POLICY_MOD
2814 || (p->policy_type == POLICY_BASE
2821 if (p->policy_type != POLICY_KERN) {
2829 } else if ((p->policy_type == POLICY_MOD
2831 || (p->policy_type == POLICY_BASE
3010 int new_rangetr = (p->policy_type == POLICY_KERN &&
3046 if (p->policy_type == POLICY_KERN)
3545 unsigned int policy_type, bufindex;
3557 policy_type = POLICY_KERN;
3559 policy_type = POLICY_MOD;
3587 if (policy_type == POLICY_KERN) {
3616 if (policy_type == POLICY_KERN)
3629 if (policy_type == POLICY_MOD) {
3633 policy_type = buf[bufindex];
3634 if (policy_type != POLICY_MOD && policy_type != POLICY_BASE) {
3636 policy_type);
3643 if (policy_type == POLICY_KERN) {
3651 } else if (policy_type == POLICY_BASE || policy_type == POLICY_MOD) {
3666 p->policy_typepolicy_type;
3679 info = policydb_lookup_compat(r_policyvers, policy_type,
3696 if (p->policy_type == POLICY_MOD) {
3723 p->policy_type == POLICY_KERN) ||
3725 p->policy_type == POLICY_BASE) ||
3727 p->policy_type == POLICY_MOD)) {
3733 p->policy_type == POLICY_KERN) {
3752 if (policy_type == POLICY_KERN) {
3802 if ((p->policy_type == POLICY_KERN
3804 || (p->policy_type == POLICY_BASE
3812 if (policy_type == POLICY_KERN) {