Rich Felker | 3f06369 | 2012-05-05 00:16:21 -0400 | [diff] [blame] | 1 | musl as a whole is licensed under the following standard MIT license: |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 2 | |
Rich Felker | a896e89 | 2013-04-20 14:02:55 -0400 | [diff] [blame] | 3 | Copyright © 2005-2013 Rich Felker |
Rich Felker | 3f06369 | 2012-05-05 00:16:21 -0400 | [diff] [blame] | 4 | |
| 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: |
| 12 | |
| 13 | The above copyright notice and this permission notice shall be |
| 14 | included in all copies or substantial portions of the Software. |
| 15 | |
| 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. |
| 23 | |
| 24 | |
| 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: |
| 28 | |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 29 | |
| 30 | The TRE regular expression implementation (src/regex/reg* and |
Rich Felker | df82f8f | 2012-03-24 17:46:42 -0400 | [diff] [blame] | 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. |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 35 | |
nsz | 3a6c828 | 2012-03-13 16:06:43 +0100 | [diff] [blame] | 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 |
Rich Felker | 3f06369 | 2012-05-05 00:16:21 -0400 | [diff] [blame] | 43 | permissive terms. See the comments in the individual files for |
| 44 | details. |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 45 | |
Rich Felker | 0d4d1a9 | 2012-08-15 00:19:42 -0400 | [diff] [blame] | 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. |
| 48 | |
| 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. |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 53 | |
Rich Felker | 2226370 | 2011-04-27 13:27:04 -0400 | [diff] [blame] | 54 | The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011 |
Rich Felker | 3f06369 | 2012-05-05 00:16:21 -0400 | [diff] [blame] | 55 | Valentin Ochs and is licensed under an MIT-style license. |
Rich Felker | 2226370 | 2011-04-27 13:27:04 -0400 | [diff] [blame] | 56 | |
Rich Felker | febbd12 | 2011-06-25 18:18:57 -0400 | [diff] [blame] | 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." |
Rich Felker | c7ce1b2 | 2011-06-23 18:02:23 -0400 | [diff] [blame] | 62 | |
Rich Felker | 8cfbc8b | 2012-05-05 00:02:04 -0400 | [diff] [blame] | 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 |
Rich Felker | 3f06369 | 2012-05-05 00:16:21 -0400 | [diff] [blame] | 65 | standard MIT license terms at the top of this file. See individual |
| 66 | files for their copyright status. |
Rich Felker | 0b9a1ed | 2011-02-15 14:52:11 -0500 | [diff] [blame] | 67 | |
Rich Felker | 22781b4 | 2012-11-14 20:24:46 -0500 | [diff] [blame] | 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. |
Rich Felker | 0d4d1a9 | 2012-08-15 00:19:42 -0400 | [diff] [blame] | 72 | |
Rich Felker | 22781b4 | 2012-11-14 20:24:46 -0500 | [diff] [blame] | 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. |
| 76 | |
| 77 | All other files which have no copyright comments are original works |
Rich Felker | a896e89 | 2013-04-20 14:02:55 -0400 | [diff] [blame] | 78 | Copyright © 2005-2013 Rich Felker, the main author of this library. |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 79 | The decision to exclude such comments is intentional, as it should be |
| 80 | possible to carry around the complete source code on tiny storage |
Rich Felker | 8764646 | 2013-04-20 14:01:33 -0400 | [diff] [blame] | 81 | media. All public header files (include/* and arch/*/bits/*) should be |
| 82 | treated as Public Domain as they intentionally contain no content |
| 83 | which can be covered by copyright. Some source modules may fall in |
| 84 | this category as well. If you believe that a file is so trivial that |
| 85 | it should be in the Public Domain, please contact me and, if I agree, |
| 86 | I will explicitly release it from copyright. |
Rich Felker | 05ea045 | 2011-02-13 23:32:01 -0500 | [diff] [blame] | 87 | |
| 88 | The following files are trivial, in my opinion not copyrightable in |
| 89 | the first place, and hereby explicitly released to the Public Domain: |
| 90 | |
Rich Felker | 5d37b79 | 2013-04-20 14:03:12 -0400 | [diff] [blame^] | 91 | All public headers: include/*, arch/*/bits/* |
Rich Felker | 05ea045 | 2011-02-13 23:32:01 -0500 | [diff] [blame] | 92 | Startup files: crt/* |