fix return value for fread/fwrite when size argument is 0
[oweals/musl.git] / COPYRIGHT
1 musl as a whole is licensed under the following standard MIT license:
2
3 ----------------------------------------------------------------------
4 Copyright © 2005-2014 Rich Felker, et al.
5
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:
13
14 The above copyright notice and this permission notice shall be
15 included in all copies or substantial portions of the Software.
16
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 ----------------------------------------------------------------------
25
26 Authors/contributors include:
27
28 Alexander Monakov
29 Anthony G. Basile
30 Arvid Picciani
31 Bobby Bingham
32 Boris Brezillon
33 Brent Cook
34 Chris Spiegel
35 Clément Vasseur
36 Denys Vlasenko
37 Emil Renner Berthing
38 Felix Fietkau
39 Felix Janda
40 Gianluca Anzolin
41 Hiltjo Posthuma
42 Isaac Dunham
43 Jens Gustedt
44 Jeremy Huntwork
45 Joakim Sindholt
46 John Spencer
47 Josiah Worcester
48 Justin Cormack
49 Luca Barbato
50 Luka Perkov
51 M Farkas-Dyck (Strake)
52 Michael Forney
53 Nicholas J. Kain
54 orc
55 Pascal Cuoq
56 Pierre Carrier
57 Rich Felker
58 Richard Pennington
59 sin
60 Solar Designer
61 Stefan Kristiansson
62 Szabolcs Nagy
63 Timo Teräs
64 Trutz Behn
65 Valentin Ochs
66 William Haddon
67
68 Portions of this software are derived from third-party works licensed
69 under terms compatible with the above MIT license:
70
71 The TRE regular expression implementation (src/regex/reg* and
72 src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
73 under a 2-clause BSD license (license text in the source files). The
74 included version has been heavily modified by Rich Felker in 2012, in
75 the interests of size, simplicity, and namespace cleanliness.
76
77 Much of the math library code (src/math/* and src/complex/*) is
78 Copyright © 1993,2004 Sun Microsystems or
79 Copyright © 2003-2011 David Schultz or
80 Copyright © 2003-2009 Steven G. Kargl or
81 Copyright © 2003-2009 Bruce D. Evans or
82 Copyright © 2008 Stephen L. Moshier
83 and labelled as such in comments in the individual source files. All
84 have been licensed under extremely permissive terms.
85
86 The ARM memcpy code (src/string/armel/memcpy.s) is Copyright © 2008
87 The Android Open Source Project and is licensed under a two-clause BSD
88 license. It was taken from Bionic libc, used on Android.
89
90 The implementation of DES for crypt (src/misc/crypt_des.c) is
91 Copyright © 1994 David Burren. It is licensed under a BSD license.
92
93 The implementation of blowfish crypt (src/misc/crypt_blowfish.c) was
94 originally written by Solar Designer and placed into the public
95 domain. The code also comes with a fallback permissive license for use
96 in jurisdictions that may not recognize the public domain.
97
98 The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
99 Valentin Ochs and is licensed under an MIT-style license.
100
101 The BSD PRNG implementation (src/prng/random.c) and XSI search API
102 (src/search/*.c) functions are Copyright © 2011 Szabolcs Nagy and
103 licensed under following terms: "Permission to use, copy, modify,
104 and/or distribute this code for any purpose with or without fee is
105 hereby granted. There is no warranty."
106
107 The x86_64 port was written by Nicholas J. Kain. Several files (crt)
108 were released into the public domain; others are licensed under the
109 standard MIT license terms at the top of this file. See individual
110 files for their copyright status.
111
112 The mips and microblaze ports were originally written by Richard
113 Pennington for use in the ellcc project. The original code was adapted
114 by Rich Felker for build system and code conventions during upstream
115 integration. It is licensed under the standard MIT terms.
116
117 The powerpc port was also originally written by Richard Pennington,
118 and later supplemented and integrated by John Spencer. It is licensed
119 under the standard MIT terms.
120
121 All other files which have no copyright comments are original works
122 produced specifically for use as part of this library, written either
123 by Rich Felker, the main author of the library, or by one or more
124 contibutors listed above. Details on authorship of individual files
125 can be found in the git version control history of the project. The
126 omission of copyright and license comments in each file is in the
127 interest of source tree size.
128
129 All public header files (include/* and arch/*/bits/*) should be
130 treated as Public Domain as they intentionally contain no content
131 which can be covered by copyright. Some source modules may fall in
132 this category as well. If you believe that a file is so trivial that
133 it should be in the Public Domain, please contact the authors and
134 request an explicit statement releasing it from copyright.
135
136 The following files are trivial, believed not to be copyrightable in
137 the first place, and hereby explicitly released to the Public Domain:
138
139 All public headers: include/*, arch/*/bits/*
140 Startup files: crt/*