xref: /aosp_15_r20/prebuilts/qemu-kernel/mips/LINUX_KERNEL_COPYING (revision 8f44c3f556abf1c3d5b54135eb52d5c1f558a738)
1*8f44c3f5SXin Li
2*8f44c3f5SXin Li   NOTE! This copyright does *not* cover user programs that use kernel
3*8f44c3f5SXin Li services by normal system calls - this is merely considered normal use
4*8f44c3f5SXin Li of the kernel, and does *not* fall under the heading of "derived work".
5*8f44c3f5SXin Li Also note that the GPL below is copyrighted by the Free Software
6*8f44c3f5SXin Li Foundation, but the instance of code that it refers to (the Linux
7*8f44c3f5SXin Li kernel) is copyrighted by me and others who actually wrote it.
8*8f44c3f5SXin Li
9*8f44c3f5SXin Li Also note that the only valid version of the GPL as far as the kernel
10*8f44c3f5SXin Li is concerned is _this_ particular version of the license (ie v2, not
11*8f44c3f5SXin Li v2.2 or v3.x or whatever), unless explicitly otherwise stated.
12*8f44c3f5SXin Li
13*8f44c3f5SXin Li			Linus Torvalds
14*8f44c3f5SXin Li
15*8f44c3f5SXin Li----------------------------------------
16*8f44c3f5SXin Li
17*8f44c3f5SXin Li		    GNU GENERAL PUBLIC LICENSE
18*8f44c3f5SXin Li		       Version 2, June 1991
19*8f44c3f5SXin Li
20*8f44c3f5SXin Li Copyright (C) 1989, 1991 Free Software Foundation, Inc.
21*8f44c3f5SXin Li                       51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
22*8f44c3f5SXin Li Everyone is permitted to copy and distribute verbatim copies
23*8f44c3f5SXin Li of this license document, but changing it is not allowed.
24*8f44c3f5SXin Li
25*8f44c3f5SXin Li			    Preamble
26*8f44c3f5SXin Li
27*8f44c3f5SXin Li  The licenses for most software are designed to take away your
28*8f44c3f5SXin Lifreedom to share and change it.  By contrast, the GNU General Public
29*8f44c3f5SXin LiLicense is intended to guarantee your freedom to share and change free
30*8f44c3f5SXin Lisoftware--to make sure the software is free for all its users.  This
31*8f44c3f5SXin LiGeneral Public License applies to most of the Free Software
32*8f44c3f5SXin LiFoundation's software and to any other program whose authors commit to
33*8f44c3f5SXin Liusing it.  (Some other Free Software Foundation software is covered by
34*8f44c3f5SXin Lithe GNU Library General Public License instead.)  You can apply it to
35*8f44c3f5SXin Liyour programs, too.
36*8f44c3f5SXin Li
37*8f44c3f5SXin Li  When we speak of free software, we are referring to freedom, not
38*8f44c3f5SXin Liprice.  Our General Public Licenses are designed to make sure that you
39*8f44c3f5SXin Lihave the freedom to distribute copies of free software (and charge for
40*8f44c3f5SXin Lithis service if you wish), that you receive source code or can get it
41*8f44c3f5SXin Liif you want it, that you can change the software or use pieces of it
42*8f44c3f5SXin Liin new free programs; and that you know you can do these things.
43*8f44c3f5SXin Li
44*8f44c3f5SXin Li  To protect your rights, we need to make restrictions that forbid
45*8f44c3f5SXin Lianyone to deny you these rights or to ask you to surrender the rights.
46*8f44c3f5SXin LiThese restrictions translate to certain responsibilities for you if you
47*8f44c3f5SXin Lidistribute copies of the software, or if you modify it.
48*8f44c3f5SXin Li
49*8f44c3f5SXin Li  For example, if you distribute copies of such a program, whether
50*8f44c3f5SXin Ligratis or for a fee, you must give the recipients all the rights that
51*8f44c3f5SXin Liyou have.  You must make sure that they, too, receive or can get the
52*8f44c3f5SXin Lisource code.  And you must show them these terms so they know their
53*8f44c3f5SXin Lirights.
54*8f44c3f5SXin Li
55*8f44c3f5SXin Li  We protect your rights with two steps: (1) copyright the software, and
56*8f44c3f5SXin Li(2) offer you this license which gives you legal permission to copy,
57*8f44c3f5SXin Lidistribute and/or modify the software.
58*8f44c3f5SXin Li
59*8f44c3f5SXin Li  Also, for each author's protection and ours, we want to make certain
60*8f44c3f5SXin Lithat everyone understands that there is no warranty for this free
61*8f44c3f5SXin Lisoftware.  If the software is modified by someone else and passed on, we
62*8f44c3f5SXin Liwant its recipients to know that what they have is not the original, so
63*8f44c3f5SXin Lithat any problems introduced by others will not reflect on the original
64*8f44c3f5SXin Liauthors' reputations.
65*8f44c3f5SXin Li
66*8f44c3f5SXin Li  Finally, any free program is threatened constantly by software
67*8f44c3f5SXin Lipatents.  We wish to avoid the danger that redistributors of a free
68*8f44c3f5SXin Liprogram will individually obtain patent licenses, in effect making the
69*8f44c3f5SXin Liprogram proprietary.  To prevent this, we have made it clear that any
70*8f44c3f5SXin Lipatent must be licensed for everyone's free use or not licensed at all.
71*8f44c3f5SXin Li
72*8f44c3f5SXin Li  The precise terms and conditions for copying, distribution and
73*8f44c3f5SXin Limodification follow.
74*8f44c3f5SXin Li
75*8f44c3f5SXin Li		    GNU GENERAL PUBLIC LICENSE
76*8f44c3f5SXin Li   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
77*8f44c3f5SXin Li
78*8f44c3f5SXin Li  0. This License applies to any program or other work which contains
79*8f44c3f5SXin Lia notice placed by the copyright holder saying it may be distributed
80*8f44c3f5SXin Liunder the terms of this General Public License.  The "Program", below,
81*8f44c3f5SXin Lirefers to any such program or work, and a "work based on the Program"
82*8f44c3f5SXin Limeans either the Program or any derivative work under copyright law:
83*8f44c3f5SXin Lithat is to say, a work containing the Program or a portion of it,
84*8f44c3f5SXin Lieither verbatim or with modifications and/or translated into another
85*8f44c3f5SXin Lilanguage.  (Hereinafter, translation is included without limitation in
86*8f44c3f5SXin Lithe term "modification".)  Each licensee is addressed as "you".
87*8f44c3f5SXin Li
88*8f44c3f5SXin LiActivities other than copying, distribution and modification are not
89*8f44c3f5SXin Licovered by this License; they are outside its scope.  The act of
90*8f44c3f5SXin Lirunning the Program is not restricted, and the output from the Program
91*8f44c3f5SXin Liis covered only if its contents constitute a work based on the
92*8f44c3f5SXin LiProgram (independent of having been made by running the Program).
93*8f44c3f5SXin LiWhether that is true depends on what the Program does.
94*8f44c3f5SXin Li
95*8f44c3f5SXin Li  1. You may copy and distribute verbatim copies of the Program's
96*8f44c3f5SXin Lisource code as you receive it, in any medium, provided that you
97*8f44c3f5SXin Liconspicuously and appropriately publish on each copy an appropriate
98*8f44c3f5SXin Licopyright notice and disclaimer of warranty; keep intact all the
99*8f44c3f5SXin Linotices that refer to this License and to the absence of any warranty;
100*8f44c3f5SXin Liand give any other recipients of the Program a copy of this License
101*8f44c3f5SXin Lialong with the Program.
102*8f44c3f5SXin Li
103*8f44c3f5SXin LiYou may charge a fee for the physical act of transferring a copy, and
104*8f44c3f5SXin Liyou may at your option offer warranty protection in exchange for a fee.
105*8f44c3f5SXin Li
106*8f44c3f5SXin Li  2. You may modify your copy or copies of the Program or any portion
107*8f44c3f5SXin Liof it, thus forming a work based on the Program, and copy and
108*8f44c3f5SXin Lidistribute such modifications or work under the terms of Section 1
109*8f44c3f5SXin Liabove, provided that you also meet all of these conditions:
110*8f44c3f5SXin Li
111*8f44c3f5SXin Li    a) You must cause the modified files to carry prominent notices
112*8f44c3f5SXin Li    stating that you changed the files and the date of any change.
113*8f44c3f5SXin Li
114*8f44c3f5SXin Li    b) You must cause any work that you distribute or publish, that in
115*8f44c3f5SXin Li    whole or in part contains or is derived from the Program or any
116*8f44c3f5SXin Li    part thereof, to be licensed as a whole at no charge to all third
117*8f44c3f5SXin Li    parties under the terms of this License.
118*8f44c3f5SXin Li
119*8f44c3f5SXin Li    c) If the modified program normally reads commands interactively
120*8f44c3f5SXin Li    when run, you must cause it, when started running for such
121*8f44c3f5SXin Li    interactive use in the most ordinary way, to print or display an
122*8f44c3f5SXin Li    announcement including an appropriate copyright notice and a
123*8f44c3f5SXin Li    notice that there is no warranty (or else, saying that you provide
124*8f44c3f5SXin Li    a warranty) and that users may redistribute the program under
125*8f44c3f5SXin Li    these conditions, and telling the user how to view a copy of this
126*8f44c3f5SXin Li    License.  (Exception: if the Program itself is interactive but
127*8f44c3f5SXin Li    does not normally print such an announcement, your work based on
128*8f44c3f5SXin Li    the Program is not required to print an announcement.)
129*8f44c3f5SXin Li
130*8f44c3f5SXin LiThese requirements apply to the modified work as a whole.  If
131*8f44c3f5SXin Liidentifiable sections of that work are not derived from the Program,
132*8f44c3f5SXin Liand can be reasonably considered independent and separate works in
133*8f44c3f5SXin Lithemselves, then this License, and its terms, do not apply to those
134*8f44c3f5SXin Lisections when you distribute them as separate works.  But when you
135*8f44c3f5SXin Lidistribute the same sections as part of a whole which is a work based
136*8f44c3f5SXin Lion the Program, the distribution of the whole must be on the terms of
137*8f44c3f5SXin Lithis License, whose permissions for other licensees extend to the
138*8f44c3f5SXin Lientire whole, and thus to each and every part regardless of who wrote it.
139*8f44c3f5SXin Li
140*8f44c3f5SXin LiThus, it is not the intent of this section to claim rights or contest
141*8f44c3f5SXin Liyour rights to work written entirely by you; rather, the intent is to
142*8f44c3f5SXin Liexercise the right to control the distribution of derivative or
143*8f44c3f5SXin Licollective works based on the Program.
144*8f44c3f5SXin Li
145*8f44c3f5SXin LiIn addition, mere aggregation of another work not based on the Program
146*8f44c3f5SXin Liwith the Program (or with a work based on the Program) on a volume of
147*8f44c3f5SXin Lia storage or distribution medium does not bring the other work under
148*8f44c3f5SXin Lithe scope of this License.
149*8f44c3f5SXin Li
150*8f44c3f5SXin Li  3. You may copy and distribute the Program (or a work based on it,
151*8f44c3f5SXin Liunder Section 2) in object code or executable form under the terms of
152*8f44c3f5SXin LiSections 1 and 2 above provided that you also do one of the following:
153*8f44c3f5SXin Li
154*8f44c3f5SXin Li    a) Accompany it with the complete corresponding machine-readable
155*8f44c3f5SXin Li    source code, which must be distributed under the terms of Sections
156*8f44c3f5SXin Li    1 and 2 above on a medium customarily used for software interchange; or,
157*8f44c3f5SXin Li
158*8f44c3f5SXin Li    b) Accompany it with a written offer, valid for at least three
159*8f44c3f5SXin Li    years, to give any third party, for a charge no more than your
160*8f44c3f5SXin Li    cost of physically performing source distribution, a complete
161*8f44c3f5SXin Li    machine-readable copy of the corresponding source code, to be
162*8f44c3f5SXin Li    distributed under the terms of Sections 1 and 2 above on a medium
163*8f44c3f5SXin Li    customarily used for software interchange; or,
164*8f44c3f5SXin Li
165*8f44c3f5SXin Li    c) Accompany it with the information you received as to the offer
166*8f44c3f5SXin Li    to distribute corresponding source code.  (This alternative is
167*8f44c3f5SXin Li    allowed only for noncommercial distribution and only if you
168*8f44c3f5SXin Li    received the program in object code or executable form with such
169*8f44c3f5SXin Li    an offer, in accord with Subsection b above.)
170*8f44c3f5SXin Li
171*8f44c3f5SXin LiThe source code for a work means the preferred form of the work for
172*8f44c3f5SXin Limaking modifications to it.  For an executable work, complete source
173*8f44c3f5SXin Licode means all the source code for all modules it contains, plus any
174*8f44c3f5SXin Liassociated interface definition files, plus the scripts used to
175*8f44c3f5SXin Licontrol compilation and installation of the executable.  However, as a
176*8f44c3f5SXin Lispecial exception, the source code distributed need not include
177*8f44c3f5SXin Lianything that is normally distributed (in either source or binary
178*8f44c3f5SXin Liform) with the major components (compiler, kernel, and so on) of the
179*8f44c3f5SXin Lioperating system on which the executable runs, unless that component
180*8f44c3f5SXin Liitself accompanies the executable.
181*8f44c3f5SXin Li
182*8f44c3f5SXin LiIf distribution of executable or object code is made by offering
183*8f44c3f5SXin Liaccess to copy from a designated place, then offering equivalent
184*8f44c3f5SXin Liaccess to copy the source code from the same place counts as
185*8f44c3f5SXin Lidistribution of the source code, even though third parties are not
186*8f44c3f5SXin Licompelled to copy the source along with the object code.
187*8f44c3f5SXin Li
188*8f44c3f5SXin Li  4. You may not copy, modify, sublicense, or distribute the Program
189*8f44c3f5SXin Liexcept as expressly provided under this License.  Any attempt
190*8f44c3f5SXin Liotherwise to copy, modify, sublicense or distribute the Program is
191*8f44c3f5SXin Livoid, and will automatically terminate your rights under this License.
192*8f44c3f5SXin LiHowever, parties who have received copies, or rights, from you under
193*8f44c3f5SXin Lithis License will not have their licenses terminated so long as such
194*8f44c3f5SXin Liparties remain in full compliance.
195*8f44c3f5SXin Li
196*8f44c3f5SXin Li  5. You are not required to accept this License, since you have not
197*8f44c3f5SXin Lisigned it.  However, nothing else grants you permission to modify or
198*8f44c3f5SXin Lidistribute the Program or its derivative works.  These actions are
199*8f44c3f5SXin Liprohibited by law if you do not accept this License.  Therefore, by
200*8f44c3f5SXin Limodifying or distributing the Program (or any work based on the
201*8f44c3f5SXin LiProgram), you indicate your acceptance of this License to do so, and
202*8f44c3f5SXin Liall its terms and conditions for copying, distributing or modifying
203*8f44c3f5SXin Lithe Program or works based on it.
204*8f44c3f5SXin Li
205*8f44c3f5SXin Li  6. Each time you redistribute the Program (or any work based on the
206*8f44c3f5SXin LiProgram), the recipient automatically receives a license from the
207*8f44c3f5SXin Lioriginal licensor to copy, distribute or modify the Program subject to
208*8f44c3f5SXin Lithese terms and conditions.  You may not impose any further
209*8f44c3f5SXin Lirestrictions on the recipients' exercise of the rights granted herein.
210*8f44c3f5SXin LiYou are not responsible for enforcing compliance by third parties to
211*8f44c3f5SXin Lithis License.
212*8f44c3f5SXin Li
213*8f44c3f5SXin Li  7. If, as a consequence of a court judgment or allegation of patent
214*8f44c3f5SXin Liinfringement or for any other reason (not limited to patent issues),
215*8f44c3f5SXin Liconditions are imposed on you (whether by court order, agreement or
216*8f44c3f5SXin Liotherwise) that contradict the conditions of this License, they do not
217*8f44c3f5SXin Liexcuse you from the conditions of this License.  If you cannot
218*8f44c3f5SXin Lidistribute so as to satisfy simultaneously your obligations under this
219*8f44c3f5SXin LiLicense and any other pertinent obligations, then as a consequence you
220*8f44c3f5SXin Limay not distribute the Program at all.  For example, if a patent
221*8f44c3f5SXin Lilicense would not permit royalty-free redistribution of the Program by
222*8f44c3f5SXin Liall those who receive copies directly or indirectly through you, then
223*8f44c3f5SXin Lithe only way you could satisfy both it and this License would be to
224*8f44c3f5SXin Lirefrain entirely from distribution of the Program.
225*8f44c3f5SXin Li
226*8f44c3f5SXin LiIf any portion of this section is held invalid or unenforceable under
227*8f44c3f5SXin Liany particular circumstance, the balance of the section is intended to
228*8f44c3f5SXin Liapply and the section as a whole is intended to apply in other
229*8f44c3f5SXin Licircumstances.
230*8f44c3f5SXin Li
231*8f44c3f5SXin LiIt is not the purpose of this section to induce you to infringe any
232*8f44c3f5SXin Lipatents or other property right claims or to contest validity of any
233*8f44c3f5SXin Lisuch claims; this section has the sole purpose of protecting the
234*8f44c3f5SXin Liintegrity of the free software distribution system, which is
235*8f44c3f5SXin Liimplemented by public license practices.  Many people have made
236*8f44c3f5SXin Ligenerous contributions to the wide range of software distributed
237*8f44c3f5SXin Lithrough that system in reliance on consistent application of that
238*8f44c3f5SXin Lisystem; it is up to the author/donor to decide if he or she is willing
239*8f44c3f5SXin Lito distribute software through any other system and a licensee cannot
240*8f44c3f5SXin Liimpose that choice.
241*8f44c3f5SXin Li
242*8f44c3f5SXin LiThis section is intended to make thoroughly clear what is believed to
243*8f44c3f5SXin Libe a consequence of the rest of this License.
244*8f44c3f5SXin Li
245*8f44c3f5SXin Li  8. If the distribution and/or use of the Program is restricted in
246*8f44c3f5SXin Licertain countries either by patents or by copyrighted interfaces, the
247*8f44c3f5SXin Lioriginal copyright holder who places the Program under this License
248*8f44c3f5SXin Limay add an explicit geographical distribution limitation excluding
249*8f44c3f5SXin Lithose countries, so that distribution is permitted only in or among
250*8f44c3f5SXin Licountries not thus excluded.  In such case, this License incorporates
251*8f44c3f5SXin Lithe limitation as if written in the body of this License.
252*8f44c3f5SXin Li
253*8f44c3f5SXin Li  9. The Free Software Foundation may publish revised and/or new versions
254*8f44c3f5SXin Liof the General Public License from time to time.  Such new versions will
255*8f44c3f5SXin Libe similar in spirit to the present version, but may differ in detail to
256*8f44c3f5SXin Liaddress new problems or concerns.
257*8f44c3f5SXin Li
258*8f44c3f5SXin LiEach version is given a distinguishing version number.  If the Program
259*8f44c3f5SXin Lispecifies a version number of this License which applies to it and "any
260*8f44c3f5SXin Lilater version", you have the option of following the terms and conditions
261*8f44c3f5SXin Lieither of that version or of any later version published by the Free
262*8f44c3f5SXin LiSoftware Foundation.  If the Program does not specify a version number of
263*8f44c3f5SXin Lithis License, you may choose any version ever published by the Free Software
264*8f44c3f5SXin LiFoundation.
265*8f44c3f5SXin Li
266*8f44c3f5SXin Li  10. If you wish to incorporate parts of the Program into other free
267*8f44c3f5SXin Liprograms whose distribution conditions are different, write to the author
268*8f44c3f5SXin Lito ask for permission.  For software which is copyrighted by the Free
269*8f44c3f5SXin LiSoftware Foundation, write to the Free Software Foundation; we sometimes
270*8f44c3f5SXin Limake exceptions for this.  Our decision will be guided by the two goals
271*8f44c3f5SXin Liof preserving the free status of all derivatives of our free software and
272*8f44c3f5SXin Liof promoting the sharing and reuse of software generally.
273*8f44c3f5SXin Li
274*8f44c3f5SXin Li			    NO WARRANTY
275*8f44c3f5SXin Li
276*8f44c3f5SXin Li  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
277*8f44c3f5SXin LiFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
278*8f44c3f5SXin LiOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
279*8f44c3f5SXin LiPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
280*8f44c3f5SXin LiOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
281*8f44c3f5SXin LiMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
282*8f44c3f5SXin LiTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
283*8f44c3f5SXin LiPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
284*8f44c3f5SXin LiREPAIR OR CORRECTION.
285*8f44c3f5SXin Li
286*8f44c3f5SXin Li  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
287*8f44c3f5SXin LiWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
288*8f44c3f5SXin LiREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
289*8f44c3f5SXin LiINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
290*8f44c3f5SXin LiOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
291*8f44c3f5SXin LiTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
292*8f44c3f5SXin LiYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
293*8f44c3f5SXin LiPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
294*8f44c3f5SXin LiPOSSIBILITY OF SUCH DAMAGES.
295*8f44c3f5SXin Li
296*8f44c3f5SXin Li		     END OF TERMS AND CONDITIONS
297*8f44c3f5SXin Li
298*8f44c3f5SXin Li	    How to Apply These Terms to Your New Programs
299*8f44c3f5SXin Li
300*8f44c3f5SXin Li  If you develop a new program, and you want it to be of the greatest
301*8f44c3f5SXin Lipossible use to the public, the best way to achieve this is to make it
302*8f44c3f5SXin Lifree software which everyone can redistribute and change under these terms.
303*8f44c3f5SXin Li
304*8f44c3f5SXin Li  To do so, attach the following notices to the program.  It is safest
305*8f44c3f5SXin Lito attach them to the start of each source file to most effectively
306*8f44c3f5SXin Liconvey the exclusion of warranty; and each file should have at least
307*8f44c3f5SXin Lithe "copyright" line and a pointer to where the full notice is found.
308*8f44c3f5SXin Li
309*8f44c3f5SXin Li    <one line to give the program's name and a brief idea of what it does.>
310*8f44c3f5SXin Li    Copyright (C) <year>  <name of author>
311*8f44c3f5SXin Li
312*8f44c3f5SXin Li    This program is free software; you can redistribute it and/or modify
313*8f44c3f5SXin Li    it under the terms of the GNU General Public License as published by
314*8f44c3f5SXin Li    the Free Software Foundation; either version 2 of the License, or
315*8f44c3f5SXin Li    (at your option) any later version.
316*8f44c3f5SXin Li
317*8f44c3f5SXin Li    This program is distributed in the hope that it will be useful,
318*8f44c3f5SXin Li    but WITHOUT ANY WARRANTY; without even the implied warranty of
319*8f44c3f5SXin Li    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
320*8f44c3f5SXin Li    GNU General Public License for more details.
321*8f44c3f5SXin Li
322*8f44c3f5SXin Li    You should have received a copy of the GNU General Public License
323*8f44c3f5SXin Li    along with this program; if not, write to the Free Software
324*8f44c3f5SXin Li    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
325*8f44c3f5SXin Li
326*8f44c3f5SXin Li
327*8f44c3f5SXin LiAlso add information on how to contact you by electronic and paper mail.
328*8f44c3f5SXin Li
329*8f44c3f5SXin LiIf the program is interactive, make it output a short notice like this
330*8f44c3f5SXin Liwhen it starts in an interactive mode:
331*8f44c3f5SXin Li
332*8f44c3f5SXin Li    Gnomovision version 69, Copyright (C) year name of author
333*8f44c3f5SXin Li    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
334*8f44c3f5SXin Li    This is free software, and you are welcome to redistribute it
335*8f44c3f5SXin Li    under certain conditions; type `show c' for details.
336*8f44c3f5SXin Li
337*8f44c3f5SXin LiThe hypothetical commands `show w' and `show c' should show the appropriate
338*8f44c3f5SXin Liparts of the General Public License.  Of course, the commands you use may
339*8f44c3f5SXin Libe called something other than `show w' and `show c'; they could even be
340*8f44c3f5SXin Limouse-clicks or menu items--whatever suits your program.
341*8f44c3f5SXin Li
342*8f44c3f5SXin LiYou should also get your employer (if you work as a programmer) or your
343*8f44c3f5SXin Lischool, if any, to sign a "copyright disclaimer" for the program, if
344*8f44c3f5SXin Linecessary.  Here is a sample; alter the names:
345*8f44c3f5SXin Li
346*8f44c3f5SXin Li  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
347*8f44c3f5SXin Li  `Gnomovision' (which makes passes at compilers) written by James Hacker.
348*8f44c3f5SXin Li
349*8f44c3f5SXin Li  <signature of Ty Coon>, 1 April 1989
350*8f44c3f5SXin Li  Ty Coon, President of Vice
351*8f44c3f5SXin Li
352*8f44c3f5SXin LiThis General Public License does not permit incorporating your program into
353*8f44c3f5SXin Liproprietary programs.  If your program is a subroutine library, you may
354*8f44c3f5SXin Liconsider it more useful to permit linking proprietary applications with the
355*8f44c3f5SXin Lilibrary.  If this is what you want to do, use the GNU Library General
356*8f44c3f5SXin LiPublic License instead of this License.
357