1 musl as a whole is licensed under the following standard MIT license:
3 Copyright © 2005-2013 Rich Felker
5 Permission is hereby granted, free of charge, to any person obtaining
6 a copy of this software and associated documentation files (the
7 "Software"), to deal in the Software without restriction, including
8 without limitation the rights to use, copy, modify, merge, publish,
9 distribute, sublicense, and/or sell copies of the Software, and to
10 permit persons to whom the Software is furnished to do so, subject to
11 the following conditions:
13 The above copyright notice and this permission notice shall be
14 included in all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 Portions of this software are contributed or derived from software
26 authored by third parties. Complete details on the copyright status of
27 all code included in musl follows below:
30 The TRE regular expression implementation (src/regex/reg* and
31 src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
32 under a 2-clause BSD license (license text in the source files). The
33 included version has been heavily modified by Rich Felker in 2012, in
34 the interests of size, simplicity, and namespace cleanliness.
36 Most of the math library code (src/math/* and src/complex/*) is
37 Copyright © 1993,2004 Sun Microsystems or
38 Copyright © 2003-2011 David Schultz or
39 Copyright © 2003-2009 Steven G. Kargl or
40 Copyright © 2003-2009 Bruce D. Evans or
41 Copyright © 2008 Stephen L. Moshier
42 and labelled as such. All have been licensed under extremely
43 permissive terms. See the comments in the individual files for
46 The implementation of DES for crypt (src/misc/crypt_des.c) is
47 Copyright © 1994 David Burren. It is licensed under a BSD license.
49 The implementation of blowfish crypt (src/misc/crypt_blowfish.c) was
50 originally written by Solar Designer and placed into the public
51 domain. The code also comes with a fallback permissive license for use
52 in jurisdictions that may not recognize the public domain.
54 The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
55 Valentin Ochs and is licensed under an MIT-style license.
57 The BSD PRNG implementation (src/prng/random.c) and XSI search API
58 (src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
59 licensed under following terms: "Permission to use, copy, modify,
60 and/or distribute this code for any purpose with or without fee is
61 hereby granted. There is no warranty."
63 The x86_64 port was written by Nicholas J. Kain. Several files (crt)
64 were released into the public domain; others are licensed under the
65 standard MIT license terms at the top of this file. See individual
66 files for their copyright status.
68 The mips and microblaze ports were originally written by Richard
69 Pennington for use in the ellcc project. The original code was adapted
70 by Rich Felker for build system and code conventions during upstream
71 integration. It is licensed under the standard MIT terms.
73 The powerpc port was also originally written by Richard Pennington,
74 and later supplemented and integrated by John Spencer. It is licensed
75 under the standard MIT terms.
77 The ARM memcpy code is Copyright © 2008 The Android Open Source
78 Project and is licensed under a two-clause BSD license. It was taken
79 from Bionic libc, used on Android.
81 All other files which have no copyright comments are original works
82 Copyright © 2005-2013 Rich Felker, the main author of this library.
83 The decision to exclude such comments is intentional, as it should be
84 possible to carry around the complete source code on tiny storage
85 media. All public header files (include/* and arch/*/bits/*) should be
86 treated as Public Domain as they intentionally contain no content
87 which can be covered by copyright. Some source modules may fall in
88 this category as well. If you believe that a file is so trivial that
89 it should be in the Public Domain, please contact me and, if I agree,
90 I will explicitly release it from copyright.
92 The following files are trivial, in my opinion not copyrightable in
93 the first place, and hereby explicitly released to the Public Domain:
95 All public headers: include/*, arch/*/bits/*