1*1a3d31e3SAndroid Build Coastguard Worker Copyright (C) 1997, 2002, 2005 Free Software Foundation, Inc. 2*1a3d31e3SAndroid Build Coastguard Worker * Copyright (C) 2005 Jens Axboe <[email protected]> 3*1a3d31e3SAndroid Build Coastguard Worker * Copyright (C) 2006 Alan D. Brunelle <[email protected]> 4*1a3d31e3SAndroid Build Coastguard Worker * Copyright (C) 2006 Jens Axboe <[email protected]> 5*1a3d31e3SAndroid Build Coastguard Worker * Copyright (C) 2006. Bob Jenkins ([email protected]) 6*1a3d31e3SAndroid Build Coastguard Worker * Copyright (C) 2009 Jozsef Kadlecsik ([email protected]) 7*1a3d31e3SAndroid Build Coastguard Worker * Copyright IBM Corp. 2008 8*1a3d31e3SAndroid Build Coastguard Worker# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. 9*1a3d31e3SAndroid Build Coastguard Worker# Copyright (c) 2005 Silicon Graphics, Inc. 10*1a3d31e3SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 11*1a3d31e3SAndroid Build Coastguard Worker Version 2, June 1991 12*1a3d31e3SAndroid Build Coastguard Worker 13*1a3d31e3SAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc. 14*1a3d31e3SAndroid Build Coastguard Worker 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15*1a3d31e3SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 16*1a3d31e3SAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 17*1a3d31e3SAndroid Build Coastguard Worker 18*1a3d31e3SAndroid Build Coastguard Worker Preamble 19*1a3d31e3SAndroid Build Coastguard Worker 20*1a3d31e3SAndroid Build Coastguard Worker The licenses for most software are designed to take away your 21*1a3d31e3SAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 22*1a3d31e3SAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free 23*1a3d31e3SAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users. This 24*1a3d31e3SAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software 25*1a3d31e3SAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to 26*1a3d31e3SAndroid Build Coastguard Workerusing it. (Some other Free Software Foundation software is covered by 27*1a3d31e3SAndroid Build Coastguard Workerthe GNU Library General Public License instead.) You can apply it to 28*1a3d31e3SAndroid Build Coastguard Workeryour programs, too. 29*1a3d31e3SAndroid Build Coastguard Worker 30*1a3d31e3SAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom, not 31*1a3d31e3SAndroid Build Coastguard Workerprice. Our General Public Licenses are designed to make sure that you 32*1a3d31e3SAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for 33*1a3d31e3SAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it 34*1a3d31e3SAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it 35*1a3d31e3SAndroid Build Coastguard Workerin new free programs; and that you know you can do these things. 36*1a3d31e3SAndroid Build Coastguard Worker 37*1a3d31e3SAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 38*1a3d31e3SAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights. 39*1a3d31e3SAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you 40*1a3d31e3SAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it. 41*1a3d31e3SAndroid Build Coastguard Worker 42*1a3d31e3SAndroid Build Coastguard Worker For example, if you distribute copies of such a program, whether 43*1a3d31e3SAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that 44*1a3d31e3SAndroid Build Coastguard Workeryou have. You must make sure that they, too, receive or can get the 45*1a3d31e3SAndroid Build Coastguard Workersource code. And you must show them these terms so they know their 46*1a3d31e3SAndroid Build Coastguard Workerrights. 47*1a3d31e3SAndroid Build Coastguard Worker 48*1a3d31e3SAndroid Build Coastguard Worker We protect your rights with two steps: (1) copyright the software, and 49*1a3d31e3SAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy, 50*1a3d31e3SAndroid Build Coastguard Workerdistribute and/or modify the software. 51*1a3d31e3SAndroid Build Coastguard Worker 52*1a3d31e3SAndroid Build Coastguard Worker Also, for each author's protection and ours, we want to make certain 53*1a3d31e3SAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free 54*1a3d31e3SAndroid Build Coastguard Workersoftware. If the software is modified by someone else and passed on, we 55*1a3d31e3SAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so 56*1a3d31e3SAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original 57*1a3d31e3SAndroid Build Coastguard Workerauthors' reputations. 58*1a3d31e3SAndroid Build Coastguard Worker 59*1a3d31e3SAndroid Build Coastguard Worker Finally, any free program is threatened constantly by software 60*1a3d31e3SAndroid Build Coastguard Workerpatents. We wish to avoid the danger that redistributors of a free 61*1a3d31e3SAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the 62*1a3d31e3SAndroid Build Coastguard Workerprogram proprietary. To prevent this, we have made it clear that any 63*1a3d31e3SAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all. 64*1a3d31e3SAndroid Build Coastguard Worker 65*1a3d31e3SAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 66*1a3d31e3SAndroid Build Coastguard Workermodification follow. 67*1a3d31e3SAndroid Build Coastguard Worker 68*1a3d31e3SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 69*1a3d31e3SAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 70*1a3d31e3SAndroid Build Coastguard Worker 71*1a3d31e3SAndroid Build Coastguard Worker 0. This License applies to any program or other work which contains 72*1a3d31e3SAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed 73*1a3d31e3SAndroid Build Coastguard Workerunder the terms of this General Public License. The "Program", below, 74*1a3d31e3SAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program" 75*1a3d31e3SAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law: 76*1a3d31e3SAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it, 77*1a3d31e3SAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another 78*1a3d31e3SAndroid Build Coastguard Workerlanguage. (Hereinafter, translation is included without limitation in 79*1a3d31e3SAndroid Build Coastguard Workerthe term "modification".) Each licensee is addressed as "you". 80*1a3d31e3SAndroid Build Coastguard Worker 81*1a3d31e3SAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not 82*1a3d31e3SAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 83*1a3d31e3SAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program 84*1a3d31e3SAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the 85*1a3d31e3SAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program). 86*1a3d31e3SAndroid Build Coastguard WorkerWhether that is true depends on what the Program does. 87*1a3d31e3SAndroid Build Coastguard Worker 88*1a3d31e3SAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Program's 89*1a3d31e3SAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you 90*1a3d31e3SAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate 91*1a3d31e3SAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the 92*1a3d31e3SAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty; 93*1a3d31e3SAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License 94*1a3d31e3SAndroid Build Coastguard Workeralong with the Program. 95*1a3d31e3SAndroid Build Coastguard Worker 96*1a3d31e3SAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and 97*1a3d31e3SAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee. 98*1a3d31e3SAndroid Build Coastguard Worker 99*1a3d31e3SAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Program or any portion 100*1a3d31e3SAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and 101*1a3d31e3SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 102*1a3d31e3SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 103*1a3d31e3SAndroid Build Coastguard Worker 104*1a3d31e3SAndroid Build Coastguard Worker a) You must cause the modified files to carry prominent notices 105*1a3d31e3SAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 106*1a3d31e3SAndroid Build Coastguard Worker 107*1a3d31e3SAndroid Build Coastguard Worker b) You must cause any work that you distribute or publish, that in 108*1a3d31e3SAndroid Build Coastguard Worker whole or in part contains or is derived from the Program or any 109*1a3d31e3SAndroid Build Coastguard Worker part thereof, to be licensed as a whole at no charge to all third 110*1a3d31e3SAndroid Build Coastguard Worker parties under the terms of this License. 111*1a3d31e3SAndroid Build Coastguard Worker 112*1a3d31e3SAndroid Build Coastguard Worker c) If the modified program normally reads commands interactively 113*1a3d31e3SAndroid Build Coastguard Worker when run, you must cause it, when started running for such 114*1a3d31e3SAndroid Build Coastguard Worker interactive use in the most ordinary way, to print or display an 115*1a3d31e3SAndroid Build Coastguard Worker announcement including an appropriate copyright notice and a 116*1a3d31e3SAndroid Build Coastguard Worker notice that there is no warranty (or else, saying that you provide 117*1a3d31e3SAndroid Build Coastguard Worker a warranty) and that users may redistribute the program under 118*1a3d31e3SAndroid Build Coastguard Worker these conditions, and telling the user how to view a copy of this 119*1a3d31e3SAndroid Build Coastguard Worker License. (Exception: if the Program itself is interactive but 120*1a3d31e3SAndroid Build Coastguard Worker does not normally print such an announcement, your work based on 121*1a3d31e3SAndroid Build Coastguard Worker the Program is not required to print an announcement.) 122*1a3d31e3SAndroid Build Coastguard Worker 123*1a3d31e3SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 124*1a3d31e3SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program, 125*1a3d31e3SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 126*1a3d31e3SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 127*1a3d31e3SAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 128*1a3d31e3SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 129*1a3d31e3SAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of 130*1a3d31e3SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 131*1a3d31e3SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it. 132*1a3d31e3SAndroid Build Coastguard Worker 133*1a3d31e3SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 134*1a3d31e3SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 135*1a3d31e3SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 136*1a3d31e3SAndroid Build Coastguard Workercollective works based on the Program. 137*1a3d31e3SAndroid Build Coastguard Worker 138*1a3d31e3SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program 139*1a3d31e3SAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of 140*1a3d31e3SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 141*1a3d31e3SAndroid Build Coastguard Workerthe scope of this License. 142*1a3d31e3SAndroid Build Coastguard Worker 143*1a3d31e3SAndroid Build Coastguard Worker 3. You may copy and distribute the Program (or a work based on it, 144*1a3d31e3SAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of 145*1a3d31e3SAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following: 146*1a3d31e3SAndroid Build Coastguard Worker 147*1a3d31e3SAndroid Build Coastguard Worker a) Accompany it with the complete corresponding machine-readable 148*1a3d31e3SAndroid Build Coastguard Worker source code, which must be distributed under the terms of Sections 149*1a3d31e3SAndroid Build Coastguard Worker 1 and 2 above on a medium customarily used for software interchange; or, 150*1a3d31e3SAndroid Build Coastguard Worker 151*1a3d31e3SAndroid Build Coastguard Worker b) Accompany it with a written offer, valid for at least three 152*1a3d31e3SAndroid Build Coastguard Worker years, to give any third party, for a charge no more than your 153*1a3d31e3SAndroid Build Coastguard Worker cost of physically performing source distribution, a complete 154*1a3d31e3SAndroid Build Coastguard Worker machine-readable copy of the corresponding source code, to be 155*1a3d31e3SAndroid Build Coastguard Worker distributed under the terms of Sections 1 and 2 above on a medium 156*1a3d31e3SAndroid Build Coastguard Worker customarily used for software interchange; or, 157*1a3d31e3SAndroid Build Coastguard Worker 158*1a3d31e3SAndroid Build Coastguard Worker c) Accompany it with the information you received as to the offer 159*1a3d31e3SAndroid Build Coastguard Worker to distribute corresponding source code. (This alternative is 160*1a3d31e3SAndroid Build Coastguard Worker allowed only for noncommercial distribution and only if you 161*1a3d31e3SAndroid Build Coastguard Worker received the program in object code or executable form with such 162*1a3d31e3SAndroid Build Coastguard Worker an offer, in accord with Subsection b above.) 163*1a3d31e3SAndroid Build Coastguard Worker 164*1a3d31e3SAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for 165*1a3d31e3SAndroid Build Coastguard Workermaking modifications to it. For an executable work, complete source 166*1a3d31e3SAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any 167*1a3d31e3SAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to 168*1a3d31e3SAndroid Build Coastguard Workercontrol compilation and installation of the executable. However, as a 169*1a3d31e3SAndroid Build Coastguard Workerspecial exception, the source code distributed need not include 170*1a3d31e3SAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary 171*1a3d31e3SAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the 172*1a3d31e3SAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component 173*1a3d31e3SAndroid Build Coastguard Workeritself accompanies the executable. 174*1a3d31e3SAndroid Build Coastguard Worker 175*1a3d31e3SAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering 176*1a3d31e3SAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent 177*1a3d31e3SAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as 178*1a3d31e3SAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not 179*1a3d31e3SAndroid Build Coastguard Workercompelled to copy the source along with the object code. 180*1a3d31e3SAndroid Build Coastguard Worker 181*1a3d31e3SAndroid Build Coastguard Worker 4. You may not copy, modify, sublicense, or distribute the Program 182*1a3d31e3SAndroid Build Coastguard Workerexcept as expressly provided under this License. Any attempt 183*1a3d31e3SAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is 184*1a3d31e3SAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License. 185*1a3d31e3SAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under 186*1a3d31e3SAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such 187*1a3d31e3SAndroid Build Coastguard Workerparties remain in full compliance. 188*1a3d31e3SAndroid Build Coastguard Worker 189*1a3d31e3SAndroid Build Coastguard Worker 5. You are not required to accept this License, since you have not 190*1a3d31e3SAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 191*1a3d31e3SAndroid Build Coastguard Workerdistribute the Program or its derivative works. These actions are 192*1a3d31e3SAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 193*1a3d31e3SAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the 194*1a3d31e3SAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and 195*1a3d31e3SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 196*1a3d31e3SAndroid Build Coastguard Workerthe Program or works based on it. 197*1a3d31e3SAndroid Build Coastguard Worker 198*1a3d31e3SAndroid Build Coastguard Worker 6. Each time you redistribute the Program (or any work based on the 199*1a3d31e3SAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the 200*1a3d31e3SAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to 201*1a3d31e3SAndroid Build Coastguard Workerthese terms and conditions. You may not impose any further 202*1a3d31e3SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 203*1a3d31e3SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to 204*1a3d31e3SAndroid Build Coastguard Workerthis License. 205*1a3d31e3SAndroid Build Coastguard Worker 206*1a3d31e3SAndroid Build Coastguard Worker 7. If, as a consequence of a court judgment or allegation of patent 207*1a3d31e3SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 208*1a3d31e3SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 209*1a3d31e3SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 210*1a3d31e3SAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 211*1a3d31e3SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 212*1a3d31e3SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 213*1a3d31e3SAndroid Build Coastguard Workermay not distribute the Program at all. For example, if a patent 214*1a3d31e3SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by 215*1a3d31e3SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 216*1a3d31e3SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 217*1a3d31e3SAndroid Build Coastguard Workerrefrain entirely from distribution of the Program. 218*1a3d31e3SAndroid Build Coastguard Worker 219*1a3d31e3SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under 220*1a3d31e3SAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to 221*1a3d31e3SAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other 222*1a3d31e3SAndroid Build Coastguard Workercircumstances. 223*1a3d31e3SAndroid Build Coastguard Worker 224*1a3d31e3SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 225*1a3d31e3SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 226*1a3d31e3SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 227*1a3d31e3SAndroid Build Coastguard Workerintegrity of the free software distribution system, which is 228*1a3d31e3SAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 229*1a3d31e3SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 230*1a3d31e3SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 231*1a3d31e3SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 232*1a3d31e3SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 233*1a3d31e3SAndroid Build Coastguard Workerimpose that choice. 234*1a3d31e3SAndroid Build Coastguard Worker 235*1a3d31e3SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 236*1a3d31e3SAndroid Build Coastguard Workerbe a consequence of the rest of this License. 237*1a3d31e3SAndroid Build Coastguard Worker 238*1a3d31e3SAndroid Build Coastguard Worker 8. If the distribution and/or use of the Program is restricted in 239*1a3d31e3SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 240*1a3d31e3SAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License 241*1a3d31e3SAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding 242*1a3d31e3SAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among 243*1a3d31e3SAndroid Build Coastguard Workercountries not thus excluded. In such case, this License incorporates 244*1a3d31e3SAndroid Build Coastguard Workerthe limitation as if written in the body of this License. 245*1a3d31e3SAndroid Build Coastguard Worker 246*1a3d31e3SAndroid Build Coastguard Worker 9. The Free Software Foundation may publish revised and/or new versions 247*1a3d31e3SAndroid Build Coastguard Workerof the General Public License from time to time. Such new versions will 248*1a3d31e3SAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to 249*1a3d31e3SAndroid Build Coastguard Workeraddress new problems or concerns. 250*1a3d31e3SAndroid Build Coastguard Worker 251*1a3d31e3SAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Program 252*1a3d31e3SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any 253*1a3d31e3SAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions 254*1a3d31e3SAndroid Build Coastguard Workereither of that version or of any later version published by the Free 255*1a3d31e3SAndroid Build Coastguard WorkerSoftware Foundation. If the Program does not specify a version number of 256*1a3d31e3SAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software 257*1a3d31e3SAndroid Build Coastguard WorkerFoundation. 258*1a3d31e3SAndroid Build Coastguard Worker 259*1a3d31e3SAndroid Build Coastguard Worker 10. If you wish to incorporate parts of the Program into other free 260*1a3d31e3SAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author 261*1a3d31e3SAndroid Build Coastguard Workerto ask for permission. For software which is copyrighted by the Free 262*1a3d31e3SAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes 263*1a3d31e3SAndroid Build Coastguard Workermake exceptions for this. Our decision will be guided by the two goals 264*1a3d31e3SAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and 265*1a3d31e3SAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally. 266*1a3d31e3SAndroid Build Coastguard Worker 267*1a3d31e3SAndroid Build Coastguard Worker NO WARRANTY 268*1a3d31e3SAndroid Build Coastguard Worker 269*1a3d31e3SAndroid Build Coastguard Worker 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 270*1a3d31e3SAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 271*1a3d31e3SAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 272*1a3d31e3SAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 273*1a3d31e3SAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 274*1a3d31e3SAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 275*1a3d31e3SAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 276*1a3d31e3SAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 277*1a3d31e3SAndroid Build Coastguard WorkerREPAIR OR CORRECTION. 278*1a3d31e3SAndroid Build Coastguard Worker 279*1a3d31e3SAndroid Build Coastguard Worker 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 280*1a3d31e3SAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 281*1a3d31e3SAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 282*1a3d31e3SAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 283*1a3d31e3SAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 284*1a3d31e3SAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 285*1a3d31e3SAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 286*1a3d31e3SAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 287*1a3d31e3SAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES. 288*1a3d31e3SAndroid Build Coastguard Worker 289*1a3d31e3SAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 290*1a3d31e3SAndroid Build Coastguard Worker 291*1a3d31e3SAndroid Build Coastguard Worker How to Apply These Terms to Your New Programs 292*1a3d31e3SAndroid Build Coastguard Worker 293*1a3d31e3SAndroid Build Coastguard Worker If you develop a new program, and you want it to be of the greatest 294*1a3d31e3SAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it 295*1a3d31e3SAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms. 296*1a3d31e3SAndroid Build Coastguard Worker 297*1a3d31e3SAndroid Build Coastguard Worker To do so, attach the following notices to the program. It is safest 298*1a3d31e3SAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively 299*1a3d31e3SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least 300*1a3d31e3SAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found. 301*1a3d31e3SAndroid Build Coastguard Worker 302*1a3d31e3SAndroid Build Coastguard Worker <one line to give the program's name and a brief idea of what it does.> 303*1a3d31e3SAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 304*1a3d31e3SAndroid Build Coastguard Worker 305*1a3d31e3SAndroid Build Coastguard Worker This program is free software; you can redistribute it and/or modify 306*1a3d31e3SAndroid Build Coastguard Worker it under the terms of the GNU General Public License as published by 307*1a3d31e3SAndroid Build Coastguard Worker the Free Software Foundation; either version 2 of the License, or 308*1a3d31e3SAndroid Build Coastguard Worker (at your option) any later version. 309*1a3d31e3SAndroid Build Coastguard Worker 310*1a3d31e3SAndroid Build Coastguard Worker This program is distributed in the hope that it will be useful, 311*1a3d31e3SAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 312*1a3d31e3SAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 313*1a3d31e3SAndroid Build Coastguard Worker GNU General Public License for more details. 314*1a3d31e3SAndroid Build Coastguard Worker 315*1a3d31e3SAndroid Build Coastguard Worker You should have received a copy of the GNU General Public License 316*1a3d31e3SAndroid Build Coastguard Worker along with this program; if not, write to the Free Software 317*1a3d31e3SAndroid Build Coastguard Worker Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 318*1a3d31e3SAndroid Build Coastguard Worker 319*1a3d31e3SAndroid Build Coastguard Worker 320*1a3d31e3SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 321*1a3d31e3SAndroid Build Coastguard Worker 322*1a3d31e3SAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this 323*1a3d31e3SAndroid Build Coastguard Workerwhen it starts in an interactive mode: 324*1a3d31e3SAndroid Build Coastguard Worker 325*1a3d31e3SAndroid Build Coastguard Worker Gnomovision version 69, Copyright (C) year name of author 326*1a3d31e3SAndroid Build Coastguard Worker Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 327*1a3d31e3SAndroid Build Coastguard Worker This is free software, and you are welcome to redistribute it 328*1a3d31e3SAndroid Build Coastguard Worker under certain conditions; type `show c' for details. 329*1a3d31e3SAndroid Build Coastguard Worker 330*1a3d31e3SAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate 331*1a3d31e3SAndroid Build Coastguard Workerparts of the General Public License. Of course, the commands you use may 332*1a3d31e3SAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be 333*1a3d31e3SAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program. 334*1a3d31e3SAndroid Build Coastguard Worker 335*1a3d31e3SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 336*1a3d31e3SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if 337*1a3d31e3SAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 338*1a3d31e3SAndroid Build Coastguard Worker 339*1a3d31e3SAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the program 340*1a3d31e3SAndroid Build Coastguard Worker `Gnomovision' (which makes passes at compilers) written by James Hacker. 341*1a3d31e3SAndroid Build Coastguard Worker 342*1a3d31e3SAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1989 343*1a3d31e3SAndroid Build Coastguard Worker Ty Coon, President of Vice 344*1a3d31e3SAndroid Build Coastguard Worker 345*1a3d31e3SAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into 346*1a3d31e3SAndroid Build Coastguard Workerproprietary programs. If your program is a subroutine library, you may 347*1a3d31e3SAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the 348*1a3d31e3SAndroid Build Coastguard Workerlibrary. If this is what you want to do, use the GNU Library General 349*1a3d31e3SAndroid Build Coastguard WorkerPublic License instead of this License. 350