Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/netinet6 pullup 1.2 -> 1.3 (approved by releng-1-5)
details: https://anonhg.NetBSD.org/src/rev/e58a0bba0491
branches: netbsd-1-5
changeset: 489283:e58a0bba0491
user: itojun <itojun%NetBSD.org@localhost>
date: Sun Aug 27 01:11:27 2000 +0000
description:
pullup 1.2 -> 1.3 (approved by releng-1-5)
> add missing IPNOPRIVPORTS case
diffstat:
sys/netinet6/in6_src.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 46cb485c7663 -r e58a0bba0491 sys/netinet6/in6_src.c
--- a/sys/netinet6/in6_src.c Sun Aug 27 01:11:04 2000 +0000
+++ b/sys/netinet6/in6_src.c Sun Aug 27 01:11:27 2000 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: in6_src.c,v 1.1 2000/06/03 14:36:36 itojun Exp $ */
-/* $KAME: in6_src.c,v 1.15 2000/05/30 10:16:24 jinmei Exp $ */
+/* $NetBSD: in6_src.c,v 1.1.2.1 2000/08/27 01:11:27 itojun Exp $ */
+/* $KAME: in6_src.c,v 1.27 2000/06/21 08:07:13 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -342,8 +342,10 @@
wild = IN6PLOOKUP_WILDCARD;
if (in6p->in6p_flags & IN6P_LOWPORT) {
+#ifndef IPNOPRIVPORTS
if (p == 0 || (suser(p->p_ucred, &p->p_acflag) != 0))
return (EACCES);
+#endif
min = IPV6PORT_RESERVEDMIN;
max = IPV6PORT_RESERVEDMAX;
} else {
Home |
Main Index |
Thread Index |
Old Index