• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Copyright (C) 2016 The Android Open Source Project
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7     http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14
15================================================================================
16
17musl as a whole is licensed under the following standard MIT license:
18
19----------------------------------------------------------------------
20Copyright © 2005-2014 Rich Felker, et al.
21
22Permission is hereby granted, free of charge, to any person obtaining
23a copy of this software and associated documentation files (the
24"Software"), to deal in the Software without restriction, including
25without limitation the rights to use, copy, modify, merge, publish,
26distribute, sublicense, and/or sell copies of the Software, and to
27permit persons to whom the Software is furnished to do so, subject to
28the following conditions:
29
30The above copyright notice and this permission notice shall be
31included in all copies or substantial portions of the Software.
32
33THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
35MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
36IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
37CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
38TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
39SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40----------------------------------------------------------------------
41
42Authors/contributors include:
43
44Alexander Monakov
45Anthony G. Basile
46Arvid Picciani
47Bobby Bingham
48Boris Brezillon
49Brent Cook
50Chris Spiegel
51Clément Vasseur
52Denys Vlasenko
53Emil Renner Berthing
54Felix Fietkau
55Felix Janda
56Gianluca Anzolin
57Hiltjo Posthuma
58Isaac Dunham
59Jens Gustedt
60Jeremy Huntwork
61Joakim Sindholt
62John Spencer
63Josiah Worcester
64Justin Cormack
65Luca Barbato
66Luka Perkov
67M Farkas-Dyck (Strake)
68Michael Forney
69Nicholas J. Kain
70orc
71Pascal Cuoq
72Pierre Carrier
73Rich Felker
74Richard Pennington
75sin
76Solar Designer
77Stefan Kristiansson
78Szabolcs Nagy
79Timo Teräs
80Trutz Behn
81Valentin Ochs
82William Haddon
83
84Portions of this software are derived from third-party works licensed
85under terms compatible with the above MIT license:
86
87The TRE regular expression implementation (src/regex/reg* and
88src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
89under a 2-clause BSD license (license text in the source files). The
90included version has been heavily modified by Rich Felker in 2012, in
91the interests of size, simplicity, and namespace cleanliness.
92
93Much of the math library code (src/math/* and src/complex/*) is
94Copyright © 1993,2004 Sun Microsystems or
95Copyright © 2003-2011 David Schultz or
96Copyright © 2003-2009 Steven G. Kargl or
97Copyright © 2003-2009 Bruce D. Evans or
98Copyright © 2008 Stephen L. Moshier
99and labelled as such in comments in the individual source files. All
100have been licensed under extremely permissive terms.
101
102The ARM memcpy code (src/string/armel/memcpy.s) is Copyright © 2008
103The Android Open Source Project and is licensed under a two-clause BSD
104license. It was taken from Bionic libc, used on Android.
105
106The implementation of DES for crypt (src/misc/crypt_des.c) is
107Copyright © 1994 David Burren. It is licensed under a BSD license.
108
109The implementation of blowfish crypt (src/misc/crypt_blowfish.c) was
110originally written by Solar Designer and placed into the public
111domain. The code also comes with a fallback permissive license for use
112in jurisdictions that may not recognize the public domain.
113
114The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
115Valentin Ochs and is licensed under an MIT-style license.
116
117The BSD PRNG implementation (src/prng/random.c) and XSI search API
118(src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
119licensed under following terms: "Permission to use, copy, modify,
120and/or distribute this code for any purpose with or without fee is
121hereby granted. There is no warranty."
122
123The x86_64 port was written by Nicholas J. Kain. Several files (crt)
124were released into the public domain; others are licensed under the
125standard MIT license terms at the top of this file. See individual
126files for their copyright status.
127
128The mips and microblaze ports were originally written by Richard
129Pennington for use in the ellcc project. The original code was adapted
130by Rich Felker for build system and code conventions during upstream
131integration. It is licensed under the standard MIT terms.
132
133The powerpc port was also originally written by Richard Pennington,
134and later supplemented and integrated by John Spencer. It is licensed
135under the standard MIT terms.
136
137All other files which have no copyright comments are original works
138produced specifically for use as part of this library, written either
139by Rich Felker, the main author of the library, or by one or more
140contibutors listed above. Details on authorship of individual files
141can be found in the git version control history of the project. The
142omission of copyright and license comments in each file is in the
143interest of source tree size.
144
145All public header files (include/* and arch/*/bits/*) should be
146treated as Public Domain as they intentionally contain no content
147which can be covered by copyright. Some source modules may fall in
148this category as well. If you believe that a file is so trivial that
149it should be in the Public Domain, please contact the authors and
150request an explicit statement releasing it from copyright.
151
152The following files are trivial, believed not to be copyrightable in
153the first place, and hereby explicitly released to the Public Domain:
154
155All public headers: include/*, arch/*/bits/*
156Startup files: crt/*
157