ANHANG ANHANG
NOTE! This copyright does *not * cover user programs that use k ernel
services by normal system calls - this is merely considered normal use
of the kernel, and does *not* fall under the heading of „derived work“ .
Also note that the GPL below is copyrighted by the F ree So ftware
F oundation, but the instance of code that it r efers to (the Linux
kernel) is copyrighted by me and others who actually wrot e it .
Also note that the only v alid version of the GPL as far as the k ernel
is concerned is _this_ particular version of the license (ie v2, not
v2.2 or v3.x or whatever), unless explicitly otherwise stated.
Linus T orvalds
GNU GENERAL PUBLIC LICENSE
V ersion 2, June 1991
Copyright (C) 19 89 , 19 91 F ree Software F ounda tion, Inc.
51 Fr anklin St , Fifth Floor , Bos ton, MA 02110- 1301 USA
Everyone is permitted to copy and distribut e verbatim copies
of this license document , but changing it is not allowed.
Preamble
The licenses for most software are designed t o take away your
freedom to share and change it . By con trast , the GNU General Public
License is intended to guarantee your freedom to shar e and change free
software--to make sur e the software is free for all its users. This
General Public License applies to most of the F ree Software
F oundation‘ s software and to any other progr am whose authors commit to
using it . (Some other F ree Software F oundation soft ware is cover ed by
the GNU Library General Public License instead.) Y ou can apply it to
your programs, too .
When we speak of free software, we are ref erring to freedom, not
price. Our General Public Licenses are designed to make sur e that you
have the freedom to distribute copies o f free software (and charge f or
this service if you wish), that you receive source code or can get it
if you want it , that you can change the software or use pieces of it
in new free programs; and that y ou know you can do these things.
T o protect your rights, we need t o make restrictions that f orbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities f or you if you
distribute copies of the software, or if you modify it .
F or example, if y ou distribute copies of such a program, whether
gratis or for a f ee, you must giv e the recipients all the rights that
you have. Y ou must make sure that they , t oo, receive or can get the
source code. And you must show them these terms so they know their
rights.
W e pr otect y our rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy ,
distribute and/ or modify the software.
Also , for each author‘ s protection and ours, we want to make certain
that everyone understands that there is no w arranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors‘ reputations.
Finally , an y free program is threatened const antly by software
patents. W e wish to avoid the danger that r edistributors of a free
program will individually obtain pa tent licenses, in effect making the
program proprietary . T o preven t this, we have made it clear that any
patent must be licensed for ev eryone‘s free use or not licensed at all.
The precise terms and conditions for cop ying, distribution and
modification follow .
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS F OR COPYING,
DISTRIBUTION AND MODIFICA TION
0. This License applies t o any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The „Pr ogram“ , below ,
refers t o any such program or work, and a „ work based on the Program“
means either the Program or any derivativ e work under copyright law:
that is to say , a work containing the Program or a portion of it ,
either verbatim or with modifications and/or transla ted into another
language. (Hereinafter , tr anslation is included without limitation in
the term „modification“ .) Each licensee is addressed as „ you“ .
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output fr om the Program
is covered only if its conten ts constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. Y ou may cop y and distribute v erbatim copies of the Program‘s
source code as you r eceive it , in any medium, pro vided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warr anty; keep intact all the
notices that refer t o this License and to the absence of any w arranty;
and give any other recipients of the Pr ogram a copy of this License
along with the Program.
Y ou may charge a f ee for the ph ysical act of transferring a copy , and
you may at y our option offer w arranty protection in exchange f or a fee.
2. Y ou may modify your copy or copies of the Program or an y portion
of it , thus forming a work based on the Program, and copy and
distribute such modifications or work under the t erms of Section 1
above, provided that you also meet all of these conditions:
a) Y ou must cause the modified files to carr y prominent notices
stating that y ou changed the files and the date of any change.
b) Y ou must cause any work that you distribut e or publish, that in
whole or in part contains or is derived from the Program or an y
part thereof , to be licensed as a whole at no charge t o all third
parties under the terms of this License.
c) If the modified program normally reads commands interactiv ely
when run, y ou must cause it , when started running f or such
interactive use in the most ordinary way , to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warr anty (or else, saying that you provide
a warranty) and that users may redistribute the pr ogram under
these conditions, and telling the user how to view a copy o f this
License. (Exception: if the Progr am itself is interactive but
does not normally print such an announcement , your work based on
the Program is not required t o print an announcement .)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not deriv ed from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when y ou distribute them as separate works. But when y ou
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the t erms of
his License, whose permissions for o ther licensees extend to the
entire whole, and thus to each and ev ery par t regardless of who wrote it .
Thus, it is not the intent of this section to claim rights or con test
your rights to work written entirely by y ou; rather , the int ent is to
exercise the right t o control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another w ork not based on the Program
with the Program (or with a work based on the Program) on a v olume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. Y ou may copy and distribute the Program (or a work based on it ,
under Section 2) in object code or executable f orm under the terms of
Sections 1 and 2 above provided that you also do one of the f ollowing:
a) Accompan y it with the complete corresponding machine-readable
source code, which must be distributed under the t erms of Sections
1 and 2 above on a medium customarily used f or software interchange; or ,
b) Accompany it with a written offer , valid f or at least three
years, to giv e any third party , for a char ge no more than your
cost of physically performing sour ce distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 abov e on a medium
customarily used for softwar e interchange; or ,
c) Accompan y it with the information you received as t o the offer
to distribute corresponding source code. (This alternativ e is
allowed only for noncommercial distribution and only if you
received the program in object code or ex ecutable form with such
an offer , in accord with Subsection b above.)
The source code for a work means the preferred f orm of the work f or
making modifications to it . F or an ex ecutable w ork, complete source
code means all the source code for all modules it contains, plus an y
associated interface de finition files, plus the scripts used to
control compilation and installation of the ex ecutable. However , as a
special exception, the source code distribut ed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler , k ernel, and so on) of the
operating system on which the ex ecutable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made b y offering
access to copy from a designated place, then off ering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.