blob: 46124fcd24252ab7701ff389aad3101f75b12941 [file] [log] [blame]
Paul Beesley9fec7b22019-11-11 10:46:54 +00001License
2=======
3
4The software is provided under a BSD-3-Clause `license`_. Contributions to this
5project are accepted under the same license with developer sign-off as
6described in the `Contributing Guidelines`_.
7
8::
9
10 Copyright (c) <year> <owner>. All rights reserved.
11
12 Redistribution and use in source and binary forms, with or without
13 modification, are permitted provided that the following conditions are met:
14
15 - Redistributions of source code must retain the above copyright notice,
16 this list of conditions and the following disclaimer.
17
18 - Redistributions in binary form must reproduce the above copyright notice,
19 this list of conditions and the following disclaimer in the documentation
20 and/or other materials provided with the distribution.
21
22 - Neither the name of the copyright holder nor the names of its
23 contributors may be used to endorse or promote products derived from this
24 software without specific prior written permission.
25
26 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 POSSIBILITY OF SUCH DAMAGE.
37
38SPDX Identifiers
39----------------
40
41Individual files contain the following tag instead of the full license text.
42
43::
44
45 SPDX-License-Identifier: BSD-3-Clause
46
47This enables machine processing of license information based on the SPDX
48License Identifiers that are here available: http://spdx.org/licenses/
49
50Other Projects
51--------------
52
53This project contains code from other projects as listed below. The original
54license text is included in those source files.
55
56- The libc source code is derived from `FreeBSD`_ and `SCC`_. FreeBSD uses
57 various BSD licenses, including BSD-3-Clause and BSD-2-Clause. The SCC code
58 is used under the BSD-3-Clause license with the author's permission.
59
60- The `LLVM compiler-rt`_ source code is disjunctively dual licensed
61 (NCSA OR MIT). It is used by this project under the terms of the NCSA
62 license (also known as the University of Illinois/NCSA Open Source License),
63 which is a permissive license compatible with BSD-3-Clause. Any
64 contributions to this code must be made under the terms of both licenses.
65
66.. _FreeBSD: http://www.freebsd.org
67.. _SCC: http://www.simple-cc.org/
68.. _LLVM compiler-rt: https://compiler-rt.llvm.org/