tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: splnet() surrounding in6_control1()



Sorry, but this:

+       case SIOCAIFADDR_IN6:
+               if (l == NULL && kauth_authorize_generic(l->l_cred,
+                   KAUTH_GENERIC_ISSUSER, NULL))
+                       return EPERM;
+               break;
+       }

should have || instead.

Of course, the whole l == NULL check is ridiculous.

-e.


Home | Main Index | Thread Index | Old Index