[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.117 and 1.118

version 1.117, 2006/04/11 09:32:58 version 1.118, 2006/05/14 21:15:12
Line 91  __KERNEL_RCSID(0, "$NetBSD$");
Line 91  __KERNEL_RCSID(0, "$NetBSD$");
 #include <sys/pool.h>  #include <sys/pool.h>
 #include <sys/event.h>  #include <sys/event.h>
 #include <sys/poll.h>  #include <sys/poll.h>
   #include <sys/kauth.h>
   
 #include <uvm/uvm.h>  #include <uvm/uvm.h>
   
Line 478  socreate(int dom, struct socket **aso, i
Line 479  socreate(int dom, struct socket **aso, i
         so->so_mowner = &prp->pr_domain->dom_mowner;          so->so_mowner = &prp->pr_domain->dom_mowner;
 #endif  #endif
         if (l != NULL) {          if (l != NULL) {
                 uid = l->l_proc->p_ucred->cr_uid;                  uid = kauth_cred_geteuid(l->l_proc->p_cred);
         } else {          } else {
                 uid = 0;                  uid = 0;
         }          }

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.118

CVSweb <webmaster@jp.NetBSD.org>