aboutsummaryrefslogtreecommitdiff
path: root/libc/NOTICE
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-10-13 17:52:01 -0700
committerElliott Hughes <enh@google.com>2017-10-15 10:37:51 -0700
commit5033918092f27179b0c2bbe3babceaed509d4935 (patch)
tree77f5a0f1eb5fec80dc7bc6a297eed66af83713b9 /libc/NOTICE
parenta27bfd4131441a24fcfe6b5b3cf1cf9469be6719 (diff)
downloadbionic-5033918092f27179b0c2bbe3babceaed509d4935.tar.gz
Complete <netdb.h>.
Add all the missing <netdb.h> functions. Also fix getservbyport to handle a null protocol correctly. Also fix getservbyname/getservbyport to not interfere with getservent. Also fix endservent to reset getservent iteration. Also reduce unnecessary differences from upstream NetBSD sethostent.c. The servent implementation is still horrific, and we should probably support protoent too so that debugging tools can use getprotobyname/getprotobynumber. Bug: N/A Test: ran tests Change-Id: I639108c46df0a768af297cf3bbce857cb1bef9d9
Diffstat (limited to 'libc/NOTICE')
-rw-r--r--libc/NOTICE36
1 files changed, 0 insertions, 36 deletions
diff --git a/libc/NOTICE b/libc/NOTICE
index 9b461ee29..c0e62651e 100644
--- a/libc/NOTICE
+++ b/libc/NOTICE
@@ -4014,42 +4014,6 @@ SUCH DAMAGE.
-------------------------------------------------------------------
-Copyright (c) 2004 The NetBSD Foundation, Inc.
-All rights reserved.
-
-This code is derived from software contributed to The NetBSD Foundation
-by Christos Zoulas.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. All advertising materials mentioning features or use of this software
- must display the following acknowledgement:
- This product includes software developed by the NetBSD
- Foundation, Inc. and its contributors.
-4. Neither the name of The NetBSD Foundation nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
--------------------------------------------------------------------
-
Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
Copyright (c) 1995,1999 by Internet Software Consortium.