[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.111.2.5 and 1.111.2.6

version 1.111.2.5, 2006/12/30 20:50:07 version 1.111.2.6, 2007/02/26 09:11:20
Line 255  sokvafree(vaddr_t sva, vsize_t len)
Line 255  sokvafree(vaddr_t sva, vsize_t len)
 }  }
   
 static void  static void
 sodoloanfree(struct vm_page **pgs, caddr_t buf, size_t size, boolean_t mapped)  sodoloanfree(struct vm_page **pgs, caddr_t buf, size_t size, bool mapped)
 {  {
         vaddr_t sva, eva;          vaddr_t sva, eva;
         vsize_t len;          vsize_t len;
Line 471  socreate(int dom, struct socket **aso, i
Line 471  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,          error = kauth_authorize_network(l->l_cred, KAUTH_NETWORK_SOCKET,
             KAUTH_REQ_NETWORK_SOCKET_OPEN, (void *)(u_long)dom,              KAUTH_REQ_NETWORK_SOCKET_OPEN, KAUTH_ARG(dom), KAUTH_ARG(type),
             (void *)(u_long)type, (void *)(u_long)proto) != 0)              KAUTH_ARG(proto));
                 return (EPERM);          if (error)
                   return (error);
   
         if (proto)          if (proto)
                 prp = pffindproto(dom, proto, type);                  prp = pffindproto(dom, proto, type);

Legend:
Removed from v.1.111.2.5  
changed lines
  Added in v.1.111.2.6

CVSweb <webmaster@jp.NetBSD.org>