[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.116.6.1 and 1.117

version 1.116.6.1, 2006/05/24 15:50:41 version 1.117, 2006/04/11 09:32:58
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 479  socreate(int dom, struct socket **aso, i
Line 478  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 = kauth_cred_geteuid(l->l_proc->p_cred);                  uid = l->l_proc->p_ucred->cr_uid;
         } else {          } else {
                 uid = 0;                  uid = 0;
         }          }

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

CVSweb <webmaster@jp.NetBSD.org>