[BACK]Return to if_tun.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / net

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/net/if_tun.c between version 1.106.2.1 and 1.106.2.2

version 1.106.2.1, 2009/05/04 08:14:15 version 1.106.2.2, 2009/05/16 10:41:49
Line 283  tunopen(dev_t dev, int flag, int mode, s
Line 283  tunopen(dev_t dev, int flag, int mode, s
         struct tun_softc *tp;          struct tun_softc *tp;
         int     s, error;          int     s, error;
   
         if ((error = kauth_authorize_generic(l->l_cred, KAUTH_GENERIC_ISSUSER,          error = kauth_authorize_network(l->l_cred, KAUTH_NETWORK_INTERFACE_TUN,
             NULL)) != 0)              KAUTH_REQ_NETWORK_INTERFACE_TUN_ADD, NULL, NULL, NULL);
           if (error)
                 return (error);                  return (error);
   
         s = splnet();          s = splnet();

Legend:
Removed from v.1.106.2.1  
changed lines
  Added in v.1.106.2.2

CVSweb <webmaster@jp.NetBSD.org>