[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.196 and 1.197

version 1.196, 2009/12/20 09:36:06 version 1.197, 2009/12/29 03:48:18
Line 561  socreate(int dom, struct socket **aso, i
Line 561  socreate(int dom, struct socket **aso, i
         so->so_snd.sb_mowner = &prp->pr_domain->dom_mowner;          so->so_snd.sb_mowner = &prp->pr_domain->dom_mowner;
         so->so_mowner = &prp->pr_domain->dom_mowner;          so->so_mowner = &prp->pr_domain->dom_mowner;
 #endif  #endif
         /* so->so_cred = kauth_cred_dup(l->l_cred); */  
         uid = kauth_cred_geteuid(l->l_cred);          uid = kauth_cred_geteuid(l->l_cred);
         so->so_uidinfo = uid_find(uid);          so->so_uidinfo = uid_find(uid);
         so->so_egid = kauth_cred_getegid(l->l_cred);          so->so_egid = kauth_cred_getegid(l->l_cred);
Line 704  sofree(struct socket *so)
Line 703  sofree(struct socket *so)
         /* Remove acccept filter if one is present. */          /* Remove acccept filter if one is present. */
         if (so->so_accf != NULL)          if (so->so_accf != NULL)
                 (void)accept_filt_clear(so);                  (void)accept_filt_clear(so);
         /* kauth_cred_free(so->so_cred); */  
         sounlock(so);          sounlock(so);
         if (refs == 0)          /* XXX */          if (refs == 0)          /* XXX */
                 soput(so);                  soput(so);

Legend:
Removed from v.1.196  
changed lines
  Added in v.1.197

CVSweb <webmaster@jp.NetBSD.org>