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