blob: f3b5a58abdb3c908983c6960ddd469b84b36d4b9 [file] [log] [blame]
Rich Felker3f063692012-05-05 00:16:21 -04001musl as a whole is licensed under the following standard MIT license:
Rich Felker0b44a032011-02-12 00:22:29 -05002
Rich Felker3f063692012-05-05 00:16:21 -04003Copyright © 2005-2012 Rich Felker
4
5Permission is hereby granted, free of charge, to any person obtaining
6a copy of this software and associated documentation files (the
7"Software"), to deal in the Software without restriction, including
8without limitation the rights to use, copy, modify, merge, publish,
9distribute, sublicense, and/or sell copies of the Software, and to
10permit persons to whom the Software is furnished to do so, subject to
11the following conditions:
12
13The above copyright notice and this permission notice shall be
14included in all copies or substantial portions of the Software.
15
16THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
24
25Portions of this software are contributed or derived from software
26authored by third parties. Complete details on the copyright status of
27all code included in musl follows below:
28
Rich Felker0b44a032011-02-12 00:22:29 -050029
30The TRE regular expression implementation (src/regex/reg* and
Rich Felkerdf82f8f2012-03-24 17:46:42 -040031src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
32under a 2-clause BSD license (license text in the source files). The
33included version has been heavily modified by Rich Felker in 2012, in
34the interests of size, simplicity, and namespace cleanliness.
Rich Felker0b44a032011-02-12 00:22:29 -050035
nsz3a6c8282012-03-13 16:06:43 +010036Most of the math library code (src/math/* and src/complex/*) is
37Copyright © 1993,2004 Sun Microsystems or
38Copyright © 2003-2011 David Schultz or
39Copyright © 2003-2009 Steven G. Kargl or
40Copyright © 2003-2009 Bruce D. Evans or
41Copyright © 2008 Stephen L. Moshier
42and labelled as such. All have been licensed under extremely
Rich Felker3f063692012-05-05 00:16:21 -040043permissive terms. See the comments in the individual files for
44details.
Rich Felker0b44a032011-02-12 00:22:29 -050045
Rich Felker0d4d1a92012-08-15 00:19:42 -040046The implementation of DES for crypt (src/misc/crypt_des.c) is
47Copyright © 1994 David Burren. It is licensed under a BSD license.
48
49The implementation of blowfish crypt (src/misc/crypt_blowfish.c) was
50originally written by Solar Designer and placed into the public
51domain. The code also comes with a fallback permissive license for use
52in jurisdictions that may not recognize the public domain.
Rich Felker0b44a032011-02-12 00:22:29 -050053
Rich Felker22263702011-04-27 13:27:04 -040054The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
Rich Felker3f063692012-05-05 00:16:21 -040055Valentin Ochs and is licensed under an MIT-style license.
Rich Felker22263702011-04-27 13:27:04 -040056
Rich Felkerfebbd122011-06-25 18:18:57 -040057The BSD PRNG implementation (src/prng/random.c) and XSI search API
58(src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
59licensed under following terms: "Permission to use, copy, modify,
60and/or distribute this code for any purpose with or without fee is
61hereby granted. There is no warranty."
Rich Felkerc7ce1b22011-06-23 18:02:23 -040062
Rich Felker8cfbc8b2012-05-05 00:02:04 -040063The x86_64 port was written by Nicholas J. Kain. Several files (crt)
64were released into the public domain; others are licensed under the
Rich Felker3f063692012-05-05 00:16:21 -040065standard MIT license terms at the top of this file. See individual
66files for their copyright status.
Rich Felker0b9a1ed2011-02-15 14:52:11 -050067
Rich Felker0d4d1a92012-08-15 00:19:42 -040068The mips port was originally written by Richard Pennington for use in
69the ellcc project. The original code was adapted by Rich Felker for
70build system and code conventions during upstream integration. It is
71licensed under the standard MIT terms.
72
Rich Felker0b44a032011-02-12 00:22:29 -050073All files which have no copyright comments are original works
Rich Felker6f21da62012-03-16 19:18:00 -040074Copyright © 2005-2012 Rich Felker, the main author of this library.
Rich Felker0b44a032011-02-12 00:22:29 -050075The decision to exclude such comments is intentional, as it should be
76possible to carry around the complete source code on tiny storage
77media. All public header files (include/*) should be treated as Public
78Domain as they intentionally contain no content which can be covered
79by copyright. Some source modules may fall in this category as well.
80If you believe that a file is so trivial that it should be in the
81Public Domain, please contact me and, if I agree, I will explicitly
82release it from copyright.
Rich Felker05ea0452011-02-13 23:32:01 -050083
84The following files are trivial, in my opinion not copyrightable in
85the first place, and hereby explicitly released to the Public Domain:
86
87All public headers: include/*
88Startup files: crt/*