xref: /openbmc/linux/LICENSES/deprecated/GPL-1.0 (revision c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2)
1*62be257eSChristoph HellwigValid-License-Identifier: GPL-1.0+
2*62be257eSChristoph HellwigSPDX-URL: https://spdx.org/licenses/GPL-1.0.html
3*62be257eSChristoph HellwigUsage-Guide:
4*62be257eSChristoph Hellwig  The GNU General Public License (GPL) version 1 should not be used in new
5*62be257eSChristoph Hellwig  code. For existing kernel code the 'or any later version' option is
6*62be257eSChristoph Hellwig  required to be compatible with the general license of the project: GPLv2.
7*62be257eSChristoph Hellwig  To use the license in source code, put the following SPDX tag/value pair
8*62be257eSChristoph Hellwig  into a comment according to the placement guidelines in the licensing
9*62be257eSChristoph Hellwig  rules documentation:
10*62be257eSChristoph Hellwig    SPDX-License-Identifier: GPL-1.0+
11*62be257eSChristoph HellwigLicense-Text:
12*62be257eSChristoph Hellwig
13*62be257eSChristoph Hellwig	    GNU GENERAL PUBLIC LICENSE
14*62be257eSChristoph Hellwig	     Version 1, February 1989
15*62be257eSChristoph Hellwig
16*62be257eSChristoph Hellwig Copyright (C) 1989 Free Software Foundation, Inc.
17*62be257eSChristoph Hellwig                    675 Mass Ave, Cambridge, MA 02139, USA
18*62be257eSChristoph Hellwig Everyone is permitted to copy and distribute verbatim copies
19*62be257eSChristoph Hellwig of this license document, but changing it is not allowed.
20*62be257eSChristoph Hellwig
21*62be257eSChristoph Hellwig			    Preamble
22*62be257eSChristoph Hellwig
23*62be257eSChristoph Hellwig  The license agreements of most software companies try to keep users
24*62be257eSChristoph Hellwigat the mercy of those companies.  By contrast, our General Public
25*62be257eSChristoph HellwigLicense is intended to guarantee your freedom to share and change free
26*62be257eSChristoph Hellwigsoftware--to make sure the software is free for all its users.  The
27*62be257eSChristoph HellwigGeneral Public License applies to the Free Software Foundation's
28*62be257eSChristoph Hellwigsoftware and to any other program whose authors commit to using it.
29*62be257eSChristoph HellwigYou can use it for your programs, too.
30*62be257eSChristoph Hellwig
31*62be257eSChristoph Hellwig  When we speak of free software, we are referring to freedom, not
32*62be257eSChristoph Hellwigprice.  Specifically, the General Public License is designed to make
33*62be257eSChristoph Hellwigsure that you have the freedom to give away or sell copies of free
34*62be257eSChristoph Hellwigsoftware, that you receive source code or can get it if you want it,
35*62be257eSChristoph Hellwigthat you can change the software or use pieces of it in new free
36*62be257eSChristoph Hellwigprograms; and that you know you can do these things.
37*62be257eSChristoph Hellwig
38*62be257eSChristoph Hellwig  To protect your rights, we need to make restrictions that forbid
39*62be257eSChristoph Hellwiganyone to deny you these rights or to ask you to surrender the rights.
40*62be257eSChristoph HellwigThese restrictions translate to certain responsibilities for you if you
41*62be257eSChristoph Hellwigdistribute copies of the software, or if you modify it.
42*62be257eSChristoph Hellwig
43*62be257eSChristoph Hellwig  For example, if you distribute copies of a such a program, whether
44*62be257eSChristoph Hellwiggratis or for a fee, you must give the recipients all the rights that
45*62be257eSChristoph Hellwigyou have.  You must make sure that they, too, receive or can get the
46*62be257eSChristoph Hellwigsource code.  And you must tell them their rights.
47*62be257eSChristoph Hellwig
48*62be257eSChristoph Hellwig  We protect your rights with two steps: (1) copyright the software, and
49*62be257eSChristoph Hellwig(2) offer you this license which gives you legal permission to copy,
50*62be257eSChristoph Hellwigdistribute and/or modify the software.
51*62be257eSChristoph Hellwig
52*62be257eSChristoph Hellwig  Also, for each author's protection and ours, we want to make certain
53*62be257eSChristoph Hellwigthat everyone understands that there is no warranty for this free
54*62be257eSChristoph Hellwigsoftware.  If the software is modified by someone else and passed on, we
55*62be257eSChristoph Hellwigwant its recipients to know that what they have is not the original, so
56*62be257eSChristoph Hellwigthat any problems introduced by others will not reflect on the original
57*62be257eSChristoph Hellwigauthors' reputations.
58*62be257eSChristoph Hellwig
59*62be257eSChristoph Hellwig  The precise terms and conditions for copying, distribution and
60*62be257eSChristoph Hellwigmodification follow.
61*62be257eSChristoph Hellwig
62*62be257eSChristoph Hellwig		    GNU GENERAL PUBLIC LICENSE
63*62be257eSChristoph Hellwig   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
64*62be257eSChristoph Hellwig
65*62be257eSChristoph Hellwig  0. This License Agreement applies to any program or other work which
66*62be257eSChristoph Hellwigcontains a notice placed by the copyright holder saying it may be
67*62be257eSChristoph Hellwigdistributed under the terms of this General Public License.  The
68*62be257eSChristoph Hellwig"Program", below, refers to any such program or work, and a "work based
69*62be257eSChristoph Hellwigon the Program" means either the Program or any work containing the
70*62be257eSChristoph HellwigProgram or a portion of it, either verbatim or with modifications.  Each
71*62be257eSChristoph Hellwiglicensee is addressed as "you".
72*62be257eSChristoph Hellwig
73*62be257eSChristoph Hellwig  1. You may copy and distribute verbatim copies of the Program's source
74*62be257eSChristoph Hellwigcode as you receive it, in any medium, provided that you conspicuously and
75*62be257eSChristoph Hellwigappropriately publish on each copy an appropriate copyright notice and
76*62be257eSChristoph Hellwigdisclaimer of warranty; keep intact all the notices that refer to this
77*62be257eSChristoph HellwigGeneral Public License and to the absence of any warranty; and give any
78*62be257eSChristoph Hellwigother recipients of the Program a copy of this General Public License
79*62be257eSChristoph Hellwigalong with the Program.  You may charge a fee for the physical act of
80*62be257eSChristoph Hellwigtransferring a copy.
81*62be257eSChristoph Hellwig
82*62be257eSChristoph Hellwig  2. You may modify your copy or copies of the Program or any portion of
83*62be257eSChristoph Hellwigit, and copy and distribute such modifications under the terms of Paragraph
84*62be257eSChristoph Hellwig1 above, provided that you also do the following:
85*62be257eSChristoph Hellwig
86*62be257eSChristoph Hellwig    a) cause the modified files to carry prominent notices stating that
87*62be257eSChristoph Hellwig    you changed the files and the date of any change; and
88*62be257eSChristoph Hellwig
89*62be257eSChristoph Hellwig    b) cause the whole of any work that you distribute or publish, that
90*62be257eSChristoph Hellwig    in whole or in part contains the Program or any part thereof, either
91*62be257eSChristoph Hellwig    with or without modifications, to be licensed at no charge to all
92*62be257eSChristoph Hellwig    third parties under the terms of this General Public License (except
93*62be257eSChristoph Hellwig    that you may choose to grant warranty protection to some or all
94*62be257eSChristoph Hellwig    third parties, at your option).
95*62be257eSChristoph Hellwig
96*62be257eSChristoph Hellwig    c) If the modified program normally reads commands interactively when
97*62be257eSChristoph Hellwig    run, you must cause it, when started running for such interactive use
98*62be257eSChristoph Hellwig    in the simplest and most usual way, to print or display an
99*62be257eSChristoph Hellwig    announcement including an appropriate copyright notice and a notice
100*62be257eSChristoph Hellwig    that there is no warranty (or else, saying that you provide a
101*62be257eSChristoph Hellwig    warranty) and that users may redistribute the program under these
102*62be257eSChristoph Hellwig    conditions, and telling the user how to view a copy of this General
103*62be257eSChristoph Hellwig    Public License.
104*62be257eSChristoph Hellwig
105*62be257eSChristoph Hellwig    d) You may charge a fee for the physical act of transferring a
106*62be257eSChristoph Hellwig    copy, and you may at your option offer warranty protection in
107*62be257eSChristoph Hellwig    exchange for a fee.
108*62be257eSChristoph Hellwig
109*62be257eSChristoph HellwigMere aggregation of another independent work with the Program (or its
110*62be257eSChristoph Hellwigderivative) on a volume of a storage or distribution medium does not bring
111*62be257eSChristoph Hellwigthe other work under the scope of these terms.
112*62be257eSChristoph Hellwig
113*62be257eSChristoph Hellwig  3. You may copy and distribute the Program (or a portion or derivative of
114*62be257eSChristoph Hellwigit, under Paragraph 2) in object code or executable form under the terms of
115*62be257eSChristoph HellwigParagraphs 1 and 2 above provided that you also do one of the following:
116*62be257eSChristoph Hellwig
117*62be257eSChristoph Hellwig    a) accompany it with the complete corresponding machine-readable
118*62be257eSChristoph Hellwig    source code, which must be distributed under the terms of
119*62be257eSChristoph Hellwig    Paragraphs 1 and 2 above; or,
120*62be257eSChristoph Hellwig
121*62be257eSChristoph Hellwig    b) accompany it with a written offer, valid for at least three
122*62be257eSChristoph Hellwig    years, to give any third party free (except for a nominal charge
123*62be257eSChristoph Hellwig    for the cost of distribution) a complete machine-readable copy of the
124*62be257eSChristoph Hellwig    corresponding source code, to be distributed under the terms of
125*62be257eSChristoph Hellwig    Paragraphs 1 and 2 above; or,
126*62be257eSChristoph Hellwig
127*62be257eSChristoph Hellwig    c) accompany it with the information you received as to where the
128*62be257eSChristoph Hellwig    corresponding source code may be obtained.  (This alternative is
129*62be257eSChristoph Hellwig    allowed only for noncommercial distribution and only if you
130*62be257eSChristoph Hellwig    received the program in object code or executable form alone.)
131*62be257eSChristoph Hellwig
132*62be257eSChristoph HellwigSource code for a work means the preferred form of the work for making
133*62be257eSChristoph Hellwigmodifications to it.  For an executable file, complete source code means
134*62be257eSChristoph Hellwigall the source code for all modules it contains; but, as a special
135*62be257eSChristoph Hellwigexception, it need not include source code for modules which are standard
136*62be257eSChristoph Hellwiglibraries that accompany the operating system on which the executable
137*62be257eSChristoph Hellwigfile runs, or for standard header files or definitions files that
138*62be257eSChristoph Hellwigaccompany that operating system.
139*62be257eSChristoph Hellwig
140*62be257eSChristoph Hellwig  4. You may not copy, modify, sublicense, distribute or transfer the
141*62be257eSChristoph HellwigProgram except as expressly provided under this General Public License.
142*62be257eSChristoph HellwigAny attempt otherwise to copy, modify, sublicense, distribute or transfer
143*62be257eSChristoph Hellwigthe Program is void, and will automatically terminate your rights to use
144*62be257eSChristoph Hellwigthe Program under this License.  However, parties who have received
145*62be257eSChristoph Hellwigcopies, or rights to use copies, from you under this General Public
146*62be257eSChristoph HellwigLicense will not have their licenses terminated so long as such parties
147*62be257eSChristoph Hellwigremain in full compliance.
148*62be257eSChristoph Hellwig
149*62be257eSChristoph Hellwig  5. By copying, distributing or modifying the Program (or any work based
150*62be257eSChristoph Hellwigon the Program) you indicate your acceptance of this license to do so,
151*62be257eSChristoph Hellwigand all its terms and conditions.
152*62be257eSChristoph Hellwig
153*62be257eSChristoph Hellwig  6. Each time you redistribute the Program (or any work based on the
154*62be257eSChristoph HellwigProgram), the recipient automatically receives a license from the original
155*62be257eSChristoph Hellwiglicensor to copy, distribute or modify the Program subject to these
156*62be257eSChristoph Hellwigterms and conditions.  You may not impose any further restrictions on the
157*62be257eSChristoph Hellwigrecipients' exercise of the rights granted herein.
158*62be257eSChristoph Hellwig
159*62be257eSChristoph Hellwig  7. The Free Software Foundation may publish revised and/or new versions
160*62be257eSChristoph Hellwigof the General Public License from time to time.  Such new versions will
161*62be257eSChristoph Hellwigbe similar in spirit to the present version, but may differ in detail to
162*62be257eSChristoph Hellwigaddress new problems or concerns.
163*62be257eSChristoph Hellwig
164*62be257eSChristoph HellwigEach version is given a distinguishing version number.  If the Program
165*62be257eSChristoph Hellwigspecifies a version number of the license which applies to it and "any
166*62be257eSChristoph Hellwiglater version", you have the option of following the terms and conditions
167*62be257eSChristoph Hellwigeither of that version or of any later version published by the Free
168*62be257eSChristoph HellwigSoftware Foundation.  If the Program does not specify a version number of
169*62be257eSChristoph Hellwigthe license, you may choose any version ever published by the Free Software
170*62be257eSChristoph HellwigFoundation.
171*62be257eSChristoph Hellwig
172*62be257eSChristoph Hellwig  8. If you wish to incorporate parts of the Program into other free
173*62be257eSChristoph Hellwigprograms whose distribution conditions are different, write to the author
174*62be257eSChristoph Hellwigto ask for permission.  For software which is copyrighted by the Free
175*62be257eSChristoph HellwigSoftware Foundation, write to the Free Software Foundation; we sometimes
176*62be257eSChristoph Hellwigmake exceptions for this.  Our decision will be guided by the two goals
177*62be257eSChristoph Hellwigof preserving the free status of all derivatives of our free software and
178*62be257eSChristoph Hellwigof promoting the sharing and reuse of software generally.
179*62be257eSChristoph Hellwig
180*62be257eSChristoph Hellwig			    NO WARRANTY
181*62be257eSChristoph Hellwig
182*62be257eSChristoph Hellwig  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
183*62be257eSChristoph HellwigFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
184*62be257eSChristoph HellwigOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
185*62be257eSChristoph HellwigPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
186*62be257eSChristoph HellwigOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
187*62be257eSChristoph HellwigMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
188*62be257eSChristoph HellwigTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
189*62be257eSChristoph HellwigPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
190*62be257eSChristoph HellwigREPAIR OR CORRECTION.
191*62be257eSChristoph Hellwig
192*62be257eSChristoph Hellwig  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
193*62be257eSChristoph HellwigWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
194*62be257eSChristoph HellwigREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
195*62be257eSChristoph HellwigINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
196*62be257eSChristoph HellwigOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
197*62be257eSChristoph HellwigTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
198*62be257eSChristoph HellwigYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
199*62be257eSChristoph HellwigPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
200*62be257eSChristoph HellwigPOSSIBILITY OF SUCH DAMAGES.
201*62be257eSChristoph Hellwig
202*62be257eSChristoph Hellwig		     END OF TERMS AND CONDITIONS
203*62be257eSChristoph Hellwig
204*62be257eSChristoph Hellwig	Appendix: How to Apply These Terms to Your New Programs
205*62be257eSChristoph Hellwig
206*62be257eSChristoph Hellwig  If you develop a new program, and you want it to be of the greatest
207*62be257eSChristoph Hellwigpossible use to humanity, the best way to achieve this is to make it
208*62be257eSChristoph Hellwigfree software which everyone can redistribute and change under these
209*62be257eSChristoph Hellwigterms.
210*62be257eSChristoph Hellwig
211*62be257eSChristoph Hellwig  To do so, attach the following notices to the program.  It is safest to
212*62be257eSChristoph Hellwigattach them to the start of each source file to most effectively convey
213*62be257eSChristoph Hellwigthe exclusion of warranty; and each file should have at least the
214*62be257eSChristoph Hellwig"copyright" line and a pointer to where the full notice is found.
215*62be257eSChristoph Hellwig
216*62be257eSChristoph Hellwig    <one line to give the program's name and a brief idea of what it does.>
217*62be257eSChristoph Hellwig    Copyright (C) 19yy  <name of author>
218*62be257eSChristoph Hellwig
219*62be257eSChristoph Hellwig    This program is free software; you can redistribute it and/or modify
220*62be257eSChristoph Hellwig    it under the terms of the GNU General Public License as published by
221*62be257eSChristoph Hellwig    the Free Software Foundation; either version 1, or (at your option)
222*62be257eSChristoph Hellwig    any later version.
223*62be257eSChristoph Hellwig
224*62be257eSChristoph Hellwig    This program is distributed in the hope that it will be useful,
225*62be257eSChristoph Hellwig    but WITHOUT ANY WARRANTY; without even the implied warranty of
226*62be257eSChristoph Hellwig    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
227*62be257eSChristoph Hellwig    GNU General Public License for more details.
228*62be257eSChristoph Hellwig
229*62be257eSChristoph Hellwig    You should have received a copy of the GNU General Public License
230*62be257eSChristoph Hellwig    along with this program; if not, write to the Free Software
231*62be257eSChristoph Hellwig    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
232*62be257eSChristoph Hellwig
233*62be257eSChristoph HellwigAlso add information on how to contact you by electronic and paper mail.
234*62be257eSChristoph Hellwig
235*62be257eSChristoph HellwigIf the program is interactive, make it output a short notice like this
236*62be257eSChristoph Hellwigwhen it starts in an interactive mode:
237*62be257eSChristoph Hellwig
238*62be257eSChristoph Hellwig    Gnomovision version 69, Copyright (C) 19xx name of author
239*62be257eSChristoph Hellwig    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
240*62be257eSChristoph Hellwig    This is free software, and you are welcome to redistribute it
241*62be257eSChristoph Hellwig    under certain conditions; type `show c' for details.
242*62be257eSChristoph Hellwig
243*62be257eSChristoph HellwigThe hypothetical commands `show w' and `show c' should show the
244*62be257eSChristoph Hellwigappropriate parts of the General Public License.  Of course, the
245*62be257eSChristoph Hellwigcommands you use may be called something other than `show w' and `show
246*62be257eSChristoph Hellwigc'; they could even be mouse-clicks or menu items--whatever suits your
247*62be257eSChristoph Hellwigprogram.
248*62be257eSChristoph Hellwig
249*62be257eSChristoph HellwigYou should also get your employer (if you work as a programmer) or your
250*62be257eSChristoph Hellwigschool, if any, to sign a "copyright disclaimer" for the program, if
251*62be257eSChristoph Hellwignecessary.  Here a sample; alter the names:
252*62be257eSChristoph Hellwig
253*62be257eSChristoph Hellwig  Yoyodyne, Inc., hereby disclaims all copyright interest in the
254*62be257eSChristoph Hellwig  program `Gnomovision' (a program to direct compilers to make passes
255*62be257eSChristoph Hellwig  at assemblers) written by James Hacker.
256*62be257eSChristoph Hellwig
257*62be257eSChristoph Hellwig  <signature of Ty Coon>, 1 April 1989
258*62be257eSChristoph Hellwig  Ty Coon, President of Vice
259*62be257eSChristoph Hellwig
260*62be257eSChristoph HellwigThat's all there is to it!
261