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

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

Diff for /src/sys/netinet/raw_ip.c between version 1.88.8.2 and 1.88.8.3

version 1.88.8.2, 2006/08/11 15:46:33 version 1.88.8.3, 2006/09/14 12:31:55
Line 541  rip_usrreq(struct socket *so, int req,
Line 541  rip_usrreq(struct socket *so, int req,
                         error = EISCONN;                          error = EISCONN;
                         break;                          break;
                 }                  }
                 if (l == 0 || (error = kauth_authorize_generic(l->l_cred,                  if (l == 0 || (error = kauth_authorize_network(l->l_cred,
                     KAUTH_GENERIC_ISSUSER, &l->l_acflag))) {                      KAUTH_NETWORK_SOCKET,
                       (void *)KAUTH_REQ_NETWORK_SOCKET_RAWSOCK, so, NULL,
                       NULL))) {
                         error = EACCES;                          error = EACCES;
                         break;                          break;
                 }                  }

Legend:
Removed from v.1.88.8.2  
changed lines
  Added in v.1.88.8.3

CVSweb <webmaster@jp.NetBSD.org>