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

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

Diff for /src/sys/kern/uipc_socket.c between version 1.127 and 1.128

version 1.127, 2006/10/25 22:49:23 version 1.128, 2006/10/30 16:53:48
Line 475  socreate(int dom, struct socket **aso, i
Line 475  socreate(int dom, struct socket **aso, i
         int             error, s;          int             error, s;
   
         if (kauth_authorize_network(l->l_cred, KAUTH_NETWORK_SOCKET,          if (kauth_authorize_network(l->l_cred, KAUTH_NETWORK_SOCKET,
             KAUTH_REQ_NETWORK_SOCKET_OPEN, &dom, &type, &proto) != 0)              KAUTH_REQ_NETWORK_SOCKET_OPEN, (void *)(u_long)dom,
               (void *)(u_long)type, (void *)(u_long)proto) != 0)
                 return (EPERM);                  return (EPERM);
   
         if (proto)          if (proto)

Legend:
Removed from v.1.127  
changed lines
  Added in v.1.128

CVSweb <webmaster@jp.NetBSD.org>