Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Remove commented-out code that should not have gone...
details: https://anonhg.NetBSD.org/src/rev/a39448782f1f
branches: trunk
changeset: 750372:a39448782f1f
user: elad <elad%NetBSD.org@localhost>
date: Tue Dec 29 03:48:18 2009 +0000
description:
Remove commented-out code that should not have gone in.
diffstat:
sys/kern/uipc_socket.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r aef0d0bb31e4 -r a39448782f1f sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c Mon Dec 28 22:15:36 2009 +0000
+++ b/sys/kern/uipc_socket.c Tue Dec 29 03:48:18 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_socket.c,v 1.196 2009/12/20 09:36:06 dsl Exp $ */
+/* $NetBSD: uipc_socket.c,v 1.197 2009/12/29 03:48:18 elad Exp $ */
/*-
* Copyright (c) 2002, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.196 2009/12/20 09:36:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.197 2009/12/29 03:48:18 elad Exp $");
#include "opt_compat_netbsd.h"
#include "opt_sock_counters.h"
@@ -561,7 +561,6 @@
so->so_snd.sb_mowner = &prp->pr_domain->dom_mowner;
so->so_mowner = &prp->pr_domain->dom_mowner;
#endif
- /* so->so_cred = kauth_cred_dup(l->l_cred); */
uid = kauth_cred_geteuid(l->l_cred);
so->so_uidinfo = uid_find(uid);
so->so_egid = kauth_cred_getegid(l->l_cred);
@@ -704,7 +703,6 @@
/* Remove acccept filter if one is present. */
if (so->so_accf != NULL)
(void)accept_filt_clear(so);
- /* kauth_cred_free(so->so_cred); */
sounlock(so);
if (refs == 0) /* XXX */
soput(so);
Home |
Main Index |
Thread Index |
Old Index