tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: splnet() surrounding in6_control1()
- Subject: Re: splnet() surrounding in6_control1()
- From: Elad Efrat <elad%NetBSD.org@localhost>
- Date: Sun, 10 May 2009 04:55:27 +0300
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