Back to home page

OSCL-LXR

 
 

    


0001 Valid-License-Identifier: GPL-1.0+
0002 SPDX-URL: https://spdx.org/licenses/GPL-1.0.html
0003 Usage-Guide:
0004   The GNU General Public License (GPL) version 1 should not be used in new
0005   code. For existing kernel code the 'or any later version' option is
0006   required to be compatible with the general license of the project: GPLv2.
0007   To use the license in source code, put the following SPDX tag/value pair
0008   into a comment according to the placement guidelines in the licensing
0009   rules documentation:
0010     SPDX-License-Identifier: GPL-1.0+
0011 License-Text:
0012 
0013             GNU GENERAL PUBLIC LICENSE
0014              Version 1, February 1989
0015 
0016  Copyright (C) 1989 Free Software Foundation, Inc.
0017                     675 Mass Ave, Cambridge, MA 02139, USA
0018  Everyone is permitted to copy and distribute verbatim copies
0019  of this license document, but changing it is not allowed.
0020 
0021                             Preamble
0022 
0023   The license agreements of most software companies try to keep users
0024 at the mercy of those companies.  By contrast, our General Public
0025 License is intended to guarantee your freedom to share and change free
0026 software--to make sure the software is free for all its users.  The
0027 General Public License applies to the Free Software Foundation's
0028 software and to any other program whose authors commit to using it.
0029 You can use it for your programs, too.
0030 
0031   When we speak of free software, we are referring to freedom, not
0032 price.  Specifically, the General Public License is designed to make
0033 sure that you have the freedom to give away or sell copies of free
0034 software, that you receive source code or can get it if you want it,
0035 that you can change the software or use pieces of it in new free
0036 programs; and that you know you can do these things.
0037 
0038   To protect your rights, we need to make restrictions that forbid
0039 anyone to deny you these rights or to ask you to surrender the rights.
0040 These restrictions translate to certain responsibilities for you if you
0041 distribute copies of the software, or if you modify it.
0042 
0043   For example, if you distribute copies of a such a program, whether
0044 gratis or for a fee, you must give the recipients all the rights that
0045 you have.  You must make sure that they, too, receive or can get the
0046 source code.  And you must tell them their rights.
0047 
0048   We protect your rights with two steps: (1) copyright the software, and
0049 (2) offer you this license which gives you legal permission to copy,
0050 distribute and/or modify the software.
0051 
0052   Also, for each author's protection and ours, we want to make certain
0053 that everyone understands that there is no warranty for this free
0054 software.  If the software is modified by someone else and passed on, we
0055 want its recipients to know that what they have is not the original, so
0056 that any problems introduced by others will not reflect on the original
0057 authors' reputations.
0058 
0059   The precise terms and conditions for copying, distribution and
0060 modification follow.
0061 
0062                     GNU GENERAL PUBLIC LICENSE
0063    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0064 
0065   0. This License Agreement applies to any program or other work which
0066 contains a notice placed by the copyright holder saying it may be
0067 distributed under the terms of this General Public License.  The
0068 "Program", below, refers to any such program or work, and a "work based
0069 on the Program" means either the Program or any work containing the
0070 Program or a portion of it, either verbatim or with modifications.  Each
0071 licensee is addressed as "you".
0072 
0073   1. You may copy and distribute verbatim copies of the Program's source
0074 code as you receive it, in any medium, provided that you conspicuously and
0075 appropriately publish on each copy an appropriate copyright notice and
0076 disclaimer of warranty; keep intact all the notices that refer to this
0077 General Public License and to the absence of any warranty; and give any
0078 other recipients of the Program a copy of this General Public License
0079 along with the Program.  You may charge a fee for the physical act of
0080 transferring a copy.
0081 
0082   2. You may modify your copy or copies of the Program or any portion of
0083 it, and copy and distribute such modifications under the terms of Paragraph
0084 1 above, provided that you also do the following:
0085 
0086     a) cause the modified files to carry prominent notices stating that
0087     you changed the files and the date of any change; and
0088 
0089     b) cause the whole of any work that you distribute or publish, that
0090     in whole or in part contains the Program or any part thereof, either
0091     with or without modifications, to be licensed at no charge to all
0092     third parties under the terms of this General Public License (except
0093     that you may choose to grant warranty protection to some or all
0094     third parties, at your option).
0095 
0096     c) If the modified program normally reads commands interactively when
0097     run, you must cause it, when started running for such interactive use
0098     in the simplest and most usual way, to print or display an
0099     announcement including an appropriate copyright notice and a notice
0100     that there is no warranty (or else, saying that you provide a
0101     warranty) and that users may redistribute the program under these
0102     conditions, and telling the user how to view a copy of this General
0103     Public License.
0104 
0105     d) You may charge a fee for the physical act of transferring a
0106     copy, and you may at your option offer warranty protection in
0107     exchange for a fee.
0108 
0109 Mere aggregation of another independent work with the Program (or its
0110 derivative) on a volume of a storage or distribution medium does not bring
0111 the other work under the scope of these terms.
0112 
0113   3. You may copy and distribute the Program (or a portion or derivative of
0114 it, under Paragraph 2) in object code or executable form under the terms of
0115 Paragraphs 1 and 2 above provided that you also do one of the following:
0116 
0117     a) accompany it with the complete corresponding machine-readable
0118     source code, which must be distributed under the terms of
0119     Paragraphs 1 and 2 above; or,
0120 
0121     b) accompany it with a written offer, valid for at least three
0122     years, to give any third party free (except for a nominal charge
0123     for the cost of distribution) a complete machine-readable copy of the
0124     corresponding source code, to be distributed under the terms of
0125     Paragraphs 1 and 2 above; or,
0126 
0127     c) accompany it with the information you received as to where the
0128     corresponding source code may be obtained.  (This alternative is
0129     allowed only for noncommercial distribution and only if you
0130     received the program in object code or executable form alone.)
0131 
0132 Source code for a work means the preferred form of the work for making
0133 modifications to it.  For an executable file, complete source code means
0134 all the source code for all modules it contains; but, as a special
0135 exception, it need not include source code for modules which are standard
0136 libraries that accompany the operating system on which the executable
0137 file runs, or for standard header files or definitions files that
0138 accompany that operating system.
0139 
0140   4. You may not copy, modify, sublicense, distribute or transfer the
0141 Program except as expressly provided under this General Public License.
0142 Any attempt otherwise to copy, modify, sublicense, distribute or transfer
0143 the Program is void, and will automatically terminate your rights to use
0144 the Program under this License.  However, parties who have received
0145 copies, or rights to use copies, from you under this General Public
0146 License will not have their licenses terminated so long as such parties
0147 remain in full compliance.
0148 
0149   5. By copying, distributing or modifying the Program (or any work based
0150 on the Program) you indicate your acceptance of this license to do so,
0151 and all its terms and conditions.
0152 
0153   6. Each time you redistribute the Program (or any work based on the
0154 Program), the recipient automatically receives a license from the original
0155 licensor to copy, distribute or modify the Program subject to these
0156 terms and conditions.  You may not impose any further restrictions on the
0157 recipients' exercise of the rights granted herein.
0158 
0159   7. The Free Software Foundation may publish revised and/or new versions
0160 of the General Public License from time to time.  Such new versions will
0161 be similar in spirit to the present version, but may differ in detail to
0162 address new problems or concerns.
0163 
0164 Each version is given a distinguishing version number.  If the Program
0165 specifies a version number of the license which applies to it and "any
0166 later version", you have the option of following the terms and conditions
0167 either of that version or of any later version published by the Free
0168 Software Foundation.  If the Program does not specify a version number of
0169 the license, you may choose any version ever published by the Free Software
0170 Foundation.
0171 
0172   8. If you wish to incorporate parts of the Program into other free
0173 programs whose distribution conditions are different, write to the author
0174 to ask for permission.  For software which is copyrighted by the Free
0175 Software Foundation, write to the Free Software Foundation; we sometimes
0176 make exceptions for this.  Our decision will be guided by the two goals
0177 of preserving the free status of all derivatives of our free software and
0178 of promoting the sharing and reuse of software generally.
0179 
0180                             NO WARRANTY
0181 
0182   9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
0183 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
0184 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
0185 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
0186 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
0187 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
0188 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
0189 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
0190 REPAIR OR CORRECTION.
0191 
0192   10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
0193 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
0194 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
0195 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
0196 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
0197 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
0198 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
0199 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
0200 POSSIBILITY OF SUCH DAMAGES.
0201 
0202                      END OF TERMS AND CONDITIONS
0203 
0204         Appendix: How to Apply These Terms to Your New Programs
0205 
0206   If you develop a new program, and you want it to be of the greatest
0207 possible use to humanity, the best way to achieve this is to make it
0208 free software which everyone can redistribute and change under these
0209 terms.
0210 
0211   To do so, attach the following notices to the program.  It is safest to
0212 attach them to the start of each source file to most effectively convey
0213 the exclusion of warranty; and each file should have at least the
0214 "copyright" line and a pointer to where the full notice is found.
0215 
0216     <one line to give the program's name and a brief idea of what it does.>
0217     Copyright (C) 19yy  <name of author>
0218 
0219     This program is free software; you can redistribute it and/or modify
0220     it under the terms of the GNU General Public License as published by
0221     the Free Software Foundation; either version 1, or (at your option)
0222     any later version.
0223 
0224     This program is distributed in the hope that it will be useful,
0225     but WITHOUT ANY WARRANTY; without even the implied warranty of
0226     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0227     GNU General Public License for more details.
0228 
0229     You should have received a copy of the GNU General Public License
0230     along with this program; if not, write to the Free Software
0231     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
0232 
0233 Also add information on how to contact you by electronic and paper mail.
0234 
0235 If the program is interactive, make it output a short notice like this
0236 when it starts in an interactive mode:
0237 
0238     Gnomovision version 69, Copyright (C) 19xx name of author
0239     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
0240     This is free software, and you are welcome to redistribute it
0241     under certain conditions; type `show c' for details.
0242 
0243 The hypothetical commands `show w' and `show c' should show the
0244 appropriate parts of the General Public License.  Of course, the
0245 commands you use may be called something other than `show w' and `show
0246 c'; they could even be mouse-clicks or menu items--whatever suits your
0247 program.
0248 
0249 You should also get your employer (if you work as a programmer) or your
0250 school, if any, to sign a "copyright disclaimer" for the program, if
0251 necessary.  Here a sample; alter the names:
0252 
0253   Yoyodyne, Inc., hereby disclaims all copyright interest in the
0254   program `Gnomovision' (a program to direct compilers to make passes
0255   at assemblers) written by James Hacker.
0256 
0257   <signature of Ty Coon>, 1 April 1989
0258   Ty Coon, President of Vice
0259 
0260 That's all there is to it!