blob: 8cd7d73c4be0e900bd33afcf54fa607d8e05d71a [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
46The implementation of DES for crypt (src/misc/crypt.c) is Copyright ©
Rich Felker3f063692012-05-05 00:16:21 -0400471994 David Burren. It is licensed under a BSD license.
Rich Felker0b44a032011-02-12 00:22:29 -050048
Rich Felker22263702011-04-27 13:27:04 -040049The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
Rich Felker3f063692012-05-05 00:16:21 -040050Valentin Ochs and is licensed under an MIT-style license.
Rich Felker22263702011-04-27 13:27:04 -040051
Rich Felkerfebbd122011-06-25 18:18:57 -040052The BSD PRNG implementation (src/prng/random.c) and XSI search API
53(src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
54licensed under following terms: "Permission to use, copy, modify,
55and/or distribute this code for any purpose with or without fee is
56hereby granted. There is no warranty."
Rich Felkerc7ce1b22011-06-23 18:02:23 -040057
Rich Felker8cfbc8b2012-05-05 00:02:04 -040058The x86_64 port was written by Nicholas J. Kain. Several files (crt)
59were released into the public domain; others are licensed under the
Rich Felker3f063692012-05-05 00:16:21 -040060standard MIT license terms at the top of this file. See individual
61files for their copyright status.
Rich Felker0b9a1ed2011-02-15 14:52:11 -050062
Rich Felker0b44a032011-02-12 00:22:29 -050063All files which have no copyright comments are original works
Rich Felker6f21da62012-03-16 19:18:00 -040064Copyright © 2005-2012 Rich Felker, the main author of this library.
Rich Felker0b44a032011-02-12 00:22:29 -050065The decision to exclude such comments is intentional, as it should be
66possible to carry around the complete source code on tiny storage
67media. All public header files (include/*) should be treated as Public
68Domain as they intentionally contain no content which can be covered
69by copyright. Some source modules may fall in this category as well.
70If you believe that a file is so trivial that it should be in the
71Public Domain, please contact me and, if I agree, I will explicitly
72release it from copyright.
Rich Felker05ea0452011-02-13 23:32:01 -050073
74The following files are trivial, in my opinion not copyrightable in
75the first place, and hereby explicitly released to the Public Domain:
76
77All public headers: include/*
78Startup files: crt/*