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; |
} |
} |