1 musl as a whole is licensed under the following standard MIT license:
3 ----------------------------------------------------------------------
4 Copyright © 2005-2014 Rich Felker, et al.
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files (the
8 "Software"), to deal in the Software without restriction, including
9 without limitation the rights to use, copy, modify, merge, publish,
10 distribute, sublicense, and/or sell copies of the Software, and to
11 permit persons to whom the Software is furnished to do so, subject to
12 the following conditions:
14 The above copyright notice and this permission notice shall be
15 included in all copies or substantial portions of the Software.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 ----------------------------------------------------------------------
26 Authors/contributors include:
69 M Farkas-Dyck (Strake)
96 Portions of this software are derived from third-party works licensed
97 under terms compatible with the above MIT license:
99 The TRE regular expression implementation (src/regex/reg* and
100 src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
101 under a 2-clause BSD license (license text in the source files). The
102 included version has been heavily modified by Rich Felker in 2012, in
103 the interests of size, simplicity, and namespace cleanliness.
105 Much of the math library code (src/math/* and src/complex/*) is
106 Copyright © 1993,2004 Sun Microsystems or
107 Copyright © 2003-2011 David Schultz or
108 Copyright © 2003-2009 Steven G. Kargl or
109 Copyright © 2003-2009 Bruce D. Evans or
110 Copyright © 2008 Stephen L. Moshier
111 and labelled as such in comments in the individual source files. All
112 have been licensed under extremely permissive terms.
114 The ARM memcpy code (src/string/arm/memcpy_el.S) is Copyright © 2008
115 The Android Open Source Project and is licensed under a two-clause BSD
116 license. It was taken from Bionic libc, used on Android.
118 The implementation of DES for crypt (src/crypt/crypt_des.c) is
119 Copyright © 1994 David Burren. It is licensed under a BSD license.
121 The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
122 originally written by Solar Designer and placed into the public
123 domain. The code also comes with a fallback permissive license for use
124 in jurisdictions that may not recognize the public domain.
126 The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
127 Valentin Ochs and is licensed under an MIT-style license.
129 The BSD PRNG implementation (src/prng/random.c) and XSI search API
130 (src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
131 licensed under following terms: "Permission to use, copy, modify,
132 and/or distribute this code for any purpose with or without fee is
133 hereby granted. There is no warranty."
135 The x86_64 port was written by Nicholas J. Kain and is licensed under
136 the standard MIT terms.
138 The mips and microblaze ports were originally written by Richard
139 Pennington for use in the ellcc project. The original code was adapted
140 by Rich Felker for build system and code conventions during upstream
141 integration. It is licensed under the standard MIT terms.
143 The mips64 port was contributed by Imagination Technologies and is
144 licensed under the standard MIT terms.
146 The powerpc port was also originally written by Richard Pennington,
147 and later supplemented and integrated by John Spencer. It is licensed
148 under the standard MIT terms.
150 All other files which have no copyright comments are original works
151 produced specifically for use as part of this library, written either
152 by Rich Felker, the main author of the library, or by one or more
153 contibutors listed above. Details on authorship of individual files
154 can be found in the git version control history of the project. The
155 omission of copyright and license comments in each file is in the
156 interest of source tree size.
158 In addition, permission is hereby granted for all public header files
159 (include/* and arch/*/bits/*) and crt files intended to be linked into
160 applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
161 the copyright notice and permission notice otherwise required by the
162 license, and to use these files without any requirement of
163 attribution. These files include substantial contributions from:
173 all of whom have explicitly granted such permission.
175 This file previously contained text expressing a belief that most of
176 the files covered by the above exception were sufficiently trivial not
177 to be subject to copyright, resulting in confusion over whether it
178 negated the permissions granted in the license. In the spirit of
179 permissive licensing, and of not having licensing issues being an
180 obstacle to adoption, that text has been removed.