Lines Matching defs:policy_type
691 (p->policy_type ==
802 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) {
1856 if ((p->policy_type == POLICY_KERN
1858 || (p->policy_type == POLICY_BASE
2042 if (p->policy_type != POLICY_KERN &&
2045 else if (p->policy_type == POLICY_KERN &&
2123 if ((p->policy_type == POLICY_KERN
2125 || (p->policy_type == POLICY_BASE
2136 if ((p->policy_type == POLICY_KERN &&
2138 (p->policy_type == POLICY_BASE &&
2148 if ((p->policy_type == POLICY_KERN &&
2150 (p->policy_type == POLICY_BASE &&
2205 if (p->policy_type == POLICY_KERN) {
2213 if (p->policy_type != POLICY_KERN &&
2262 if (p->policy_type != POLICY_KERN
2268 else if (p->policy_type == POLICY_KERN)
2284 if (p->policy_type != POLICY_KERN
2299 && p->policy_type != POLICY_KERN)
2302 && p->policy_type != POLICY_KERN)
2308 if (p->policy_type != POLICY_KERN) {
2315 if (p->policy_type != POLICY_KERN) {
2345 int new_roletr = (p->policy_type == POLICY_KERN &&
2855 if (p->policy_type == POLICY_KERN) {
2867 if ((p->policy_type == POLICY_KERN
2869 || (p->policy_type == POLICY_MOD
2872 || (p->policy_type == POLICY_BASE
2879 if (p->policy_type != POLICY_KERN) {
2887 } else if ((p->policy_type == POLICY_MOD
2889 || (p->policy_type == POLICY_BASE
3068 int new_rangetr = (p->policy_type == POLICY_KERN &&
3104 if (p->policy_type == POLICY_KERN)
3607 unsigned int policy_type, bufindex;
3619 policy_type = POLICY_KERN;
3621 policy_type = POLICY_MOD;
3649 if (policy_type == POLICY_KERN) {
3678 if (policy_type == POLICY_KERN)
3691 if (policy_type == POLICY_MOD) {
3695 policy_type = buf[bufindex];
3696 if (policy_type != POLICY_MOD && policy_type != POLICY_BASE) {
3698 policy_type);
3705 if (policy_type == POLICY_KERN) {
3713 } else if (policy_type == POLICY_BASE || policy_type == POLICY_MOD) {
3728 p->policy_type = policy_type;
3741 info = policydb_lookup_compat(r_policyvers, policy_type,
3758 if (p->policy_type == POLICY_MOD) {
3785 p->policy_type == POLICY_KERN) ||
3787 p->policy_type == POLICY_BASE) ||
3789 p->policy_type == POLICY_MOD)) {
3795 p->policy_type == POLICY_KERN) {
3814 if (policy_type == POLICY_KERN) {
3864 if ((p->policy_type == POLICY_KERN
3866 || (p->policy_type == POLICY_BASE
3874 if (policy_type == POLICY_KERN) {