xref: /illumos-gate/usr/src/tools/smatch/src/LICENSE (revision 1f5207b7)
1*1f5207b7SJohn LevonSmatch is released under the GPLv2+ license however Smatch includes the Sparse
2*1f5207b7SJohn Levonsource as well which is licensed under the MIT license and cwchash which is
3*1f5207b7SJohn Levonlicensed under the three clause BSD license and avl.[ch] which are MIT licensed.
4*1f5207b7SJohn Levon
5*1f5207b7SJohn LevonThe line between which files are a part of Sparse and which are a part of Smatch
6*1f5207b7SJohn Levonis normally pretty clear.  The one thing I will clarify is that there are some
7*1f5207b7SJohn Levonmodifications to Sparse files in the Smatch repository which have not been
8*1f5207b7SJohn Levonpushed to the Sparse repository.  These are released under the MIT license.  The
9*1f5207b7SJohn Levontoken_store.c file is a Sparse feature and thus released under the MIT license
10*1f5207b7SJohn Levondespite that it has not been pushed to the Sparse repository.
11*1f5207b7SJohn Levon
12*1f5207b7SJohn LevonI will not accept additional Sparse features except under the MIT license.
13*1f5207b7SJohn Levon
14*1f5207b7SJohn Levon------  Smatch
15*1f5207b7SJohn Levon
16*1f5207b7SJohn LevonLicense: GPLv2+
17*1f5207b7SJohn Levon
18*1f5207b7SJohn Levon    This program is free software; you can redistribute it and/or modify
19*1f5207b7SJohn Levon    it under the terms of the GNU General Public License as published by
20*1f5207b7SJohn Levon    the Free Software Foundation; either version 2 of the License, or
21*1f5207b7SJohn Levon    (at your option) any later version.
22*1f5207b7SJohn Levon
23*1f5207b7SJohn Levon    This program is distributed in the hope that it will be useful,
24*1f5207b7SJohn Levon    but WITHOUT ANY WARRANTY; without even the implied warranty of
25*1f5207b7SJohn Levon    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26*1f5207b7SJohn Levon    GNU General Public License for more details.
27*1f5207b7SJohn Levon
28*1f5207b7SJohn Levon    You should have received a copy of the GNU General Public License
29*1f5207b7SJohn Levon    along with this program; if not, write to the Free Software
30*1f5207b7SJohn Levon    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
31*1f5207b7SJohn Levon
32*1f5207b7SJohn LevonSee GPL-2, or <http://www.gnu.org/copyleft/gpl.txt> for the terms of the latest
33*1f5207b7SJohn Levonversion of the GNU General Public License.
34*1f5207b7SJohn Levon
35*1f5207b7SJohn Levon------  Sparse
36*1f5207b7SJohn Levon
37*1f5207b7SJohn LevonThe 'sparse' C parser front-end library is copyrighted by Transmeta Corp
38*1f5207b7SJohn Levonand other authors and licensed under the "MIT License" as
39*1f5207b7SJohn Levonobtained from www.opensource.org (and included here-in for easy
40*1f5207b7SJohn Levonreference).
41*1f5207b7SJohn Levon
42*1f5207b7SJohn Levon[ This copy of the license is the flat-text version of original,
43*1f5207b7SJohn Levon  available in its full glory at
44*1f5207b7SJohn Levon
45*1f5207b7SJohn Levon	 http://opensource.org/licenses/MIT
46*1f5207b7SJohn Levon
47*1f5207b7SJohn Levon  please refer to there for the authoritative and slightly more
48*1f5207b7SJohn Levon  pretty-printed version ]
49*1f5207b7SJohn Levon
50*1f5207b7SJohn Levon------
51*1f5207b7SJohn Levon
52*1f5207b7SJohn Levon			The MIT License (MIT)
53*1f5207b7SJohn Levon
54*1f5207b7SJohn LevonPermission is hereby granted, free of charge, to any person obtaining a copy
55*1f5207b7SJohn Levonof this software and associated documentation files (the "Software"), to deal
56*1f5207b7SJohn Levonin the Software without restriction, including without limitation the rights
57*1f5207b7SJohn Levonto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
58*1f5207b7SJohn Levoncopies of the Software, and to permit persons to whom the Software is
59*1f5207b7SJohn Levonfurnished to do so, subject to the following conditions:
60*1f5207b7SJohn Levon
61*1f5207b7SJohn LevonThe above copyright notice and this permission notice shall be included in
62*1f5207b7SJohn Levonall copies or substantial portions of the Software.
63*1f5207b7SJohn Levon
64*1f5207b7SJohn LevonTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65*1f5207b7SJohn LevonIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
66*1f5207b7SJohn LevonFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
67*1f5207b7SJohn LevonAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
68*1f5207b7SJohn LevonLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
69*1f5207b7SJohn LevonOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
70*1f5207b7SJohn LevonTHE SOFTWARE.
71