[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.122 and 1.122.4.1

version 1.122, 2006/07/23 22:06:11 version 1.122.4.1, 2006/11/18 21:39:23
Line 473  socreate(int dom, struct socket **aso, i
Line 473  socreate(int dom, struct socket **aso, i
         uid_t           uid;          uid_t           uid;
         int             error, s;          int             error, s;
   
           if (kauth_authorize_network(l->l_cred, KAUTH_NETWORK_SOCKET,
               KAUTH_REQ_NETWORK_SOCKET_OPEN, (void *)(u_long)dom,
               (void *)(u_long)type, (void *)(u_long)proto) != 0)
                   return (EPERM);
   
         if (proto)          if (proto)
                 prp = pffindproto(dom, proto, type);                  prp = pffindproto(dom, proto, type);
         else          else

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.122.4.1

CVSweb <webmaster@jp.NetBSD.org>