fix gethostby*_r result pointer value on error
[musl] / COPYRIGHT
index d46826c..a8a38a5 100644 (file)
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,7 +1,60 @@
-musl as a whole is licensed under the GNU LGPL version 2.1 or later.
-See the file COPYING for the text of this license.
+musl as a whole is licensed under the following standard MIT license:
 
 
-See below for the copyright status on all code included in musl:
+----------------------------------------------------------------------
+Copyright © 2005-2014 Rich Felker, et al.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+----------------------------------------------------------------------
+
+Authors/contributors include:
+
+Anthony G. Basile
+Arvid Picciani
+Bobby Bingham
+Boris Brezillon
+Chris Spiegel
+Emil Renner Berthing
+Hiltjo Posthuma
+Isaac Dunham
+Jens Gustedt
+Jeremy Huntwork
+John Spencer
+Justin Cormack
+Luca Barbato
+Luka Perkov
+Michael Forney
+Nicholas J. Kain
+orc
+Pascal Cuoq
+Pierre Carrier
+Rich Felker
+Richard Pennington
+Solar Designer
+Strake
+Szabolcs Nagy
+Timo Teräs
+Valentin Ochs
+William Haddon
+
+Portions of this software are derived from third-party works licensed
+under terms compatible with the above MIT license:
 
 The TRE regular expression implementation (src/regex/reg* and
 src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
 
 The TRE regular expression implementation (src/regex/reg* and
 src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
@@ -9,23 +62,29 @@ under a 2-clause BSD license (license text in the source files). The
 included version has been heavily modified by Rich Felker in 2012, in
 the interests of size, simplicity, and namespace cleanliness.
 
 included version has been heavily modified by Rich Felker in 2012, in
 the interests of size, simplicity, and namespace cleanliness.
 
-Most of the math library code (src/math/* and src/complex/*) is
+Much of the math library code (src/math/* and src/complex/*) is
 Copyright © 1993,2004 Sun Microsystems or
 Copyright © 2003-2011 David Schultz or
 Copyright © 2003-2009 Steven G. Kargl or
 Copyright © 2003-2009 Bruce D. Evans or
 Copyright © 2008 Stephen L. Moshier
 Copyright © 1993,2004 Sun Microsystems or
 Copyright © 2003-2011 David Schultz or
 Copyright © 2003-2009 Steven G. Kargl or
 Copyright © 2003-2009 Bruce D. Evans or
 Copyright © 2008 Stephen L. Moshier
-and labelled as such. All have been licensed under extremely
-permissive terms which are compatible with the GNU LGPL. See the
-comments in the individual files for details.
+and labelled as such in comments in the individual source files. All
+have been licensed under extremely permissive terms.
+
+The ARM memcpy code (src/string/armel/memcpy.s) is Copyright © 2008
+The Android Open Source Project and is licensed under a two-clause BSD
+license. It was taken from Bionic libc, used on Android.
 
 
-The implementation of DES for crypt (src/misc/crypt.c) is Copyright ©
-1994 David Burren. It is licensed under a BSD license compatible with
-the GNU LGPL.
+The implementation of DES for crypt (src/misc/crypt_des.c) is
+Copyright © 1994 David Burren. It is licensed under a BSD license.
+
+The implementation of blowfish crypt (src/misc/crypt_blowfish.c) was
+originally written by Solar Designer and placed into the public
+domain. The code also comes with a fallback permissive license for use
+in jurisdictions that may not recognize the public domain.
 
 The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
 
 The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
-Valentin Ochs and is licensed under an MIT-style license compatible
-with the GNU LGPL.
+Valentin Ochs and is licensed under an MIT-style license.
 
 The BSD PRNG implementation (src/prng/random.c) and XSI search API
 (src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
 
 The BSD PRNG implementation (src/prng/random.c) and XSI search API
 (src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
@@ -33,22 +92,37 @@ licensed under following terms: "Permission to use, copy, modify,
 and/or distribute this code for any purpose with or without fee is
 hereby granted. There is no warranty."
 
 and/or distribute this code for any purpose with or without fee is
 hereby granted. There is no warranty."
 
-The x86_64 port was written by Nicholas J. Kain. See individual files
-for their copyright status.
-
-All files which have no copyright comments are original works
-Copyright © 2005-2012 Rich Felker, the main author of this library.
-The decision to exclude such comments is intentional, as it should be
-possible to carry around the complete source code on tiny storage
-media. All public header files (include/*) should be treated as Public
-Domain as they intentionally contain no content which can be covered
-by copyright. Some source modules may fall in this category as well.
-If you believe that a file is so trivial that it should be in the
-Public Domain, please contact me and, if I agree, I will explicitly
-release it from copyright.
-
-The following files are trivial, in my opinion not copyrightable in
+The x86_64 port was written by Nicholas J. Kain. Several files (crt)
+were released into the public domain; others are licensed under the
+standard MIT license terms at the top of this file. See individual
+files for their copyright status.
+
+The mips and microblaze ports were originally written by Richard
+Pennington for use in the ellcc project. The original code was adapted
+by Rich Felker for build system and code conventions during upstream
+integration. It is licensed under the standard MIT terms.
+
+The powerpc port was also originally written by Richard Pennington,
+and later supplemented and integrated by John Spencer. It is licensed
+under the standard MIT terms.
+
+All other files which have no copyright comments are original works
+produced specifically for use as part of this library, written either
+by Rich Felker, the main author of the library, or by one or more
+contibutors listed above. Details on authorship of individual files
+can be found in the git version control history of the project. The
+omission of copyright and license comments in each file is in the
+interest of source tree size.
+
+All public header files (include/* and arch/*/bits/*) should be
+treated as Public Domain as they intentionally contain no content
+which can be covered by copyright. Some source modules may fall in
+this category as well. If you believe that a file is so trivial that
+it should be in the Public Domain, please contact the authors and
+request an explicit statement releasing it from copyright.
+
+The following files are trivial, believed not to be copyrightable in
 the first place, and hereby explicitly released to the Public Domain:
 
 the first place, and hereby explicitly released to the Public Domain:
 
-All public headers: include/*
+All public headers: include/*, arch/*/bits/*
 Startup files: crt/*
 Startup files: crt/*