11da177e4SLinus Torvalds 21da177e4SLinus Torvalds NOTE! This copyright does *not* cover user programs that use kernel 31da177e4SLinus Torvalds services by normal system calls - this is merely considered normal use 41da177e4SLinus Torvalds of the kernel, and does *not* fall under the heading of "derived work". 51da177e4SLinus Torvalds Also note that the GPL below is copyrighted by the Free Software 61da177e4SLinus Torvalds Foundation, but the instance of code that it refers to (the Linux 71da177e4SLinus Torvalds kernel) is copyrighted by me and others who actually wrote it. 81da177e4SLinus Torvalds 91da177e4SLinus Torvalds Also note that the only valid version of the GPL as far as the kernel 101da177e4SLinus Torvalds is concerned is _this_ particular version of the license (ie v2, not 111da177e4SLinus Torvalds v2.2 or v3.x or whatever), unless explicitly otherwise stated. 121da177e4SLinus Torvalds 131da177e4SLinus Torvalds Linus Torvalds 141da177e4SLinus Torvalds 151da177e4SLinus Torvalds---------------------------------------- 161da177e4SLinus Torvalds 171da177e4SLinus Torvalds GNU GENERAL PUBLIC LICENSE 181da177e4SLinus Torvalds Version 2, June 1991 191da177e4SLinus Torvalds 201da177e4SLinus Torvalds Copyright (C) 1989, 1991 Free Software Foundation, Inc. 211da177e4SLinus Torvalds 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 221da177e4SLinus Torvalds Everyone is permitted to copy and distribute verbatim copies 231da177e4SLinus Torvalds of this license document, but changing it is not allowed. 241da177e4SLinus Torvalds 251da177e4SLinus Torvalds Preamble 261da177e4SLinus Torvalds 271da177e4SLinus Torvalds The licenses for most software are designed to take away your 281da177e4SLinus Torvaldsfreedom to share and change it. By contrast, the GNU General Public 291da177e4SLinus TorvaldsLicense is intended to guarantee your freedom to share and change free 301da177e4SLinus Torvaldssoftware--to make sure the software is free for all its users. This 311da177e4SLinus TorvaldsGeneral Public License applies to most of the Free Software 321da177e4SLinus TorvaldsFoundation's software and to any other program whose authors commit to 331da177e4SLinus Torvaldsusing it. (Some other Free Software Foundation software is covered by 341da177e4SLinus Torvaldsthe GNU Library General Public License instead.) You can apply it to 351da177e4SLinus Torvaldsyour programs, too. 361da177e4SLinus Torvalds 371da177e4SLinus Torvalds When we speak of free software, we are referring to freedom, not 381da177e4SLinus Torvaldsprice. Our General Public Licenses are designed to make sure that you 391da177e4SLinus Torvaldshave the freedom to distribute copies of free software (and charge for 401da177e4SLinus Torvaldsthis service if you wish), that you receive source code or can get it 411da177e4SLinus Torvaldsif you want it, that you can change the software or use pieces of it 421da177e4SLinus Torvaldsin new free programs; and that you know you can do these things. 431da177e4SLinus Torvalds 441da177e4SLinus Torvalds To protect your rights, we need to make restrictions that forbid 451da177e4SLinus Torvaldsanyone to deny you these rights or to ask you to surrender the rights. 461da177e4SLinus TorvaldsThese restrictions translate to certain responsibilities for you if you 471da177e4SLinus Torvaldsdistribute copies of the software, or if you modify it. 481da177e4SLinus Torvalds 491da177e4SLinus Torvalds For example, if you distribute copies of such a program, whether 501da177e4SLinus Torvaldsgratis or for a fee, you must give the recipients all the rights that 511da177e4SLinus Torvaldsyou have. You must make sure that they, too, receive or can get the 521da177e4SLinus Torvaldssource code. And you must show them these terms so they know their 531da177e4SLinus Torvaldsrights. 541da177e4SLinus Torvalds 551da177e4SLinus Torvalds We protect your rights with two steps: (1) copyright the software, and 561da177e4SLinus Torvalds(2) offer you this license which gives you legal permission to copy, 571da177e4SLinus Torvaldsdistribute and/or modify the software. 581da177e4SLinus Torvalds 591da177e4SLinus Torvalds Also, for each author's protection and ours, we want to make certain 601da177e4SLinus Torvaldsthat everyone understands that there is no warranty for this free 611da177e4SLinus Torvaldssoftware. If the software is modified by someone else and passed on, we 621da177e4SLinus Torvaldswant its recipients to know that what they have is not the original, so 631da177e4SLinus Torvaldsthat any problems introduced by others will not reflect on the original 641da177e4SLinus Torvaldsauthors' reputations. 651da177e4SLinus Torvalds 661da177e4SLinus Torvalds Finally, any free program is threatened constantly by software 671da177e4SLinus Torvaldspatents. We wish to avoid the danger that redistributors of a free 681da177e4SLinus Torvaldsprogram will individually obtain patent licenses, in effect making the 691da177e4SLinus Torvaldsprogram proprietary. To prevent this, we have made it clear that any 701da177e4SLinus Torvaldspatent must be licensed for everyone's free use or not licensed at all. 711da177e4SLinus Torvalds 721da177e4SLinus Torvalds The precise terms and conditions for copying, distribution and 731da177e4SLinus Torvaldsmodification follow. 741da177e4SLinus Torvalds 751da177e4SLinus Torvalds GNU GENERAL PUBLIC LICENSE 761da177e4SLinus Torvalds TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 771da177e4SLinus Torvalds 781da177e4SLinus Torvalds 0. This License applies to any program or other work which contains 791da177e4SLinus Torvaldsa notice placed by the copyright holder saying it may be distributed 801da177e4SLinus Torvaldsunder the terms of this General Public License. The "Program", below, 811da177e4SLinus Torvaldsrefers to any such program or work, and a "work based on the Program" 821da177e4SLinus Torvaldsmeans either the Program or any derivative work under copyright law: 831da177e4SLinus Torvaldsthat is to say, a work containing the Program or a portion of it, 841da177e4SLinus Torvaldseither verbatim or with modifications and/or translated into another 851da177e4SLinus Torvaldslanguage. (Hereinafter, translation is included without limitation in 861da177e4SLinus Torvaldsthe term "modification".) Each licensee is addressed as "you". 871da177e4SLinus Torvalds 881da177e4SLinus TorvaldsActivities other than copying, distribution and modification are not 891da177e4SLinus Torvaldscovered by this License; they are outside its scope. The act of 901da177e4SLinus Torvaldsrunning the Program is not restricted, and the output from the Program 911da177e4SLinus Torvaldsis covered only if its contents constitute a work based on the 921da177e4SLinus TorvaldsProgram (independent of having been made by running the Program). 931da177e4SLinus TorvaldsWhether that is true depends on what the Program does. 941da177e4SLinus Torvalds 951da177e4SLinus Torvalds 1. You may copy and distribute verbatim copies of the Program's 961da177e4SLinus Torvaldssource code as you receive it, in any medium, provided that you 971da177e4SLinus Torvaldsconspicuously and appropriately publish on each copy an appropriate 981da177e4SLinus Torvaldscopyright notice and disclaimer of warranty; keep intact all the 991da177e4SLinus Torvaldsnotices that refer to this License and to the absence of any warranty; 1001da177e4SLinus Torvaldsand give any other recipients of the Program a copy of this License 1011da177e4SLinus Torvaldsalong with the Program. 1021da177e4SLinus Torvalds 1031da177e4SLinus TorvaldsYou may charge a fee for the physical act of transferring a copy, and 1041da177e4SLinus Torvaldsyou may at your option offer warranty protection in exchange for a fee. 1051da177e4SLinus Torvalds 1061da177e4SLinus Torvalds 2. You may modify your copy or copies of the Program or any portion 1071da177e4SLinus Torvaldsof it, thus forming a work based on the Program, and copy and 1081da177e4SLinus Torvaldsdistribute such modifications or work under the terms of Section 1 1091da177e4SLinus Torvaldsabove, provided that you also meet all of these conditions: 1101da177e4SLinus Torvalds 1111da177e4SLinus Torvalds a) You must cause the modified files to carry prominent notices 1121da177e4SLinus Torvalds stating that you changed the files and the date of any change. 1131da177e4SLinus Torvalds 1141da177e4SLinus Torvalds b) You must cause any work that you distribute or publish, that in 1151da177e4SLinus Torvalds whole or in part contains or is derived from the Program or any 1161da177e4SLinus Torvalds part thereof, to be licensed as a whole at no charge to all third 1171da177e4SLinus Torvalds parties under the terms of this License. 1181da177e4SLinus Torvalds 1191da177e4SLinus Torvalds c) If the modified program normally reads commands interactively 1201da177e4SLinus Torvalds when run, you must cause it, when started running for such 1211da177e4SLinus Torvalds interactive use in the most ordinary way, to print or display an 1221da177e4SLinus Torvalds announcement including an appropriate copyright notice and a 1231da177e4SLinus Torvalds notice that there is no warranty (or else, saying that you provide 1241da177e4SLinus Torvalds a warranty) and that users may redistribute the program under 1251da177e4SLinus Torvalds these conditions, and telling the user how to view a copy of this 1261da177e4SLinus Torvalds License. (Exception: if the Program itself is interactive but 1271da177e4SLinus Torvalds does not normally print such an announcement, your work based on 1281da177e4SLinus Torvalds the Program is not required to print an announcement.) 1291da177e4SLinus Torvalds 1301da177e4SLinus TorvaldsThese requirements apply to the modified work as a whole. If 1311da177e4SLinus Torvaldsidentifiable sections of that work are not derived from the Program, 1321da177e4SLinus Torvaldsand can be reasonably considered independent and separate works in 1331da177e4SLinus Torvaldsthemselves, then this License, and its terms, do not apply to those 1341da177e4SLinus Torvaldssections when you distribute them as separate works. But when you 1351da177e4SLinus Torvaldsdistribute the same sections as part of a whole which is a work based 1361da177e4SLinus Torvaldson the Program, the distribution of the whole must be on the terms of 1371da177e4SLinus Torvaldsthis License, whose permissions for other licensees extend to the 1381da177e4SLinus Torvaldsentire whole, and thus to each and every part regardless of who wrote it. 1391da177e4SLinus Torvalds 1401da177e4SLinus TorvaldsThus, it is not the intent of this section to claim rights or contest 1411da177e4SLinus Torvaldsyour rights to work written entirely by you; rather, the intent is to 1421da177e4SLinus Torvaldsexercise the right to control the distribution of derivative or 1431da177e4SLinus Torvaldscollective works based on the Program. 1441da177e4SLinus Torvalds 1451da177e4SLinus TorvaldsIn addition, mere aggregation of another work not based on the Program 1461da177e4SLinus Torvaldswith the Program (or with a work based on the Program) on a volume of 1471da177e4SLinus Torvaldsa storage or distribution medium does not bring the other work under 1481da177e4SLinus Torvaldsthe scope of this License. 1491da177e4SLinus Torvalds 1501da177e4SLinus Torvalds 3. You may copy and distribute the Program (or a work based on it, 1511da177e4SLinus Torvaldsunder Section 2) in object code or executable form under the terms of 1521da177e4SLinus TorvaldsSections 1 and 2 above provided that you also do one of the following: 1531da177e4SLinus Torvalds 1541da177e4SLinus Torvalds a) Accompany it with the complete corresponding machine-readable 1551da177e4SLinus Torvalds source code, which must be distributed under the terms of Sections 1561da177e4SLinus Torvalds 1 and 2 above on a medium customarily used for software interchange; or, 1571da177e4SLinus Torvalds 1581da177e4SLinus Torvalds b) Accompany it with a written offer, valid for at least three 1591da177e4SLinus Torvalds years, to give any third party, for a charge no more than your 1601da177e4SLinus Torvalds cost of physically performing source distribution, a complete 1611da177e4SLinus Torvalds machine-readable copy of the corresponding source code, to be 1621da177e4SLinus Torvalds distributed under the terms of Sections 1 and 2 above on a medium 1631da177e4SLinus Torvalds customarily used for software interchange; or, 1641da177e4SLinus Torvalds 1651da177e4SLinus Torvalds c) Accompany it with the information you received as to the offer 1661da177e4SLinus Torvalds to distribute corresponding source code. (This alternative is 1671da177e4SLinus Torvalds allowed only for noncommercial distribution and only if you 1681da177e4SLinus Torvalds received the program in object code or executable form with such 1691da177e4SLinus Torvalds an offer, in accord with Subsection b above.) 1701da177e4SLinus Torvalds 1711da177e4SLinus TorvaldsThe source code for a work means the preferred form of the work for 1721da177e4SLinus Torvaldsmaking modifications to it. For an executable work, complete source 1731da177e4SLinus Torvaldscode means all the source code for all modules it contains, plus any 1741da177e4SLinus Torvaldsassociated interface definition files, plus the scripts used to 1751da177e4SLinus Torvaldscontrol compilation and installation of the executable. However, as a 1761da177e4SLinus Torvaldsspecial exception, the source code distributed need not include 1771da177e4SLinus Torvaldsanything that is normally distributed (in either source or binary 1781da177e4SLinus Torvaldsform) with the major components (compiler, kernel, and so on) of the 1791da177e4SLinus Torvaldsoperating system on which the executable runs, unless that component 1801da177e4SLinus Torvaldsitself accompanies the executable. 1811da177e4SLinus Torvalds 1821da177e4SLinus TorvaldsIf distribution of executable or object code is made by offering 1831da177e4SLinus Torvaldsaccess to copy from a designated place, then offering equivalent 1841da177e4SLinus Torvaldsaccess to copy the source code from the same place counts as 1851da177e4SLinus Torvaldsdistribution of the source code, even though third parties are not 1861da177e4SLinus Torvaldscompelled to copy the source along with the object code. 1871da177e4SLinus Torvalds 1881da177e4SLinus Torvalds 4. You may not copy, modify, sublicense, or distribute the Program 1891da177e4SLinus Torvaldsexcept as expressly provided under this License. Any attempt 1901da177e4SLinus Torvaldsotherwise to copy, modify, sublicense or distribute the Program is 1911da177e4SLinus Torvaldsvoid, and will automatically terminate your rights under this License. 1921da177e4SLinus TorvaldsHowever, parties who have received copies, or rights, from you under 1931da177e4SLinus Torvaldsthis License will not have their licenses terminated so long as such 1941da177e4SLinus Torvaldsparties remain in full compliance. 1951da177e4SLinus Torvalds 1961da177e4SLinus Torvalds 5. You are not required to accept this License, since you have not 1971da177e4SLinus Torvaldssigned it. However, nothing else grants you permission to modify or 1981da177e4SLinus Torvaldsdistribute the Program or its derivative works. These actions are 1991da177e4SLinus Torvaldsprohibited by law if you do not accept this License. Therefore, by 2001da177e4SLinus Torvaldsmodifying or distributing the Program (or any work based on the 2011da177e4SLinus TorvaldsProgram), you indicate your acceptance of this License to do so, and 2021da177e4SLinus Torvaldsall its terms and conditions for copying, distributing or modifying 2031da177e4SLinus Torvaldsthe Program or works based on it. 2041da177e4SLinus Torvalds 2051da177e4SLinus Torvalds 6. Each time you redistribute the Program (or any work based on the 2061da177e4SLinus TorvaldsProgram), the recipient automatically receives a license from the 2071da177e4SLinus Torvaldsoriginal licensor to copy, distribute or modify the Program subject to 2081da177e4SLinus Torvaldsthese terms and conditions. You may not impose any further 2091da177e4SLinus Torvaldsrestrictions on the recipients' exercise of the rights granted herein. 2101da177e4SLinus TorvaldsYou are not responsible for enforcing compliance by third parties to 2111da177e4SLinus Torvaldsthis License. 2121da177e4SLinus Torvalds 2131da177e4SLinus Torvalds 7. If, as a consequence of a court judgment or allegation of patent 2141da177e4SLinus Torvaldsinfringement or for any other reason (not limited to patent issues), 2151da177e4SLinus Torvaldsconditions are imposed on you (whether by court order, agreement or 2161da177e4SLinus Torvaldsotherwise) that contradict the conditions of this License, they do not 2171da177e4SLinus Torvaldsexcuse you from the conditions of this License. If you cannot 2181da177e4SLinus Torvaldsdistribute so as to satisfy simultaneously your obligations under this 2191da177e4SLinus TorvaldsLicense and any other pertinent obligations, then as a consequence you 2201da177e4SLinus Torvaldsmay not distribute the Program at all. For example, if a patent 2211da177e4SLinus Torvaldslicense would not permit royalty-free redistribution of the Program by 2221da177e4SLinus Torvaldsall those who receive copies directly or indirectly through you, then 2231da177e4SLinus Torvaldsthe only way you could satisfy both it and this License would be to 2241da177e4SLinus Torvaldsrefrain entirely from distribution of the Program. 2251da177e4SLinus Torvalds 2261da177e4SLinus TorvaldsIf any portion of this section is held invalid or unenforceable under 2271da177e4SLinus Torvaldsany particular circumstance, the balance of the section is intended to 2281da177e4SLinus Torvaldsapply and the section as a whole is intended to apply in other 2291da177e4SLinus Torvaldscircumstances. 2301da177e4SLinus Torvalds 2311da177e4SLinus TorvaldsIt is not the purpose of this section to induce you to infringe any 2321da177e4SLinus Torvaldspatents or other property right claims or to contest validity of any 2331da177e4SLinus Torvaldssuch claims; this section has the sole purpose of protecting the 2341da177e4SLinus Torvaldsintegrity of the free software distribution system, which is 2351da177e4SLinus Torvaldsimplemented by public license practices. Many people have made 2361da177e4SLinus Torvaldsgenerous contributions to the wide range of software distributed 2371da177e4SLinus Torvaldsthrough that system in reliance on consistent application of that 2381da177e4SLinus Torvaldssystem; it is up to the author/donor to decide if he or she is willing 2391da177e4SLinus Torvaldsto distribute software through any other system and a licensee cannot 2401da177e4SLinus Torvaldsimpose that choice. 2411da177e4SLinus Torvalds 2421da177e4SLinus TorvaldsThis section is intended to make thoroughly clear what is believed to 2431da177e4SLinus Torvaldsbe a consequence of the rest of this License. 2441da177e4SLinus Torvalds 2451da177e4SLinus Torvalds 8. If the distribution and/or use of the Program is restricted in 2461da177e4SLinus Torvaldscertain countries either by patents or by copyrighted interfaces, the 2471da177e4SLinus Torvaldsoriginal copyright holder who places the Program under this License 2481da177e4SLinus Torvaldsmay add an explicit geographical distribution limitation excluding 2491da177e4SLinus Torvaldsthose countries, so that distribution is permitted only in or among 2501da177e4SLinus Torvaldscountries not thus excluded. In such case, this License incorporates 2511da177e4SLinus Torvaldsthe limitation as if written in the body of this License. 2521da177e4SLinus Torvalds 2531da177e4SLinus Torvalds 9. The Free Software Foundation may publish revised and/or new versions 2541da177e4SLinus Torvaldsof the General Public License from time to time. Such new versions will 2551da177e4SLinus Torvaldsbe similar in spirit to the present version, but may differ in detail to 2561da177e4SLinus Torvaldsaddress new problems or concerns. 2571da177e4SLinus Torvalds 2581da177e4SLinus TorvaldsEach version is given a distinguishing version number. If the Program 2591da177e4SLinus Torvaldsspecifies a version number of this License which applies to it and "any 2601da177e4SLinus Torvaldslater version", you have the option of following the terms and conditions 2611da177e4SLinus Torvaldseither of that version or of any later version published by the Free 2621da177e4SLinus TorvaldsSoftware Foundation. If the Program does not specify a version number of 2631da177e4SLinus Torvaldsthis License, you may choose any version ever published by the Free Software 2641da177e4SLinus TorvaldsFoundation. 2651da177e4SLinus Torvalds 2661da177e4SLinus Torvalds 10. If you wish to incorporate parts of the Program into other free 2671da177e4SLinus Torvaldsprograms whose distribution conditions are different, write to the author 2681da177e4SLinus Torvaldsto ask for permission. For software which is copyrighted by the Free 2691da177e4SLinus TorvaldsSoftware Foundation, write to the Free Software Foundation; we sometimes 2701da177e4SLinus Torvaldsmake exceptions for this. Our decision will be guided by the two goals 2711da177e4SLinus Torvaldsof preserving the free status of all derivatives of our free software and 2721da177e4SLinus Torvaldsof promoting the sharing and reuse of software generally. 2731da177e4SLinus Torvalds 2741da177e4SLinus Torvalds NO WARRANTY 2751da177e4SLinus Torvalds 2761da177e4SLinus Torvalds 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 2771da177e4SLinus TorvaldsFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 2781da177e4SLinus TorvaldsOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 2791da177e4SLinus TorvaldsPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 2801da177e4SLinus TorvaldsOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2811da177e4SLinus TorvaldsMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 2821da177e4SLinus TorvaldsTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 2831da177e4SLinus TorvaldsPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 2841da177e4SLinus TorvaldsREPAIR OR CORRECTION. 2851da177e4SLinus Torvalds 2861da177e4SLinus Torvalds 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 2871da177e4SLinus TorvaldsWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 2881da177e4SLinus TorvaldsREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 2891da177e4SLinus TorvaldsINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 2901da177e4SLinus TorvaldsOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 2911da177e4SLinus TorvaldsTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 2921da177e4SLinus TorvaldsYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 2931da177e4SLinus TorvaldsPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 2941da177e4SLinus TorvaldsPOSSIBILITY OF SUCH DAMAGES. 2951da177e4SLinus Torvalds 2961da177e4SLinus Torvalds END OF TERMS AND CONDITIONS 2971da177e4SLinus Torvalds 2981da177e4SLinus Torvalds How to Apply These Terms to Your New Programs 2991da177e4SLinus Torvalds 3001da177e4SLinus Torvalds If you develop a new program, and you want it to be of the greatest 3011da177e4SLinus Torvaldspossible use to the public, the best way to achieve this is to make it 3021da177e4SLinus Torvaldsfree software which everyone can redistribute and change under these terms. 3031da177e4SLinus Torvalds 3041da177e4SLinus Torvalds To do so, attach the following notices to the program. It is safest 3051da177e4SLinus Torvaldsto attach them to the start of each source file to most effectively 3061da177e4SLinus Torvaldsconvey the exclusion of warranty; and each file should have at least 3071da177e4SLinus Torvaldsthe "copyright" line and a pointer to where the full notice is found. 3081da177e4SLinus Torvalds 3091da177e4SLinus Torvalds <one line to give the program's name and a brief idea of what it does.> 3101da177e4SLinus Torvalds Copyright (C) <year> <name of author> 3111da177e4SLinus Torvalds 3121da177e4SLinus Torvalds This program is free software; you can redistribute it and/or modify 3131da177e4SLinus Torvalds it under the terms of the GNU General Public License as published by 3141da177e4SLinus Torvalds the Free Software Foundation; either version 2 of the License, or 3151da177e4SLinus Torvalds (at your option) any later version. 3161da177e4SLinus Torvalds 3171da177e4SLinus Torvalds This program is distributed in the hope that it will be useful, 3181da177e4SLinus Torvalds but WITHOUT ANY WARRANTY; without even the implied warranty of 3191da177e4SLinus Torvalds MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3201da177e4SLinus Torvalds GNU General Public License for more details. 3211da177e4SLinus Torvalds 3221da177e4SLinus Torvalds You should have received a copy of the GNU General Public License 3231da177e4SLinus Torvalds along with this program; if not, write to the Free Software 3241da177e4SLinus Torvalds Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 3251da177e4SLinus Torvalds 3261da177e4SLinus Torvalds 3271da177e4SLinus TorvaldsAlso add information on how to contact you by electronic and paper mail. 3281da177e4SLinus Torvalds 3291da177e4SLinus TorvaldsIf the program is interactive, make it output a short notice like this 3301da177e4SLinus Torvaldswhen it starts in an interactive mode: 3311da177e4SLinus Torvalds 3321da177e4SLinus Torvalds Gnomovision version 69, Copyright (C) year name of author 3331da177e4SLinus Torvalds Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 3341da177e4SLinus Torvalds This is free software, and you are welcome to redistribute it 3351da177e4SLinus Torvalds under certain conditions; type `show c' for details. 3361da177e4SLinus Torvalds 3371da177e4SLinus TorvaldsThe hypothetical commands `show w' and `show c' should show the appropriate 3381da177e4SLinus Torvaldsparts of the General Public License. Of course, the commands you use may 3391da177e4SLinus Torvaldsbe called something other than `show w' and `show c'; they could even be 3401da177e4SLinus Torvaldsmouse-clicks or menu items--whatever suits your program. 3411da177e4SLinus Torvalds 3421da177e4SLinus TorvaldsYou should also get your employer (if you work as a programmer) or your 3431da177e4SLinus Torvaldsschool, if any, to sign a "copyright disclaimer" for the program, if 3441da177e4SLinus Torvaldsnecessary. Here is a sample; alter the names: 3451da177e4SLinus Torvalds 3461da177e4SLinus Torvalds Yoyodyne, Inc., hereby disclaims all copyright interest in the program 3471da177e4SLinus Torvalds `Gnomovision' (which makes passes at compilers) written by James Hacker. 3481da177e4SLinus Torvalds 3491da177e4SLinus Torvalds <signature of Ty Coon>, 1 April 1989 3501da177e4SLinus Torvalds Ty Coon, President of Vice 3511da177e4SLinus Torvalds 3521da177e4SLinus TorvaldsThis General Public License does not permit incorporating your program into 3531da177e4SLinus Torvaldsproprietary programs. If your program is a subroutine library, you may 3541da177e4SLinus Torvaldsconsider it more useful to permit linking proprietary applications with the 3551da177e4SLinus Torvaldslibrary. If this is what you want to do, use the GNU Library General 3561da177e4SLinus TorvaldsPublic License instead of this License. 357