xref: /aosp_15_r20/external/flashrom/COPYING (revision 0d6140be3aa665ecc836e8907834fcd3e3b018fc)
1*0d6140beSAndroid Build Coastguard Worker		    GNU GENERAL PUBLIC LICENSE
2*0d6140beSAndroid Build Coastguard Worker		       Version 2, June 1991
3*0d6140beSAndroid Build Coastguard Worker
4*0d6140beSAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5*0d6140beSAndroid Build Coastguard Worker 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6*0d6140beSAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies
7*0d6140beSAndroid Build Coastguard Worker of this license document, but changing it is not allowed.
8*0d6140beSAndroid Build Coastguard Worker
9*0d6140beSAndroid Build Coastguard Worker			    Preamble
10*0d6140beSAndroid Build Coastguard Worker
11*0d6140beSAndroid Build Coastguard Worker  The licenses for most software are designed to take away your
12*0d6140beSAndroid Build Coastguard Workerfreedom to share and change it.  By contrast, the GNU General Public
13*0d6140beSAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free
14*0d6140beSAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users.  This
15*0d6140beSAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software
16*0d6140beSAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to
17*0d6140beSAndroid Build Coastguard Workerusing it.  (Some other Free Software Foundation software is covered by
18*0d6140beSAndroid Build Coastguard Workerthe GNU Lesser General Public License instead.)  You can apply it to
19*0d6140beSAndroid Build Coastguard Workeryour programs, too.
20*0d6140beSAndroid Build Coastguard Worker
21*0d6140beSAndroid Build Coastguard Worker  When we speak of free software, we are referring to freedom, not
22*0d6140beSAndroid Build Coastguard Workerprice.  Our General Public Licenses are designed to make sure that you
23*0d6140beSAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for
24*0d6140beSAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it
25*0d6140beSAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it
26*0d6140beSAndroid Build Coastguard Workerin new free programs; and that you know you can do these things.
27*0d6140beSAndroid Build Coastguard Worker
28*0d6140beSAndroid Build Coastguard Worker  To protect your rights, we need to make restrictions that forbid
29*0d6140beSAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights.
30*0d6140beSAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you
31*0d6140beSAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it.
32*0d6140beSAndroid Build Coastguard Worker
33*0d6140beSAndroid Build Coastguard Worker  For example, if you distribute copies of such a program, whether
34*0d6140beSAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that
35*0d6140beSAndroid Build Coastguard Workeryou have.  You must make sure that they, too, receive or can get the
36*0d6140beSAndroid Build Coastguard Workersource code.  And you must show them these terms so they know their
37*0d6140beSAndroid Build Coastguard Workerrights.
38*0d6140beSAndroid Build Coastguard Worker
39*0d6140beSAndroid Build Coastguard Worker  We protect your rights with two steps: (1) copyright the software, and
40*0d6140beSAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy,
41*0d6140beSAndroid Build Coastguard Workerdistribute and/or modify the software.
42*0d6140beSAndroid Build Coastguard Worker
43*0d6140beSAndroid Build Coastguard Worker  Also, for each author's protection and ours, we want to make certain
44*0d6140beSAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free
45*0d6140beSAndroid Build Coastguard Workersoftware.  If the software is modified by someone else and passed on, we
46*0d6140beSAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so
47*0d6140beSAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original
48*0d6140beSAndroid Build Coastguard Workerauthors' reputations.
49*0d6140beSAndroid Build Coastguard Worker
50*0d6140beSAndroid Build Coastguard Worker  Finally, any free program is threatened constantly by software
51*0d6140beSAndroid Build Coastguard Workerpatents.  We wish to avoid the danger that redistributors of a free
52*0d6140beSAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the
53*0d6140beSAndroid Build Coastguard Workerprogram proprietary.  To prevent this, we have made it clear that any
54*0d6140beSAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all.
55*0d6140beSAndroid Build Coastguard Worker
56*0d6140beSAndroid Build Coastguard Worker  The precise terms and conditions for copying, distribution and
57*0d6140beSAndroid Build Coastguard Workermodification follow.
58*0d6140beSAndroid Build Coastguard Worker
59*0d6140beSAndroid Build Coastguard Worker		    GNU GENERAL PUBLIC LICENSE
60*0d6140beSAndroid Build Coastguard Worker   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*0d6140beSAndroid Build Coastguard Worker
62*0d6140beSAndroid Build Coastguard Worker  0. This License applies to any program or other work which contains
63*0d6140beSAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed
64*0d6140beSAndroid Build Coastguard Workerunder the terms of this General Public License.  The "Program", below,
65*0d6140beSAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program"
66*0d6140beSAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law:
67*0d6140beSAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it,
68*0d6140beSAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another
69*0d6140beSAndroid Build Coastguard Workerlanguage.  (Hereinafter, translation is included without limitation in
70*0d6140beSAndroid Build Coastguard Workerthe term "modification".)  Each licensee is addressed as "you".
71*0d6140beSAndroid Build Coastguard Worker
72*0d6140beSAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not
73*0d6140beSAndroid Build Coastguard Workercovered by this License; they are outside its scope.  The act of
74*0d6140beSAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program
75*0d6140beSAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the
76*0d6140beSAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program).
77*0d6140beSAndroid Build Coastguard WorkerWhether that is true depends on what the Program does.
78*0d6140beSAndroid Build Coastguard Worker
79*0d6140beSAndroid Build Coastguard Worker  1. You may copy and distribute verbatim copies of the Program's
80*0d6140beSAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you
81*0d6140beSAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate
82*0d6140beSAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the
83*0d6140beSAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty;
84*0d6140beSAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License
85*0d6140beSAndroid Build Coastguard Workeralong with the Program.
86*0d6140beSAndroid Build Coastguard Worker
87*0d6140beSAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and
88*0d6140beSAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee.
89*0d6140beSAndroid Build Coastguard Worker
90*0d6140beSAndroid Build Coastguard Worker  2. You may modify your copy or copies of the Program or any portion
91*0d6140beSAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and
92*0d6140beSAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1
93*0d6140beSAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions:
94*0d6140beSAndroid Build Coastguard Worker
95*0d6140beSAndroid Build Coastguard Worker    a) You must cause the modified files to carry prominent notices
96*0d6140beSAndroid Build Coastguard Worker    stating that you changed the files and the date of any change.
97*0d6140beSAndroid Build Coastguard Worker
98*0d6140beSAndroid Build Coastguard Worker    b) You must cause any work that you distribute or publish, that in
99*0d6140beSAndroid Build Coastguard Worker    whole or in part contains or is derived from the Program or any
100*0d6140beSAndroid Build Coastguard Worker    part thereof, to be licensed as a whole at no charge to all third
101*0d6140beSAndroid Build Coastguard Worker    parties under the terms of this License.
102*0d6140beSAndroid Build Coastguard Worker
103*0d6140beSAndroid Build Coastguard Worker    c) If the modified program normally reads commands interactively
104*0d6140beSAndroid Build Coastguard Worker    when run, you must cause it, when started running for such
105*0d6140beSAndroid Build Coastguard Worker    interactive use in the most ordinary way, to print or display an
106*0d6140beSAndroid Build Coastguard Worker    announcement including an appropriate copyright notice and a
107*0d6140beSAndroid Build Coastguard Worker    notice that there is no warranty (or else, saying that you provide
108*0d6140beSAndroid Build Coastguard Worker    a warranty) and that users may redistribute the program under
109*0d6140beSAndroid Build Coastguard Worker    these conditions, and telling the user how to view a copy of this
110*0d6140beSAndroid Build Coastguard Worker    License.  (Exception: if the Program itself is interactive but
111*0d6140beSAndroid Build Coastguard Worker    does not normally print such an announcement, your work based on
112*0d6140beSAndroid Build Coastguard Worker    the Program is not required to print an announcement.)
113*0d6140beSAndroid Build Coastguard Worker
114*0d6140beSAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole.  If
115*0d6140beSAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program,
116*0d6140beSAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in
117*0d6140beSAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those
118*0d6140beSAndroid Build Coastguard Workersections when you distribute them as separate works.  But when you
119*0d6140beSAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based
120*0d6140beSAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of
121*0d6140beSAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the
122*0d6140beSAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it.
123*0d6140beSAndroid Build Coastguard Worker
124*0d6140beSAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest
125*0d6140beSAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to
126*0d6140beSAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or
127*0d6140beSAndroid Build Coastguard Workercollective works based on the Program.
128*0d6140beSAndroid Build Coastguard Worker
129*0d6140beSAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program
130*0d6140beSAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of
131*0d6140beSAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under
132*0d6140beSAndroid Build Coastguard Workerthe scope of this License.
133*0d6140beSAndroid Build Coastguard Worker
134*0d6140beSAndroid Build Coastguard Worker  3. You may copy and distribute the Program (or a work based on it,
135*0d6140beSAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of
136*0d6140beSAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following:
137*0d6140beSAndroid Build Coastguard Worker
138*0d6140beSAndroid Build Coastguard Worker    a) Accompany it with the complete corresponding machine-readable
139*0d6140beSAndroid Build Coastguard Worker    source code, which must be distributed under the terms of Sections
140*0d6140beSAndroid Build Coastguard Worker    1 and 2 above on a medium customarily used for software interchange; or,
141*0d6140beSAndroid Build Coastguard Worker
142*0d6140beSAndroid Build Coastguard Worker    b) Accompany it with a written offer, valid for at least three
143*0d6140beSAndroid Build Coastguard Worker    years, to give any third party, for a charge no more than your
144*0d6140beSAndroid Build Coastguard Worker    cost of physically performing source distribution, a complete
145*0d6140beSAndroid Build Coastguard Worker    machine-readable copy of the corresponding source code, to be
146*0d6140beSAndroid Build Coastguard Worker    distributed under the terms of Sections 1 and 2 above on a medium
147*0d6140beSAndroid Build Coastguard Worker    customarily used for software interchange; or,
148*0d6140beSAndroid Build Coastguard Worker
149*0d6140beSAndroid Build Coastguard Worker    c) Accompany it with the information you received as to the offer
150*0d6140beSAndroid Build Coastguard Worker    to distribute corresponding source code.  (This alternative is
151*0d6140beSAndroid Build Coastguard Worker    allowed only for noncommercial distribution and only if you
152*0d6140beSAndroid Build Coastguard Worker    received the program in object code or executable form with such
153*0d6140beSAndroid Build Coastguard Worker    an offer, in accord with Subsection b above.)
154*0d6140beSAndroid Build Coastguard Worker
155*0d6140beSAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for
156*0d6140beSAndroid Build Coastguard Workermaking modifications to it.  For an executable work, complete source
157*0d6140beSAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any
158*0d6140beSAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to
159*0d6140beSAndroid Build Coastguard Workercontrol compilation and installation of the executable.  However, as a
160*0d6140beSAndroid Build Coastguard Workerspecial exception, the source code distributed need not include
161*0d6140beSAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary
162*0d6140beSAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the
163*0d6140beSAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component
164*0d6140beSAndroid Build Coastguard Workeritself accompanies the executable.
165*0d6140beSAndroid Build Coastguard Worker
166*0d6140beSAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering
167*0d6140beSAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent
168*0d6140beSAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as
169*0d6140beSAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not
170*0d6140beSAndroid Build Coastguard Workercompelled to copy the source along with the object code.
171*0d6140beSAndroid Build Coastguard Worker
172*0d6140beSAndroid Build Coastguard Worker  4. You may not copy, modify, sublicense, or distribute the Program
173*0d6140beSAndroid Build Coastguard Workerexcept as expressly provided under this License.  Any attempt
174*0d6140beSAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is
175*0d6140beSAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License.
176*0d6140beSAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under
177*0d6140beSAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such
178*0d6140beSAndroid Build Coastguard Workerparties remain in full compliance.
179*0d6140beSAndroid Build Coastguard Worker
180*0d6140beSAndroid Build Coastguard Worker  5. You are not required to accept this License, since you have not
181*0d6140beSAndroid Build Coastguard Workersigned it.  However, nothing else grants you permission to modify or
182*0d6140beSAndroid Build Coastguard Workerdistribute the Program or its derivative works.  These actions are
183*0d6140beSAndroid Build Coastguard Workerprohibited by law if you do not accept this License.  Therefore, by
184*0d6140beSAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the
185*0d6140beSAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and
186*0d6140beSAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying
187*0d6140beSAndroid Build Coastguard Workerthe Program or works based on it.
188*0d6140beSAndroid Build Coastguard Worker
189*0d6140beSAndroid Build Coastguard Worker  6. Each time you redistribute the Program (or any work based on the
190*0d6140beSAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the
191*0d6140beSAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to
192*0d6140beSAndroid Build Coastguard Workerthese terms and conditions.  You may not impose any further
193*0d6140beSAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein.
194*0d6140beSAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to
195*0d6140beSAndroid Build Coastguard Workerthis License.
196*0d6140beSAndroid Build Coastguard Worker
197*0d6140beSAndroid Build Coastguard Worker  7. If, as a consequence of a court judgment or allegation of patent
198*0d6140beSAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues),
199*0d6140beSAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or
200*0d6140beSAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not
201*0d6140beSAndroid Build Coastguard Workerexcuse you from the conditions of this License.  If you cannot
202*0d6140beSAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this
203*0d6140beSAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you
204*0d6140beSAndroid Build Coastguard Workermay not distribute the Program at all.  For example, if a patent
205*0d6140beSAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by
206*0d6140beSAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then
207*0d6140beSAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to
208*0d6140beSAndroid Build Coastguard Workerrefrain entirely from distribution of the Program.
209*0d6140beSAndroid Build Coastguard Worker
210*0d6140beSAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under
211*0d6140beSAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to
212*0d6140beSAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other
213*0d6140beSAndroid Build Coastguard Workercircumstances.
214*0d6140beSAndroid Build Coastguard Worker
215*0d6140beSAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any
216*0d6140beSAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any
217*0d6140beSAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the
218*0d6140beSAndroid Build Coastguard Workerintegrity of the free software distribution system, which is
219*0d6140beSAndroid Build Coastguard Workerimplemented by public license practices.  Many people have made
220*0d6140beSAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed
221*0d6140beSAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that
222*0d6140beSAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing
223*0d6140beSAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot
224*0d6140beSAndroid Build Coastguard Workerimpose that choice.
225*0d6140beSAndroid Build Coastguard Worker
226*0d6140beSAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to
227*0d6140beSAndroid Build Coastguard Workerbe a consequence of the rest of this License.
228*0d6140beSAndroid Build Coastguard Worker
229*0d6140beSAndroid Build Coastguard Worker  8. If the distribution and/or use of the Program is restricted in
230*0d6140beSAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the
231*0d6140beSAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License
232*0d6140beSAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding
233*0d6140beSAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among
234*0d6140beSAndroid Build Coastguard Workercountries not thus excluded.  In such case, this License incorporates
235*0d6140beSAndroid Build Coastguard Workerthe limitation as if written in the body of this License.
236*0d6140beSAndroid Build Coastguard Worker
237*0d6140beSAndroid Build Coastguard Worker  9. The Free Software Foundation may publish revised and/or new versions
238*0d6140beSAndroid Build Coastguard Workerof the General Public License from time to time.  Such new versions will
239*0d6140beSAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to
240*0d6140beSAndroid Build Coastguard Workeraddress new problems or concerns.
241*0d6140beSAndroid Build Coastguard Worker
242*0d6140beSAndroid Build Coastguard WorkerEach version is given a distinguishing version number.  If the Program
243*0d6140beSAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any
244*0d6140beSAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions
245*0d6140beSAndroid Build Coastguard Workereither of that version or of any later version published by the Free
246*0d6140beSAndroid Build Coastguard WorkerSoftware Foundation.  If the Program does not specify a version number of
247*0d6140beSAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software
248*0d6140beSAndroid Build Coastguard WorkerFoundation.
249*0d6140beSAndroid Build Coastguard Worker
250*0d6140beSAndroid Build Coastguard Worker  10. If you wish to incorporate parts of the Program into other free
251*0d6140beSAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author
252*0d6140beSAndroid Build Coastguard Workerto ask for permission.  For software which is copyrighted by the Free
253*0d6140beSAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes
254*0d6140beSAndroid Build Coastguard Workermake exceptions for this.  Our decision will be guided by the two goals
255*0d6140beSAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and
256*0d6140beSAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally.
257*0d6140beSAndroid Build Coastguard Worker
258*0d6140beSAndroid Build Coastguard Worker			    NO WARRANTY
259*0d6140beSAndroid Build Coastguard Worker
260*0d6140beSAndroid Build Coastguard Worker  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*0d6140beSAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*0d6140beSAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*0d6140beSAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*0d6140beSAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*0d6140beSAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*0d6140beSAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*0d6140beSAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*0d6140beSAndroid Build Coastguard WorkerREPAIR OR CORRECTION.
269*0d6140beSAndroid Build Coastguard Worker
270*0d6140beSAndroid Build Coastguard Worker  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*0d6140beSAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*0d6140beSAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*0d6140beSAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*0d6140beSAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*0d6140beSAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*0d6140beSAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*0d6140beSAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*0d6140beSAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES.
279*0d6140beSAndroid Build Coastguard Worker
280*0d6140beSAndroid Build Coastguard Worker		     END OF TERMS AND CONDITIONS
281*0d6140beSAndroid Build Coastguard Worker
282*0d6140beSAndroid Build Coastguard Worker	    How to Apply These Terms to Your New Programs
283*0d6140beSAndroid Build Coastguard Worker
284*0d6140beSAndroid Build Coastguard Worker  If you develop a new program, and you want it to be of the greatest
285*0d6140beSAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it
286*0d6140beSAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms.
287*0d6140beSAndroid Build Coastguard Worker
288*0d6140beSAndroid Build Coastguard Worker  To do so, attach the following notices to the program.  It is safest
289*0d6140beSAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively
290*0d6140beSAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least
291*0d6140beSAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found.
292*0d6140beSAndroid Build Coastguard Worker
293*0d6140beSAndroid Build Coastguard Worker    <one line to give the program's name and a brief idea of what it does.>
294*0d6140beSAndroid Build Coastguard Worker    Copyright (C) <year>  <name of author>
295*0d6140beSAndroid Build Coastguard Worker
296*0d6140beSAndroid Build Coastguard Worker    This program is free software; you can redistribute it and/or modify
297*0d6140beSAndroid Build Coastguard Worker    it under the terms of the GNU General Public License as published by
298*0d6140beSAndroid Build Coastguard Worker    the Free Software Foundation; either version 2 of the License, or
299*0d6140beSAndroid Build Coastguard Worker    (at your option) any later version.
300*0d6140beSAndroid Build Coastguard Worker
301*0d6140beSAndroid Build Coastguard Worker    This program is distributed in the hope that it will be useful,
302*0d6140beSAndroid Build Coastguard Worker    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*0d6140beSAndroid Build Coastguard Worker    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*0d6140beSAndroid Build Coastguard Worker    GNU General Public License for more details.
305*0d6140beSAndroid Build Coastguard Worker
306*0d6140beSAndroid Build Coastguard Worker    You should have received a copy of the GNU General Public License along
307*0d6140beSAndroid Build Coastguard Worker    with this program; if not, write to the Free Software Foundation, Inc.,
308*0d6140beSAndroid Build Coastguard Worker    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309*0d6140beSAndroid Build Coastguard Worker
310*0d6140beSAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail.
311*0d6140beSAndroid Build Coastguard Worker
312*0d6140beSAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this
313*0d6140beSAndroid Build Coastguard Workerwhen it starts in an interactive mode:
314*0d6140beSAndroid Build Coastguard Worker
315*0d6140beSAndroid Build Coastguard Worker    Gnomovision version 69, Copyright (C) year name of author
316*0d6140beSAndroid Build Coastguard Worker    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317*0d6140beSAndroid Build Coastguard Worker    This is free software, and you are welcome to redistribute it
318*0d6140beSAndroid Build Coastguard Worker    under certain conditions; type `show c' for details.
319*0d6140beSAndroid Build Coastguard Worker
320*0d6140beSAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate
321*0d6140beSAndroid Build Coastguard Workerparts of the General Public License.  Of course, the commands you use may
322*0d6140beSAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be
323*0d6140beSAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program.
324*0d6140beSAndroid Build Coastguard Worker
325*0d6140beSAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your
326*0d6140beSAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if
327*0d6140beSAndroid Build Coastguard Workernecessary.  Here is a sample; alter the names:
328*0d6140beSAndroid Build Coastguard Worker
329*0d6140beSAndroid Build Coastguard Worker  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330*0d6140beSAndroid Build Coastguard Worker  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331*0d6140beSAndroid Build Coastguard Worker
332*0d6140beSAndroid Build Coastguard Worker  <signature of Ty Coon>, 1 April 1989
333*0d6140beSAndroid Build Coastguard Worker  Ty Coon, President of Vice
334*0d6140beSAndroid Build Coastguard Worker
335*0d6140beSAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into
336*0d6140beSAndroid Build Coastguard Workerproprietary programs.  If your program is a subroutine library, you may
337*0d6140beSAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the
338*0d6140beSAndroid Build Coastguard Workerlibrary.  If this is what you want to do, use the GNU Lesser General
339*0d6140beSAndroid Build Coastguard WorkerPublic License instead of this License.
340*0d6140beSAndroid Build Coastguard Worker
341*0d6140beSAndroid Build Coastguard Worker---
342*0d6140beSAndroid Build Coastguard Worker
343*0d6140beSAndroid Build Coastguard WorkerFiles: util/git-hooks/commit-msg
344*0d6140beSAndroid Build Coastguard Worker
345*0d6140beSAndroid Build Coastguard Worker                                 Apache License
346*0d6140beSAndroid Build Coastguard Worker                           Version 2.0, January 2004
347*0d6140beSAndroid Build Coastguard Worker                        http://www.apache.org/licenses/
348*0d6140beSAndroid Build Coastguard Worker
349*0d6140beSAndroid Build Coastguard Worker   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
350*0d6140beSAndroid Build Coastguard Worker
351*0d6140beSAndroid Build Coastguard Worker   1. Definitions.
352*0d6140beSAndroid Build Coastguard Worker
353*0d6140beSAndroid Build Coastguard Worker      "License" shall mean the terms and conditions for use, reproduction,
354*0d6140beSAndroid Build Coastguard Worker      and distribution as defined by Sections 1 through 9 of this document.
355*0d6140beSAndroid Build Coastguard Worker
356*0d6140beSAndroid Build Coastguard Worker      "Licensor" shall mean the copyright owner or entity authorized by
357*0d6140beSAndroid Build Coastguard Worker      the copyright owner that is granting the License.
358*0d6140beSAndroid Build Coastguard Worker
359*0d6140beSAndroid Build Coastguard Worker      "Legal Entity" shall mean the union of the acting entity and all
360*0d6140beSAndroid Build Coastguard Worker      other entities that control, are controlled by, or are under common
361*0d6140beSAndroid Build Coastguard Worker      control with that entity. For the purposes of this definition,
362*0d6140beSAndroid Build Coastguard Worker      "control" means (i) the power, direct or indirect, to cause the
363*0d6140beSAndroid Build Coastguard Worker      direction or management of such entity, whether by contract or
364*0d6140beSAndroid Build Coastguard Worker      otherwise, or (ii) ownership of fifty percent (50%) or more of the
365*0d6140beSAndroid Build Coastguard Worker      outstanding shares, or (iii) beneficial ownership of such entity.
366*0d6140beSAndroid Build Coastguard Worker
367*0d6140beSAndroid Build Coastguard Worker      "You" (or "Your") shall mean an individual or Legal Entity
368*0d6140beSAndroid Build Coastguard Worker      exercising permissions granted by this License.
369*0d6140beSAndroid Build Coastguard Worker
370*0d6140beSAndroid Build Coastguard Worker      "Source" form shall mean the preferred form for making modifications,
371*0d6140beSAndroid Build Coastguard Worker      including but not limited to software source code, documentation
372*0d6140beSAndroid Build Coastguard Worker      source, and configuration files.
373*0d6140beSAndroid Build Coastguard Worker
374*0d6140beSAndroid Build Coastguard Worker      "Object" form shall mean any form resulting from mechanical
375*0d6140beSAndroid Build Coastguard Worker      transformation or translation of a Source form, including but
376*0d6140beSAndroid Build Coastguard Worker      not limited to compiled object code, generated documentation,
377*0d6140beSAndroid Build Coastguard Worker      and conversions to other media types.
378*0d6140beSAndroid Build Coastguard Worker
379*0d6140beSAndroid Build Coastguard Worker      "Work" shall mean the work of authorship, whether in Source or
380*0d6140beSAndroid Build Coastguard Worker      Object form, made available under the License, as indicated by a
381*0d6140beSAndroid Build Coastguard Worker      copyright notice that is included in or attached to the work
382*0d6140beSAndroid Build Coastguard Worker      (an example is provided in the Appendix below).
383*0d6140beSAndroid Build Coastguard Worker
384*0d6140beSAndroid Build Coastguard Worker      "Derivative Works" shall mean any work, whether in Source or Object
385*0d6140beSAndroid Build Coastguard Worker      form, that is based on (or derived from) the Work and for which the
386*0d6140beSAndroid Build Coastguard Worker      editorial revisions, annotations, elaborations, or other modifications
387*0d6140beSAndroid Build Coastguard Worker      represent, as a whole, an original work of authorship. For the purposes
388*0d6140beSAndroid Build Coastguard Worker      of this License, Derivative Works shall not include works that remain
389*0d6140beSAndroid Build Coastguard Worker      separable from, or merely link (or bind by name) to the interfaces of,
390*0d6140beSAndroid Build Coastguard Worker      the Work and Derivative Works thereof.
391*0d6140beSAndroid Build Coastguard Worker
392*0d6140beSAndroid Build Coastguard Worker      "Contribution" shall mean any work of authorship, including
393*0d6140beSAndroid Build Coastguard Worker      the original version of the Work and any modifications or additions
394*0d6140beSAndroid Build Coastguard Worker      to that Work or Derivative Works thereof, that is intentionally
395*0d6140beSAndroid Build Coastguard Worker      submitted to Licensor for inclusion in the Work by the copyright owner
396*0d6140beSAndroid Build Coastguard Worker      or by an individual or Legal Entity authorized to submit on behalf of
397*0d6140beSAndroid Build Coastguard Worker      the copyright owner. For the purposes of this definition, "submitted"
398*0d6140beSAndroid Build Coastguard Worker      means any form of electronic, verbal, or written communication sent
399*0d6140beSAndroid Build Coastguard Worker      to the Licensor or its representatives, including but not limited to
400*0d6140beSAndroid Build Coastguard Worker      communication on electronic mailing lists, source code control systems,
401*0d6140beSAndroid Build Coastguard Worker      and issue tracking systems that are managed by, or on behalf of, the
402*0d6140beSAndroid Build Coastguard Worker      Licensor for the purpose of discussing and improving the Work, but
403*0d6140beSAndroid Build Coastguard Worker      excluding communication that is conspicuously marked or otherwise
404*0d6140beSAndroid Build Coastguard Worker      designated in writing by the copyright owner as "Not a Contribution."
405*0d6140beSAndroid Build Coastguard Worker
406*0d6140beSAndroid Build Coastguard Worker      "Contributor" shall mean Licensor and any individual or Legal Entity
407*0d6140beSAndroid Build Coastguard Worker      on behalf of whom a Contribution has been received by Licensor and
408*0d6140beSAndroid Build Coastguard Worker      subsequently incorporated within the Work.
409*0d6140beSAndroid Build Coastguard Worker
410*0d6140beSAndroid Build Coastguard Worker   2. Grant of Copyright License. Subject to the terms and conditions of
411*0d6140beSAndroid Build Coastguard Worker      this License, each Contributor hereby grants to You a perpetual,
412*0d6140beSAndroid Build Coastguard Worker      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
413*0d6140beSAndroid Build Coastguard Worker      copyright license to reproduce, prepare Derivative Works of,
414*0d6140beSAndroid Build Coastguard Worker      publicly display, publicly perform, sublicense, and distribute the
415*0d6140beSAndroid Build Coastguard Worker      Work and such Derivative Works in Source or Object form.
416*0d6140beSAndroid Build Coastguard Worker
417*0d6140beSAndroid Build Coastguard Worker   3. Grant of Patent License. Subject to the terms and conditions of
418*0d6140beSAndroid Build Coastguard Worker      this License, each Contributor hereby grants to You a perpetual,
419*0d6140beSAndroid Build Coastguard Worker      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
420*0d6140beSAndroid Build Coastguard Worker      (except as stated in this section) patent license to make, have made,
421*0d6140beSAndroid Build Coastguard Worker      use, offer to sell, sell, import, and otherwise transfer the Work,
422*0d6140beSAndroid Build Coastguard Worker      where such license applies only to those patent claims licensable
423*0d6140beSAndroid Build Coastguard Worker      by such Contributor that are necessarily infringed by their
424*0d6140beSAndroid Build Coastguard Worker      Contribution(s) alone or by combination of their Contribution(s)
425*0d6140beSAndroid Build Coastguard Worker      with the Work to which such Contribution(s) was submitted. If You
426*0d6140beSAndroid Build Coastguard Worker      institute patent litigation against any entity (including a
427*0d6140beSAndroid Build Coastguard Worker      cross-claim or counterclaim in a lawsuit) alleging that the Work
428*0d6140beSAndroid Build Coastguard Worker      or a Contribution incorporated within the Work constitutes direct
429*0d6140beSAndroid Build Coastguard Worker      or contributory patent infringement, then any patent licenses
430*0d6140beSAndroid Build Coastguard Worker      granted to You under this License for that Work shall terminate
431*0d6140beSAndroid Build Coastguard Worker      as of the date such litigation is filed.
432*0d6140beSAndroid Build Coastguard Worker
433*0d6140beSAndroid Build Coastguard Worker   4. Redistribution. You may reproduce and distribute copies of the
434*0d6140beSAndroid Build Coastguard Worker      Work or Derivative Works thereof in any medium, with or without
435*0d6140beSAndroid Build Coastguard Worker      modifications, and in Source or Object form, provided that You
436*0d6140beSAndroid Build Coastguard Worker      meet the following conditions:
437*0d6140beSAndroid Build Coastguard Worker
438*0d6140beSAndroid Build Coastguard Worker      (a) You must give any other recipients of the Work or
439*0d6140beSAndroid Build Coastguard Worker          Derivative Works a copy of this License; and
440*0d6140beSAndroid Build Coastguard Worker
441*0d6140beSAndroid Build Coastguard Worker      (b) You must cause any modified files to carry prominent notices
442*0d6140beSAndroid Build Coastguard Worker          stating that You changed the files; and
443*0d6140beSAndroid Build Coastguard Worker
444*0d6140beSAndroid Build Coastguard Worker      (c) You must retain, in the Source form of any Derivative Works
445*0d6140beSAndroid Build Coastguard Worker          that You distribute, all copyright, patent, trademark, and
446*0d6140beSAndroid Build Coastguard Worker          attribution notices from the Source form of the Work,
447*0d6140beSAndroid Build Coastguard Worker          excluding those notices that do not pertain to any part of
448*0d6140beSAndroid Build Coastguard Worker          the Derivative Works; and
449*0d6140beSAndroid Build Coastguard Worker
450*0d6140beSAndroid Build Coastguard Worker      (d) If the Work includes a "NOTICE" text file as part of its
451*0d6140beSAndroid Build Coastguard Worker          distribution, then any Derivative Works that You distribute must
452*0d6140beSAndroid Build Coastguard Worker          include a readable copy of the attribution notices contained
453*0d6140beSAndroid Build Coastguard Worker          within such NOTICE file, excluding those notices that do not
454*0d6140beSAndroid Build Coastguard Worker          pertain to any part of the Derivative Works, in at least one
455*0d6140beSAndroid Build Coastguard Worker          of the following places: within a NOTICE text file distributed
456*0d6140beSAndroid Build Coastguard Worker          as part of the Derivative Works; within the Source form or
457*0d6140beSAndroid Build Coastguard Worker          documentation, if provided along with the Derivative Works; or,
458*0d6140beSAndroid Build Coastguard Worker          within a display generated by the Derivative Works, if and
459*0d6140beSAndroid Build Coastguard Worker          wherever such third-party notices normally appear. The contents
460*0d6140beSAndroid Build Coastguard Worker          of the NOTICE file are for informational purposes only and
461*0d6140beSAndroid Build Coastguard Worker          do not modify the License. You may add Your own attribution
462*0d6140beSAndroid Build Coastguard Worker          notices within Derivative Works that You distribute, alongside
463*0d6140beSAndroid Build Coastguard Worker          or as an addendum to the NOTICE text from the Work, provided
464*0d6140beSAndroid Build Coastguard Worker          that such additional attribution notices cannot be construed
465*0d6140beSAndroid Build Coastguard Worker          as modifying the License.
466*0d6140beSAndroid Build Coastguard Worker
467*0d6140beSAndroid Build Coastguard Worker      You may add Your own copyright statement to Your modifications and
468*0d6140beSAndroid Build Coastguard Worker      may provide additional or different license terms and conditions
469*0d6140beSAndroid Build Coastguard Worker      for use, reproduction, or distribution of Your modifications, or
470*0d6140beSAndroid Build Coastguard Worker      for any such Derivative Works as a whole, provided Your use,
471*0d6140beSAndroid Build Coastguard Worker      reproduction, and distribution of the Work otherwise complies with
472*0d6140beSAndroid Build Coastguard Worker      the conditions stated in this License.
473*0d6140beSAndroid Build Coastguard Worker
474*0d6140beSAndroid Build Coastguard Worker   5. Submission of Contributions. Unless You explicitly state otherwise,
475*0d6140beSAndroid Build Coastguard Worker      any Contribution intentionally submitted for inclusion in the Work
476*0d6140beSAndroid Build Coastguard Worker      by You to the Licensor shall be under the terms and conditions of
477*0d6140beSAndroid Build Coastguard Worker      this License, without any additional terms or conditions.
478*0d6140beSAndroid Build Coastguard Worker      Notwithstanding the above, nothing herein shall supersede or modify
479*0d6140beSAndroid Build Coastguard Worker      the terms of any separate license agreement you may have executed
480*0d6140beSAndroid Build Coastguard Worker      with Licensor regarding such Contributions.
481*0d6140beSAndroid Build Coastguard Worker
482*0d6140beSAndroid Build Coastguard Worker   6. Trademarks. This License does not grant permission to use the trade
483*0d6140beSAndroid Build Coastguard Worker      names, trademarks, service marks, or product names of the Licensor,
484*0d6140beSAndroid Build Coastguard Worker      except as required for reasonable and customary use in describing the
485*0d6140beSAndroid Build Coastguard Worker      origin of the Work and reproducing the content of the NOTICE file.
486*0d6140beSAndroid Build Coastguard Worker
487*0d6140beSAndroid Build Coastguard Worker   7. Disclaimer of Warranty. Unless required by applicable law or
488*0d6140beSAndroid Build Coastguard Worker      agreed to in writing, Licensor provides the Work (and each
489*0d6140beSAndroid Build Coastguard Worker      Contributor provides its Contributions) on an "AS IS" BASIS,
490*0d6140beSAndroid Build Coastguard Worker      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
491*0d6140beSAndroid Build Coastguard Worker      implied, including, without limitation, any warranties or conditions
492*0d6140beSAndroid Build Coastguard Worker      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
493*0d6140beSAndroid Build Coastguard Worker      PARTICULAR PURPOSE. You are solely responsible for determining the
494*0d6140beSAndroid Build Coastguard Worker      appropriateness of using or redistributing the Work and assume any
495*0d6140beSAndroid Build Coastguard Worker      risks associated with Your exercise of permissions under this License.
496*0d6140beSAndroid Build Coastguard Worker
497*0d6140beSAndroid Build Coastguard Worker   8. Limitation of Liability. In no event and under no legal theory,
498*0d6140beSAndroid Build Coastguard Worker      whether in tort (including negligence), contract, or otherwise,
499*0d6140beSAndroid Build Coastguard Worker      unless required by applicable law (such as deliberate and grossly
500*0d6140beSAndroid Build Coastguard Worker      negligent acts) or agreed to in writing, shall any Contributor be
501*0d6140beSAndroid Build Coastguard Worker      liable to You for damages, including any direct, indirect, special,
502*0d6140beSAndroid Build Coastguard Worker      incidental, or consequential damages of any character arising as a
503*0d6140beSAndroid Build Coastguard Worker      result of this License or out of the use or inability to use the
504*0d6140beSAndroid Build Coastguard Worker      Work (including but not limited to damages for loss of goodwill,
505*0d6140beSAndroid Build Coastguard Worker      work stoppage, computer failure or malfunction, or any and all
506*0d6140beSAndroid Build Coastguard Worker      other commercial damages or losses), even if such Contributor
507*0d6140beSAndroid Build Coastguard Worker      has been advised of the possibility of such damages.
508*0d6140beSAndroid Build Coastguard Worker
509*0d6140beSAndroid Build Coastguard Worker   9. Accepting Warranty or Additional Liability. While redistributing
510*0d6140beSAndroid Build Coastguard Worker      the Work or Derivative Works thereof, You may choose to offer,
511*0d6140beSAndroid Build Coastguard Worker      and charge a fee for, acceptance of support, warranty, indemnity,
512*0d6140beSAndroid Build Coastguard Worker      or other liability obligations and/or rights consistent with this
513*0d6140beSAndroid Build Coastguard Worker      License. However, in accepting such obligations, You may act only
514*0d6140beSAndroid Build Coastguard Worker      on Your own behalf and on Your sole responsibility, not on behalf
515*0d6140beSAndroid Build Coastguard Worker      of any other Contributor, and only if You agree to indemnify,
516*0d6140beSAndroid Build Coastguard Worker      defend, and hold each Contributor harmless for any liability
517*0d6140beSAndroid Build Coastguard Worker      incurred by, or claims asserted against, such Contributor by reason
518*0d6140beSAndroid Build Coastguard Worker      of your accepting any such warranty or additional liability.
519*0d6140beSAndroid Build Coastguard Worker
520*0d6140beSAndroid Build Coastguard Worker   END OF TERMS AND CONDITIONS
521*0d6140beSAndroid Build Coastguard Worker
522*0d6140beSAndroid Build Coastguard Worker   APPENDIX: How to apply the Apache License to your work.
523*0d6140beSAndroid Build Coastguard Worker
524*0d6140beSAndroid Build Coastguard Worker      To apply the Apache License to your work, attach the following
525*0d6140beSAndroid Build Coastguard Worker      boilerplate notice, with the fields enclosed by brackets "[]"
526*0d6140beSAndroid Build Coastguard Worker      replaced with your own identifying information. (Don't include
527*0d6140beSAndroid Build Coastguard Worker      the brackets!)  The text should be enclosed in the appropriate
528*0d6140beSAndroid Build Coastguard Worker      comment syntax for the file format. We also recommend that a
529*0d6140beSAndroid Build Coastguard Worker      file or class name and description of purpose be included on the
530*0d6140beSAndroid Build Coastguard Worker      same "printed page" as the copyright notice for easier
531*0d6140beSAndroid Build Coastguard Worker      identification within third-party archives.
532*0d6140beSAndroid Build Coastguard Worker
533*0d6140beSAndroid Build Coastguard Worker   Copyright (C) 2017 Stefan Tauner
534*0d6140beSAndroid Build Coastguard Worker
535*0d6140beSAndroid Build Coastguard Worker   Licensed under the Apache License, Version 2.0 (the "License");
536*0d6140beSAndroid Build Coastguard Worker   you may not use this file except in compliance with the License.
537*0d6140beSAndroid Build Coastguard Worker   You may obtain a copy of the License at
538*0d6140beSAndroid Build Coastguard Worker
539*0d6140beSAndroid Build Coastguard Worker       http://www.apache.org/licenses/LICENSE-2.0
540*0d6140beSAndroid Build Coastguard Worker
541*0d6140beSAndroid Build Coastguard Worker   Unless required by applicable law or agreed to in writing, software
542*0d6140beSAndroid Build Coastguard Worker   distributed under the License is distributed on an "AS IS" BASIS,
543*0d6140beSAndroid Build Coastguard Worker   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
544*0d6140beSAndroid Build Coastguard Worker   See the License for the specific language governing permissions and
545*0d6140beSAndroid Build Coastguard Worker   limitations under the License.
546*0d6140beSAndroid Build Coastguard Worker
547*0d6140beSAndroid Build Coastguard Worker---
548*0d6140beSAndroid Build Coastguard Worker
549*0d6140beSAndroid Build Coastguard WorkerFiles:
550*0d6140beSAndroid Build Coastguard Worker  big_lock.c
551*0d6140beSAndroid Build Coastguard Worker  big_lock.h
552*0d6140beSAndroid Build Coastguard Worker  cros_ec.c
553*0d6140beSAndroid Build Coastguard Worker  file_lock.c
554*0d6140beSAndroid Build Coastguard Worker  fmap.c
555*0d6140beSAndroid Build Coastguard Worker  include/fmap.h
556*0d6140beSAndroid Build Coastguard Worker  ipc_lock.h
557*0d6140beSAndroid Build Coastguard Worker  raiden_debug_spi.c
558*0d6140beSAndroid Build Coastguard Worker  tests/io_mock.h
559*0d6140beSAndroid Build Coastguard Worker  util/flashrom_tester/*
560*0d6140beSAndroid Build Coastguard Worker
561*0d6140beSAndroid Build Coastguard WorkerBSD 3-Clause License
562*0d6140beSAndroid Build Coastguard Worker
563*0d6140beSAndroid Build Coastguard WorkerCopyright (c) 2012, Google Inc.
564*0d6140beSAndroid Build Coastguard Worker
565*0d6140beSAndroid Build Coastguard WorkerRedistribution and use in source and binary forms, with or without
566*0d6140beSAndroid Build Coastguard Workermodification, are permitted provided that the following conditions are met:
567*0d6140beSAndroid Build Coastguard Worker
568*0d6140beSAndroid Build Coastguard Worker1. Redistributions of source code must retain the above copyright notice, this
569*0d6140beSAndroid Build Coastguard Worker   list of conditions and the following disclaimer.
570*0d6140beSAndroid Build Coastguard Worker
571*0d6140beSAndroid Build Coastguard Worker2. Redistributions in binary form must reproduce the above copyright notice,
572*0d6140beSAndroid Build Coastguard Worker   this list of conditions and the following disclaimer in the documentation
573*0d6140beSAndroid Build Coastguard Worker   and/or other materials provided with the distribution.
574*0d6140beSAndroid Build Coastguard Worker
575*0d6140beSAndroid Build Coastguard Worker3. Neither the name of the copyright holder nor the names of its
576*0d6140beSAndroid Build Coastguard Worker   contributors may be used to endorse or promote products derived from
577*0d6140beSAndroid Build Coastguard Worker   this software without specific prior written permission.
578*0d6140beSAndroid Build Coastguard Worker
579*0d6140beSAndroid Build Coastguard WorkerTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
580*0d6140beSAndroid Build Coastguard WorkerAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
581*0d6140beSAndroid Build Coastguard WorkerIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
582*0d6140beSAndroid Build Coastguard WorkerDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
583*0d6140beSAndroid Build Coastguard WorkerFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
584*0d6140beSAndroid Build Coastguard WorkerDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
585*0d6140beSAndroid Build Coastguard WorkerSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
586*0d6140beSAndroid Build Coastguard WorkerCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
587*0d6140beSAndroid Build Coastguard WorkerOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
588*0d6140beSAndroid Build Coastguard WorkerOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
589*0d6140beSAndroid Build Coastguard Worker
590*0d6140beSAndroid Build Coastguard Worker---
591*0d6140beSAndroid Build Coastguard Worker
592*0d6140beSAndroid Build Coastguard WorkerFiles: doc/*
593*0d6140beSAndroid Build Coastguard Worker
594*0d6140beSAndroid Build Coastguard WorkerAttribution 4.0 International
595*0d6140beSAndroid Build Coastguard Worker
596*0d6140beSAndroid Build Coastguard Worker=======================================================================
597*0d6140beSAndroid Build Coastguard Worker
598*0d6140beSAndroid Build Coastguard WorkerCreative Commons Corporation ("Creative Commons") is not a law firm and
599*0d6140beSAndroid Build Coastguard Workerdoes not provide legal services or legal advice. Distribution of
600*0d6140beSAndroid Build Coastguard WorkerCreative Commons public licenses does not create a lawyer-client or
601*0d6140beSAndroid Build Coastguard Workerother relationship. Creative Commons makes its licenses and related
602*0d6140beSAndroid Build Coastguard Workerinformation available on an "as-is" basis. Creative Commons gives no
603*0d6140beSAndroid Build Coastguard Workerwarranties regarding its licenses, any material licensed under their
604*0d6140beSAndroid Build Coastguard Workerterms and conditions, or any related information. Creative Commons
605*0d6140beSAndroid Build Coastguard Workerdisclaims all liability for damages resulting from their use to the
606*0d6140beSAndroid Build Coastguard Workerfullest extent possible.
607*0d6140beSAndroid Build Coastguard Worker
608*0d6140beSAndroid Build Coastguard WorkerUsing Creative Commons Public Licenses
609*0d6140beSAndroid Build Coastguard Worker
610*0d6140beSAndroid Build Coastguard WorkerCreative Commons public licenses provide a standard set of terms and
611*0d6140beSAndroid Build Coastguard Workerconditions that creators and other rights holders may use to share
612*0d6140beSAndroid Build Coastguard Workeroriginal works of authorship and other material subject to copyright
613*0d6140beSAndroid Build Coastguard Workerand certain other rights specified in the public license below. The
614*0d6140beSAndroid Build Coastguard Workerfollowing considerations are for informational purposes only, are not
615*0d6140beSAndroid Build Coastguard Workerexhaustive, and do not form part of our licenses.
616*0d6140beSAndroid Build Coastguard Worker
617*0d6140beSAndroid Build Coastguard Worker     Considerations for licensors: Our public licenses are
618*0d6140beSAndroid Build Coastguard Worker     intended for use by those authorized to give the public
619*0d6140beSAndroid Build Coastguard Worker     permission to use material in ways otherwise restricted by
620*0d6140beSAndroid Build Coastguard Worker     copyright and certain other rights. Our licenses are
621*0d6140beSAndroid Build Coastguard Worker     irrevocable. Licensors should read and understand the terms
622*0d6140beSAndroid Build Coastguard Worker     and conditions of the license they choose before applying it.
623*0d6140beSAndroid Build Coastguard Worker     Licensors should also secure all rights necessary before
624*0d6140beSAndroid Build Coastguard Worker     applying our licenses so that the public can reuse the
625*0d6140beSAndroid Build Coastguard Worker     material as expected. Licensors should clearly mark any
626*0d6140beSAndroid Build Coastguard Worker     material not subject to the license. This includes other CC-
627*0d6140beSAndroid Build Coastguard Worker     licensed material, or material used under an exception or
628*0d6140beSAndroid Build Coastguard Worker     limitation to copyright. More considerations for licensors:
629*0d6140beSAndroid Build Coastguard Worker    wiki.creativecommons.org/Considerations_for_licensors
630*0d6140beSAndroid Build Coastguard Worker
631*0d6140beSAndroid Build Coastguard Worker     Considerations for the public: By using one of our public
632*0d6140beSAndroid Build Coastguard Worker     licenses, a licensor grants the public permission to use the
633*0d6140beSAndroid Build Coastguard Worker     licensed material under specified terms and conditions. If
634*0d6140beSAndroid Build Coastguard Worker     the licensor's permission is not necessary for any reason--for
635*0d6140beSAndroid Build Coastguard Worker     example, because of any applicable exception or limitation to
636*0d6140beSAndroid Build Coastguard Worker     copyright--then that use is not regulated by the license. Our
637*0d6140beSAndroid Build Coastguard Worker     licenses grant only permissions under copyright and certain
638*0d6140beSAndroid Build Coastguard Worker     other rights that a licensor has authority to grant. Use of
639*0d6140beSAndroid Build Coastguard Worker     the licensed material may still be restricted for other
640*0d6140beSAndroid Build Coastguard Worker     reasons, including because others have copyright or other
641*0d6140beSAndroid Build Coastguard Worker     rights in the material. A licensor may make special requests,
642*0d6140beSAndroid Build Coastguard Worker     such as asking that all changes be marked or described.
643*0d6140beSAndroid Build Coastguard Worker     Although not required by our licenses, you are encouraged to
644*0d6140beSAndroid Build Coastguard Worker     respect those requests where reasonable. More considerations
645*0d6140beSAndroid Build Coastguard Worker     for the public:
646*0d6140beSAndroid Build Coastguard Worker    wiki.creativecommons.org/Considerations_for_licensees
647*0d6140beSAndroid Build Coastguard Worker
648*0d6140beSAndroid Build Coastguard Worker=======================================================================
649*0d6140beSAndroid Build Coastguard Worker
650*0d6140beSAndroid Build Coastguard WorkerCreative Commons Attribution 4.0 International Public License
651*0d6140beSAndroid Build Coastguard Worker
652*0d6140beSAndroid Build Coastguard WorkerBy exercising the Licensed Rights (defined below), You accept and agree
653*0d6140beSAndroid Build Coastguard Workerto be bound by the terms and conditions of this Creative Commons
654*0d6140beSAndroid Build Coastguard WorkerAttribution 4.0 International Public License ("Public License"). To the
655*0d6140beSAndroid Build Coastguard Workerextent this Public License may be interpreted as a contract, You are
656*0d6140beSAndroid Build Coastguard Workergranted the Licensed Rights in consideration of Your acceptance of
657*0d6140beSAndroid Build Coastguard Workerthese terms and conditions, and the Licensor grants You such rights in
658*0d6140beSAndroid Build Coastguard Workerconsideration of benefits the Licensor receives from making the
659*0d6140beSAndroid Build Coastguard WorkerLicensed Material available under these terms and conditions.
660*0d6140beSAndroid Build Coastguard Worker
661*0d6140beSAndroid Build Coastguard Worker
662*0d6140beSAndroid Build Coastguard WorkerSection 1 -- Definitions.
663*0d6140beSAndroid Build Coastguard Worker
664*0d6140beSAndroid Build Coastguard Worker  a. Adapted Material means material subject to Copyright and Similar
665*0d6140beSAndroid Build Coastguard Worker     Rights that is derived from or based upon the Licensed Material
666*0d6140beSAndroid Build Coastguard Worker     and in which the Licensed Material is translated, altered,
667*0d6140beSAndroid Build Coastguard Worker     arranged, transformed, or otherwise modified in a manner requiring
668*0d6140beSAndroid Build Coastguard Worker     permission under the Copyright and Similar Rights held by the
669*0d6140beSAndroid Build Coastguard Worker     Licensor. For purposes of this Public License, where the Licensed
670*0d6140beSAndroid Build Coastguard Worker     Material is a musical work, performance, or sound recording,
671*0d6140beSAndroid Build Coastguard Worker     Adapted Material is always produced where the Licensed Material is
672*0d6140beSAndroid Build Coastguard Worker     synched in timed relation with a moving image.
673*0d6140beSAndroid Build Coastguard Worker
674*0d6140beSAndroid Build Coastguard Worker  b. Adapter's License means the license You apply to Your Copyright
675*0d6140beSAndroid Build Coastguard Worker     and Similar Rights in Your contributions to Adapted Material in
676*0d6140beSAndroid Build Coastguard Worker     accordance with the terms and conditions of this Public License.
677*0d6140beSAndroid Build Coastguard Worker
678*0d6140beSAndroid Build Coastguard Worker  c. Copyright and Similar Rights means copyright and/or similar rights
679*0d6140beSAndroid Build Coastguard Worker     closely related to copyright including, without limitation,
680*0d6140beSAndroid Build Coastguard Worker     performance, broadcast, sound recording, and Sui Generis Database
681*0d6140beSAndroid Build Coastguard Worker     Rights, without regard to how the rights are labeled or
682*0d6140beSAndroid Build Coastguard Worker     categorized. For purposes of this Public License, the rights
683*0d6140beSAndroid Build Coastguard Worker     specified in Section 2(b)(1)-(2) are not Copyright and Similar
684*0d6140beSAndroid Build Coastguard Worker     Rights.
685*0d6140beSAndroid Build Coastguard Worker
686*0d6140beSAndroid Build Coastguard Worker  d. Effective Technological Measures means those measures that, in the
687*0d6140beSAndroid Build Coastguard Worker     absence of proper authority, may not be circumvented under laws
688*0d6140beSAndroid Build Coastguard Worker     fulfilling obligations under Article 11 of the WIPO Copyright
689*0d6140beSAndroid Build Coastguard Worker     Treaty adopted on December 20, 1996, and/or similar international
690*0d6140beSAndroid Build Coastguard Worker     agreements.
691*0d6140beSAndroid Build Coastguard Worker
692*0d6140beSAndroid Build Coastguard Worker  e. Exceptions and Limitations means fair use, fair dealing, and/or
693*0d6140beSAndroid Build Coastguard Worker     any other exception or limitation to Copyright and Similar Rights
694*0d6140beSAndroid Build Coastguard Worker     that applies to Your use of the Licensed Material.
695*0d6140beSAndroid Build Coastguard Worker
696*0d6140beSAndroid Build Coastguard Worker  f. Licensed Material means the artistic or literary work, database,
697*0d6140beSAndroid Build Coastguard Worker     or other material to which the Licensor applied this Public
698*0d6140beSAndroid Build Coastguard Worker     License.
699*0d6140beSAndroid Build Coastguard Worker
700*0d6140beSAndroid Build Coastguard Worker  g. Licensed Rights means the rights granted to You subject to the
701*0d6140beSAndroid Build Coastguard Worker     terms and conditions of this Public License, which are limited to
702*0d6140beSAndroid Build Coastguard Worker     all Copyright and Similar Rights that apply to Your use of the
703*0d6140beSAndroid Build Coastguard Worker     Licensed Material and that the Licensor has authority to license.
704*0d6140beSAndroid Build Coastguard Worker
705*0d6140beSAndroid Build Coastguard Worker  h. Licensor means the individual(s) or entity(ies) granting rights
706*0d6140beSAndroid Build Coastguard Worker     under this Public License.
707*0d6140beSAndroid Build Coastguard Worker
708*0d6140beSAndroid Build Coastguard Worker  i. Share means to provide material to the public by any means or
709*0d6140beSAndroid Build Coastguard Worker     process that requires permission under the Licensed Rights, such
710*0d6140beSAndroid Build Coastguard Worker     as reproduction, public display, public performance, distribution,
711*0d6140beSAndroid Build Coastguard Worker     dissemination, communication, or importation, and to make material
712*0d6140beSAndroid Build Coastguard Worker     available to the public including in ways that members of the
713*0d6140beSAndroid Build Coastguard Worker     public may access the material from a place and at a time
714*0d6140beSAndroid Build Coastguard Worker     individually chosen by them.
715*0d6140beSAndroid Build Coastguard Worker
716*0d6140beSAndroid Build Coastguard Worker  j. Sui Generis Database Rights means rights other than copyright
717*0d6140beSAndroid Build Coastguard Worker     resulting from Directive 96/9/EC of the European Parliament and of
718*0d6140beSAndroid Build Coastguard Worker     the Council of 11 March 1996 on the legal protection of databases,
719*0d6140beSAndroid Build Coastguard Worker     as amended and/or succeeded, as well as other essentially
720*0d6140beSAndroid Build Coastguard Worker     equivalent rights anywhere in the world.
721*0d6140beSAndroid Build Coastguard Worker
722*0d6140beSAndroid Build Coastguard Worker  k. You means the individual or entity exercising the Licensed Rights
723*0d6140beSAndroid Build Coastguard Worker     under this Public License. Your has a corresponding meaning.
724*0d6140beSAndroid Build Coastguard Worker
725*0d6140beSAndroid Build Coastguard Worker
726*0d6140beSAndroid Build Coastguard WorkerSection 2 -- Scope.
727*0d6140beSAndroid Build Coastguard Worker
728*0d6140beSAndroid Build Coastguard Worker  a. License grant.
729*0d6140beSAndroid Build Coastguard Worker
730*0d6140beSAndroid Build Coastguard Worker       1. Subject to the terms and conditions of this Public License,
731*0d6140beSAndroid Build Coastguard Worker          the Licensor hereby grants You a worldwide, royalty-free,
732*0d6140beSAndroid Build Coastguard Worker          non-sublicensable, non-exclusive, irrevocable license to
733*0d6140beSAndroid Build Coastguard Worker          exercise the Licensed Rights in the Licensed Material to:
734*0d6140beSAndroid Build Coastguard Worker
735*0d6140beSAndroid Build Coastguard Worker            a. reproduce and Share the Licensed Material, in whole or
736*0d6140beSAndroid Build Coastguard Worker               in part; and
737*0d6140beSAndroid Build Coastguard Worker
738*0d6140beSAndroid Build Coastguard Worker            b. produce, reproduce, and Share Adapted Material.
739*0d6140beSAndroid Build Coastguard Worker
740*0d6140beSAndroid Build Coastguard Worker       2. Exceptions and Limitations. For the avoidance of doubt, where
741*0d6140beSAndroid Build Coastguard Worker          Exceptions and Limitations apply to Your use, this Public
742*0d6140beSAndroid Build Coastguard Worker          License does not apply, and You do not need to comply with
743*0d6140beSAndroid Build Coastguard Worker          its terms and conditions.
744*0d6140beSAndroid Build Coastguard Worker
745*0d6140beSAndroid Build Coastguard Worker       3. Term. The term of this Public License is specified in Section
746*0d6140beSAndroid Build Coastguard Worker          6(a).
747*0d6140beSAndroid Build Coastguard Worker
748*0d6140beSAndroid Build Coastguard Worker       4. Media and formats; technical modifications allowed. The
749*0d6140beSAndroid Build Coastguard Worker          Licensor authorizes You to exercise the Licensed Rights in
750*0d6140beSAndroid Build Coastguard Worker          all media and formats whether now known or hereafter created,
751*0d6140beSAndroid Build Coastguard Worker          and to make technical modifications necessary to do so. The
752*0d6140beSAndroid Build Coastguard Worker          Licensor waives and/or agrees not to assert any right or
753*0d6140beSAndroid Build Coastguard Worker          authority to forbid You from making technical modifications
754*0d6140beSAndroid Build Coastguard Worker          necessary to exercise the Licensed Rights, including
755*0d6140beSAndroid Build Coastguard Worker          technical modifications necessary to circumvent Effective
756*0d6140beSAndroid Build Coastguard Worker          Technological Measures. For purposes of this Public License,
757*0d6140beSAndroid Build Coastguard Worker          simply making modifications authorized by this Section 2(a)
758*0d6140beSAndroid Build Coastguard Worker          (4) never produces Adapted Material.
759*0d6140beSAndroid Build Coastguard Worker
760*0d6140beSAndroid Build Coastguard Worker       5. Downstream recipients.
761*0d6140beSAndroid Build Coastguard Worker
762*0d6140beSAndroid Build Coastguard Worker            a. Offer from the Licensor -- Licensed Material. Every
763*0d6140beSAndroid Build Coastguard Worker               recipient of the Licensed Material automatically
764*0d6140beSAndroid Build Coastguard Worker               receives an offer from the Licensor to exercise the
765*0d6140beSAndroid Build Coastguard Worker               Licensed Rights under the terms and conditions of this
766*0d6140beSAndroid Build Coastguard Worker               Public License.
767*0d6140beSAndroid Build Coastguard Worker
768*0d6140beSAndroid Build Coastguard Worker            b. No downstream restrictions. You may not offer or impose
769*0d6140beSAndroid Build Coastguard Worker               any additional or different terms or conditions on, or
770*0d6140beSAndroid Build Coastguard Worker               apply any Effective Technological Measures to, the
771*0d6140beSAndroid Build Coastguard Worker               Licensed Material if doing so restricts exercise of the
772*0d6140beSAndroid Build Coastguard Worker               Licensed Rights by any recipient of the Licensed
773*0d6140beSAndroid Build Coastguard Worker               Material.
774*0d6140beSAndroid Build Coastguard Worker
775*0d6140beSAndroid Build Coastguard Worker       6. No endorsement. Nothing in this Public License constitutes or
776*0d6140beSAndroid Build Coastguard Worker          may be construed as permission to assert or imply that You
777*0d6140beSAndroid Build Coastguard Worker          are, or that Your use of the Licensed Material is, connected
778*0d6140beSAndroid Build Coastguard Worker          with, or sponsored, endorsed, or granted official status by,
779*0d6140beSAndroid Build Coastguard Worker          the Licensor or others designated to receive attribution as
780*0d6140beSAndroid Build Coastguard Worker          provided in Section 3(a)(1)(A)(i).
781*0d6140beSAndroid Build Coastguard Worker
782*0d6140beSAndroid Build Coastguard Worker  b. Other rights.
783*0d6140beSAndroid Build Coastguard Worker
784*0d6140beSAndroid Build Coastguard Worker       1. Moral rights, such as the right of integrity, are not
785*0d6140beSAndroid Build Coastguard Worker          licensed under this Public License, nor are publicity,
786*0d6140beSAndroid Build Coastguard Worker          privacy, and/or other similar personality rights; however, to
787*0d6140beSAndroid Build Coastguard Worker          the extent possible, the Licensor waives and/or agrees not to
788*0d6140beSAndroid Build Coastguard Worker          assert any such rights held by the Licensor to the limited
789*0d6140beSAndroid Build Coastguard Worker          extent necessary to allow You to exercise the Licensed
790*0d6140beSAndroid Build Coastguard Worker          Rights, but not otherwise.
791*0d6140beSAndroid Build Coastguard Worker
792*0d6140beSAndroid Build Coastguard Worker       2. Patent and trademark rights are not licensed under this
793*0d6140beSAndroid Build Coastguard Worker          Public License.
794*0d6140beSAndroid Build Coastguard Worker
795*0d6140beSAndroid Build Coastguard Worker       3. To the extent possible, the Licensor waives any right to
796*0d6140beSAndroid Build Coastguard Worker          collect royalties from You for the exercise of the Licensed
797*0d6140beSAndroid Build Coastguard Worker          Rights, whether directly or through a collecting society
798*0d6140beSAndroid Build Coastguard Worker          under any voluntary or waivable statutory or compulsory
799*0d6140beSAndroid Build Coastguard Worker          licensing scheme. In all other cases the Licensor expressly
800*0d6140beSAndroid Build Coastguard Worker          reserves any right to collect such royalties.
801*0d6140beSAndroid Build Coastguard Worker
802*0d6140beSAndroid Build Coastguard Worker
803*0d6140beSAndroid Build Coastguard WorkerSection 3 -- License Conditions.
804*0d6140beSAndroid Build Coastguard Worker
805*0d6140beSAndroid Build Coastguard WorkerYour exercise of the Licensed Rights is expressly made subject to the
806*0d6140beSAndroid Build Coastguard Workerfollowing conditions.
807*0d6140beSAndroid Build Coastguard Worker
808*0d6140beSAndroid Build Coastguard Worker  a. Attribution.
809*0d6140beSAndroid Build Coastguard Worker
810*0d6140beSAndroid Build Coastguard Worker       1. If You Share the Licensed Material (including in modified
811*0d6140beSAndroid Build Coastguard Worker          form), You must:
812*0d6140beSAndroid Build Coastguard Worker
813*0d6140beSAndroid Build Coastguard Worker            a. retain the following if it is supplied by the Licensor
814*0d6140beSAndroid Build Coastguard Worker               with the Licensed Material:
815*0d6140beSAndroid Build Coastguard Worker
816*0d6140beSAndroid Build Coastguard Worker                 i. identification of the creator(s) of the Licensed
817*0d6140beSAndroid Build Coastguard Worker                    Material and any others designated to receive
818*0d6140beSAndroid Build Coastguard Worker                    attribution, in any reasonable manner requested by
819*0d6140beSAndroid Build Coastguard Worker                    the Licensor (including by pseudonym if
820*0d6140beSAndroid Build Coastguard Worker                    designated);
821*0d6140beSAndroid Build Coastguard Worker
822*0d6140beSAndroid Build Coastguard Worker                ii. a copyright notice;
823*0d6140beSAndroid Build Coastguard Worker
824*0d6140beSAndroid Build Coastguard Worker               iii. a notice that refers to this Public License;
825*0d6140beSAndroid Build Coastguard Worker
826*0d6140beSAndroid Build Coastguard Worker                iv. a notice that refers to the disclaimer of
827*0d6140beSAndroid Build Coastguard Worker                    warranties;
828*0d6140beSAndroid Build Coastguard Worker
829*0d6140beSAndroid Build Coastguard Worker                 v. a URI or hyperlink to the Licensed Material to the
830*0d6140beSAndroid Build Coastguard Worker                    extent reasonably practicable;
831*0d6140beSAndroid Build Coastguard Worker
832*0d6140beSAndroid Build Coastguard Worker            b. indicate if You modified the Licensed Material and
833*0d6140beSAndroid Build Coastguard Worker               retain an indication of any previous modifications; and
834*0d6140beSAndroid Build Coastguard Worker
835*0d6140beSAndroid Build Coastguard Worker            c. indicate the Licensed Material is licensed under this
836*0d6140beSAndroid Build Coastguard Worker               Public License, and include the text of, or the URI or
837*0d6140beSAndroid Build Coastguard Worker               hyperlink to, this Public License.
838*0d6140beSAndroid Build Coastguard Worker
839*0d6140beSAndroid Build Coastguard Worker       2. You may satisfy the conditions in Section 3(a)(1) in any
840*0d6140beSAndroid Build Coastguard Worker          reasonable manner based on the medium, means, and context in
841*0d6140beSAndroid Build Coastguard Worker          which You Share the Licensed Material. For example, it may be
842*0d6140beSAndroid Build Coastguard Worker          reasonable to satisfy the conditions by providing a URI or
843*0d6140beSAndroid Build Coastguard Worker          hyperlink to a resource that includes the required
844*0d6140beSAndroid Build Coastguard Worker          information.
845*0d6140beSAndroid Build Coastguard Worker
846*0d6140beSAndroid Build Coastguard Worker       3. If requested by the Licensor, You must remove any of the
847*0d6140beSAndroid Build Coastguard Worker          information required by Section 3(a)(1)(A) to the extent
848*0d6140beSAndroid Build Coastguard Worker          reasonably practicable.
849*0d6140beSAndroid Build Coastguard Worker
850*0d6140beSAndroid Build Coastguard Worker       4. If You Share Adapted Material You produce, the Adapter's
851*0d6140beSAndroid Build Coastguard Worker          License You apply must not prevent recipients of the Adapted
852*0d6140beSAndroid Build Coastguard Worker          Material from complying with this Public License.
853*0d6140beSAndroid Build Coastguard Worker
854*0d6140beSAndroid Build Coastguard Worker
855*0d6140beSAndroid Build Coastguard WorkerSection 4 -- Sui Generis Database Rights.
856*0d6140beSAndroid Build Coastguard Worker
857*0d6140beSAndroid Build Coastguard WorkerWhere the Licensed Rights include Sui Generis Database Rights that
858*0d6140beSAndroid Build Coastguard Workerapply to Your use of the Licensed Material:
859*0d6140beSAndroid Build Coastguard Worker
860*0d6140beSAndroid Build Coastguard Worker  a. for the avoidance of doubt, Section 2(a)(1) grants You the right
861*0d6140beSAndroid Build Coastguard Worker     to extract, reuse, reproduce, and Share all or a substantial
862*0d6140beSAndroid Build Coastguard Worker     portion of the contents of the database;
863*0d6140beSAndroid Build Coastguard Worker
864*0d6140beSAndroid Build Coastguard Worker  b. if You include all or a substantial portion of the database
865*0d6140beSAndroid Build Coastguard Worker     contents in a database in which You have Sui Generis Database
866*0d6140beSAndroid Build Coastguard Worker     Rights, then the database in which You have Sui Generis Database
867*0d6140beSAndroid Build Coastguard Worker     Rights (but not its individual contents) is Adapted Material; and
868*0d6140beSAndroid Build Coastguard Worker
869*0d6140beSAndroid Build Coastguard Worker  c. You must comply with the conditions in Section 3(a) if You Share
870*0d6140beSAndroid Build Coastguard Worker     all or a substantial portion of the contents of the database.
871*0d6140beSAndroid Build Coastguard Worker
872*0d6140beSAndroid Build Coastguard WorkerFor the avoidance of doubt, this Section 4 supplements and does not
873*0d6140beSAndroid Build Coastguard Workerreplace Your obligations under this Public License where the Licensed
874*0d6140beSAndroid Build Coastguard WorkerRights include other Copyright and Similar Rights.
875*0d6140beSAndroid Build Coastguard Worker
876*0d6140beSAndroid Build Coastguard Worker
877*0d6140beSAndroid Build Coastguard WorkerSection 5 -- Disclaimer of Warranties and Limitation of Liability.
878*0d6140beSAndroid Build Coastguard Worker
879*0d6140beSAndroid Build Coastguard Worker  a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
880*0d6140beSAndroid Build Coastguard Worker     EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
881*0d6140beSAndroid Build Coastguard Worker     AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
882*0d6140beSAndroid Build Coastguard Worker     ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
883*0d6140beSAndroid Build Coastguard Worker     IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
884*0d6140beSAndroid Build Coastguard Worker     WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
885*0d6140beSAndroid Build Coastguard Worker     PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
886*0d6140beSAndroid Build Coastguard Worker     ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
887*0d6140beSAndroid Build Coastguard Worker     KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
888*0d6140beSAndroid Build Coastguard Worker     ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
889*0d6140beSAndroid Build Coastguard Worker
890*0d6140beSAndroid Build Coastguard Worker  b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
891*0d6140beSAndroid Build Coastguard Worker     TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
892*0d6140beSAndroid Build Coastguard Worker     NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
893*0d6140beSAndroid Build Coastguard Worker     INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
894*0d6140beSAndroid Build Coastguard Worker     COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
895*0d6140beSAndroid Build Coastguard Worker     USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
896*0d6140beSAndroid Build Coastguard Worker     ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
897*0d6140beSAndroid Build Coastguard Worker     DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
898*0d6140beSAndroid Build Coastguard Worker     IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
899*0d6140beSAndroid Build Coastguard Worker
900*0d6140beSAndroid Build Coastguard Worker  c. The disclaimer of warranties and limitation of liability provided
901*0d6140beSAndroid Build Coastguard Worker     above shall be interpreted in a manner that, to the extent
902*0d6140beSAndroid Build Coastguard Worker     possible, most closely approximates an absolute disclaimer and
903*0d6140beSAndroid Build Coastguard Worker     waiver of all liability.
904*0d6140beSAndroid Build Coastguard Worker
905*0d6140beSAndroid Build Coastguard Worker
906*0d6140beSAndroid Build Coastguard WorkerSection 6 -- Term and Termination.
907*0d6140beSAndroid Build Coastguard Worker
908*0d6140beSAndroid Build Coastguard Worker  a. This Public License applies for the term of the Copyright and
909*0d6140beSAndroid Build Coastguard Worker     Similar Rights licensed here. However, if You fail to comply with
910*0d6140beSAndroid Build Coastguard Worker     this Public License, then Your rights under this Public License
911*0d6140beSAndroid Build Coastguard Worker     terminate automatically.
912*0d6140beSAndroid Build Coastguard Worker
913*0d6140beSAndroid Build Coastguard Worker  b. Where Your right to use the Licensed Material has terminated under
914*0d6140beSAndroid Build Coastguard Worker     Section 6(a), it reinstates:
915*0d6140beSAndroid Build Coastguard Worker
916*0d6140beSAndroid Build Coastguard Worker       1. automatically as of the date the violation is cured, provided
917*0d6140beSAndroid Build Coastguard Worker          it is cured within 30 days of Your discovery of the
918*0d6140beSAndroid Build Coastguard Worker          violation; or
919*0d6140beSAndroid Build Coastguard Worker
920*0d6140beSAndroid Build Coastguard Worker       2. upon express reinstatement by the Licensor.
921*0d6140beSAndroid Build Coastguard Worker
922*0d6140beSAndroid Build Coastguard Worker     For the avoidance of doubt, this Section 6(b) does not affect any
923*0d6140beSAndroid Build Coastguard Worker     right the Licensor may have to seek remedies for Your violations
924*0d6140beSAndroid Build Coastguard Worker     of this Public License.
925*0d6140beSAndroid Build Coastguard Worker
926*0d6140beSAndroid Build Coastguard Worker  c. For the avoidance of doubt, the Licensor may also offer the
927*0d6140beSAndroid Build Coastguard Worker     Licensed Material under separate terms or conditions or stop
928*0d6140beSAndroid Build Coastguard Worker     distributing the Licensed Material at any time; however, doing so
929*0d6140beSAndroid Build Coastguard Worker     will not terminate this Public License.
930*0d6140beSAndroid Build Coastguard Worker
931*0d6140beSAndroid Build Coastguard Worker  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
932*0d6140beSAndroid Build Coastguard Worker     License.
933*0d6140beSAndroid Build Coastguard Worker
934*0d6140beSAndroid Build Coastguard Worker
935*0d6140beSAndroid Build Coastguard WorkerSection 7 -- Other Terms and Conditions.
936*0d6140beSAndroid Build Coastguard Worker
937*0d6140beSAndroid Build Coastguard Worker  a. The Licensor shall not be bound by any additional or different
938*0d6140beSAndroid Build Coastguard Worker     terms or conditions communicated by You unless expressly agreed.
939*0d6140beSAndroid Build Coastguard Worker
940*0d6140beSAndroid Build Coastguard Worker  b. Any arrangements, understandings, or agreements regarding the
941*0d6140beSAndroid Build Coastguard Worker     Licensed Material not stated herein are separate from and
942*0d6140beSAndroid Build Coastguard Worker     independent of the terms and conditions of this Public License.
943*0d6140beSAndroid Build Coastguard Worker
944*0d6140beSAndroid Build Coastguard Worker
945*0d6140beSAndroid Build Coastguard WorkerSection 8 -- Interpretation.
946*0d6140beSAndroid Build Coastguard Worker
947*0d6140beSAndroid Build Coastguard Worker  a. For the avoidance of doubt, this Public License does not, and
948*0d6140beSAndroid Build Coastguard Worker     shall not be interpreted to, reduce, limit, restrict, or impose
949*0d6140beSAndroid Build Coastguard Worker     conditions on any use of the Licensed Material that could lawfully
950*0d6140beSAndroid Build Coastguard Worker     be made without permission under this Public License.
951*0d6140beSAndroid Build Coastguard Worker
952*0d6140beSAndroid Build Coastguard Worker  b. To the extent possible, if any provision of this Public License is
953*0d6140beSAndroid Build Coastguard Worker     deemed unenforceable, it shall be automatically reformed to the
954*0d6140beSAndroid Build Coastguard Worker     minimum extent necessary to make it enforceable. If the provision
955*0d6140beSAndroid Build Coastguard Worker     cannot be reformed, it shall be severed from this Public License
956*0d6140beSAndroid Build Coastguard Worker     without affecting the enforceability of the remaining terms and
957*0d6140beSAndroid Build Coastguard Worker     conditions.
958*0d6140beSAndroid Build Coastguard Worker
959*0d6140beSAndroid Build Coastguard Worker  c. No term or condition of this Public License will be waived and no
960*0d6140beSAndroid Build Coastguard Worker     failure to comply consented to unless expressly agreed to by the
961*0d6140beSAndroid Build Coastguard Worker     Licensor.
962*0d6140beSAndroid Build Coastguard Worker
963*0d6140beSAndroid Build Coastguard Worker  d. Nothing in this Public License constitutes or may be interpreted
964*0d6140beSAndroid Build Coastguard Worker     as a limitation upon, or waiver of, any privileges and immunities
965*0d6140beSAndroid Build Coastguard Worker     that apply to the Licensor or You, including from the legal
966*0d6140beSAndroid Build Coastguard Worker     processes of any jurisdiction or authority.
967*0d6140beSAndroid Build Coastguard Worker
968*0d6140beSAndroid Build Coastguard Worker
969*0d6140beSAndroid Build Coastguard Worker=======================================================================
970*0d6140beSAndroid Build Coastguard Worker
971*0d6140beSAndroid Build Coastguard WorkerCreative Commons is not a party to its public
972*0d6140beSAndroid Build Coastguard Workerlicenses. Notwithstanding, Creative Commons may elect to apply one of
973*0d6140beSAndroid Build Coastguard Workerits public licenses to material it publishes and in those instances
974*0d6140beSAndroid Build Coastguard Workerwill be considered the “Licensor.” The text of the Creative Commons
975*0d6140beSAndroid Build Coastguard Workerpublic licenses is dedicated to the public domain under the CC0 Public
976*0d6140beSAndroid Build Coastguard WorkerDomain Dedication. Except for the limited purpose of indicating that
977*0d6140beSAndroid Build Coastguard Workermaterial is shared under a Creative Commons public license or as
978*0d6140beSAndroid Build Coastguard Workerotherwise permitted by the Creative Commons policies published at
979*0d6140beSAndroid Build Coastguard Workercreativecommons.org/policies, Creative Commons does not authorize the
980*0d6140beSAndroid Build Coastguard Workeruse of the trademark "Creative Commons" or any other trademark or logo
981*0d6140beSAndroid Build Coastguard Workerof Creative Commons without its prior written consent including,
982*0d6140beSAndroid Build Coastguard Workerwithout limitation, in connection with any unauthorized modifications
983*0d6140beSAndroid Build Coastguard Workerto any of its public licenses or any other arrangements,
984*0d6140beSAndroid Build Coastguard Workerunderstandings, or agreements concerning use of licensed material. For
985*0d6140beSAndroid Build Coastguard Workerthe avoidance of doubt, this paragraph does not form part of the
986*0d6140beSAndroid Build Coastguard Workerpublic licenses.
987*0d6140beSAndroid Build Coastguard Worker
988*0d6140beSAndroid Build Coastguard WorkerCreative Commons may be contacted at creativecommons.org.
989*0d6140beSAndroid Build Coastguard Worker
990*0d6140beSAndroid Build Coastguard Worker---
991*0d6140beSAndroid Build Coastguard Worker
992*0d6140beSAndroid Build Coastguard WorkerFiles: cli_getopt.c
993*0d6140beSAndroid Build Coastguard Worker
994*0d6140beSAndroid Build Coastguard WorkerMIT License
995*0d6140beSAndroid Build Coastguard Worker
996*0d6140beSAndroid Build Coastguard WorkerCopyringht (C) 2023 Rich Felker and the musl authors
997*0d6140beSAndroid Build Coastguard WorkerAdjusted for flashrom by Thomas Heijligen<[email protected]>
998*0d6140beSAndroid Build Coastguard Worker
999*0d6140beSAndroid Build Coastguard WorkerPermission is hereby granted, free of charge, to any person obtaining a copy
1000*0d6140beSAndroid Build Coastguard Workerof this software and associated documentation files (the "Software"), to deal
1001*0d6140beSAndroid Build Coastguard Workerin the Software without restriction, including without limitation the rights
1002*0d6140beSAndroid Build Coastguard Workerto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1003*0d6140beSAndroid Build Coastguard Workercopies of the Software, and to permit persons to whom the Software is
1004*0d6140beSAndroid Build Coastguard Workerfurnished to do so, subject to the following conditions:
1005*0d6140beSAndroid Build Coastguard Worker
1006*0d6140beSAndroid Build Coastguard WorkerThe above copyright notice and this permission notice shall be included in all
1007*0d6140beSAndroid Build Coastguard Workercopies or substantial portions of the Software.
1008*0d6140beSAndroid Build Coastguard Worker
1009*0d6140beSAndroid Build Coastguard WorkerTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1010*0d6140beSAndroid Build Coastguard WorkerIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1011*0d6140beSAndroid Build Coastguard WorkerFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1012*0d6140beSAndroid Build Coastguard WorkerAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1013*0d6140beSAndroid Build Coastguard WorkerLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1014*0d6140beSAndroid Build Coastguard WorkerOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1015*0d6140beSAndroid Build Coastguard WorkerSOFTWARE.
1016