^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) .. _kernel_licensing:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Linux kernel licensing rules
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) The Linux Kernel is provided under the terms of the GNU General Public
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) License version 2 only (GPL-2.0), as provided in LICENSES/preferred/GPL-2.0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) with an explicit syscall exception described in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) LICENSES/exceptions/Linux-syscall-note, as described in the COPYING file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) This documentation file provides a description of how each source file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) should be annotated to make its license clear and unambiguous.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) It doesn't replace the Kernel's license.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) The license described in the COPYING file applies to the kernel source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) as a whole, though individual source files can have a different license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) which is required to be compatible with the GPL-2.0::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) GPL-1.0+ : GNU General Public License v1.0 or later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) GPL-2.0+ : GNU General Public License v2.0 or later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) LGPL-2.0 : GNU Library General Public License v2 only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) LGPL-2.0+ : GNU Library General Public License v2 or later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) LGPL-2.1 : GNU Lesser General Public License v2.1 only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) LGPL-2.1+ : GNU Lesser General Public License v2.1 or later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Aside from that, individual files can be provided under a dual license,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) e.g. one of the compatible GPL variants and alternatively under a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) permissive license like BSD, MIT etc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) The User-space API (UAPI) header files, which describe the interface of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) user-space programs to the kernel are a special case. According to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) note in the kernel COPYING file, the syscall interface is a clear boundary,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) which does not extend the GPL requirements to any software which uses it to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) communicate with the kernel. Because the UAPI headers must be includable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) into any source files which create an executable running on the Linux
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) kernel, the exception must be documented by a special license expression.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) The common way of expressing the license of a source file is to add the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) matching boilerplate text into the top comment of the file. Due to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) formatting, typos etc. these "boilerplates" are hard to validate for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) tools which are used in the context of license compliance.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) An alternative to boilerplate text is the use of Software Package Data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Exchange (SPDX) license identifiers in each source file. SPDX license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) identifiers are machine parsable and precise shorthands for the license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) under which the content of the file is contributed. SPDX license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) identifiers are managed by the SPDX Workgroup at the Linux Foundation and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) have been agreed on by partners throughout the industry, tool vendors, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) legal teams. For further information see https://spdx.org/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) The Linux kernel requires the precise SPDX identifier in all source files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) The valid identifiers used in the kernel are explained in the section
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) `License identifiers`_ and have been retrieved from the official SPDX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) license list at https://spdx.org/licenses/ along with the license texts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) License identifier syntax
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) -------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 1. Placement:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) The SPDX license identifier in kernel files shall be added at the first
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) possible line in a file which can contain a comment. For the majority
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) of files this is the first line, except for scripts which require the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) '#!PATH_TO_INTERPRETER' in the first line. For those scripts the SPDX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) identifier goes into the second line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) 2. Style:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) The SPDX license identifier is added in form of a comment. The comment
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) style depends on the file type::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) C source: // SPDX-License-Identifier: <SPDX License Expression>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) C header: /* SPDX-License-Identifier: <SPDX License Expression> */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) ASM: /* SPDX-License-Identifier: <SPDX License Expression> */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) scripts: # SPDX-License-Identifier: <SPDX License Expression>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) .rst: .. SPDX-License-Identifier: <SPDX License Expression>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) .dts{i}: // SPDX-License-Identifier: <SPDX License Expression>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) If a specific tool cannot handle the standard comment style, then the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) appropriate comment mechanism which the tool accepts shall be used. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) is the reason for having the "/\* \*/" style comment in C header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) files. There was build breakage observed with generated .lds files where
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) 'ld' failed to parse the C++ comment. This has been fixed by now, but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) there are still older assembler tools which cannot handle C++ style
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) comments.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) 3. Syntax:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) A <SPDX License Expression> is either an SPDX short form license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) identifier found on the SPDX License List, or the combination of two
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) SPDX short form license identifiers separated by "WITH" when a license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) exception applies. When multiple licenses apply, an expression consists
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) of keywords "AND", "OR" separating sub-expressions and surrounded by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) "(", ")" .
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) License identifiers for licenses like [L]GPL with the 'or later' option
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) are constructed by using a "+" for indicating the 'or later' option.::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) // SPDX-License-Identifier: GPL-2.0+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) // SPDX-License-Identifier: LGPL-2.1+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) WITH should be used when there is a modifier to a license needed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) For example, the linux kernel UAPI files use the expression::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) // SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Other examples using WITH exceptions found in the kernel are::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) // SPDX-License-Identifier: GPL-2.0 WITH mif-exception
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) // SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) Exceptions can only be used with particular License identifiers. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) valid License identifiers are listed in the tags of the exception text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) file. For details see the point `Exceptions`_ in the chapter `License
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) identifiers`_.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) OR should be used if the file is dual licensed and only one license is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) to be selected. For example, some dtsi files are available under dual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) licenses::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Examples from the kernel for license expressions in dual licensed files::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) // SPDX-License-Identifier: GPL-2.0 OR MIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) // SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) // SPDX-License-Identifier: GPL-2.0 OR MPL-1.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) // SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause OR OpenSSL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) AND should be used if the file has multiple licenses whose terms all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) apply to use the file. For example, if code is inherited from another
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) project and permission has been given to put it in the kernel, but the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) original license terms need to remain in effect::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) AND MIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) Another other example where both sets of license terms need to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) adhered to is::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) // SPDX-License-Identifier: GPL-1.0+ AND LGPL-2.1+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) License identifiers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) -------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) The licenses currently used, as well as the licenses for code added to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) kernel, can be broken down into:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 1. _`Preferred licenses`:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) Whenever possible these licenses should be used as they are known to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) fully compatible and widely used. These licenses are available from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) directory::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) LICENSES/preferred/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) in the kernel source tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) The files in this directory contain the full license text and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) `Metatags`_. The file names are identical to the SPDX license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) identifier which shall be used for the license in source files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) Examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) LICENSES/preferred/GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) Contains the GPL version 2 license text and the required metatags::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) LICENSES/preferred/MIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) Contains the MIT license text and the required metatags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) _`Metatags`:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) The following meta tags must be available in a license file:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) - Valid-License-Identifier:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) One or more lines which declare which License Identifiers are valid
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) inside the project to reference this particular license text. Usually
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) this is a single valid identifier, but e.g. for licenses with the 'or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) later' options two identifiers are valid.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) - SPDX-URL:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) The URL of the SPDX page which contains additional information related
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) to the license.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) - Usage-Guidance:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) Freeform text for usage advice. The text must include correct examples
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) for the SPDX license identifiers as they should be put into source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) files according to the `License identifier syntax`_ guidelines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) - License-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) All text after this tag is treated as the original license text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) File format examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) Valid-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) Valid-License-Identifier: GPL-2.0+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) SPDX-URL: https://spdx.org/licenses/GPL-2.0.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) Usage-Guide:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) To use this license in source code, put one of the following SPDX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) tag/value pairs into a comment according to the placement
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) guidelines in the licensing rules documentation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) For 'GNU General Public License (GPL) version 2 only' use:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) For 'GNU General Public License (GPL) version 2 or any later version' use:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) SPDX-License-Identifier: GPL-2.0+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) License-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) Full license text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) ::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) SPDX-License-Identifier: MIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) SPDX-URL: https://spdx.org/licenses/MIT.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) Usage-Guide:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) To use this license in source code, put the following SPDX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) tag/value pair into a comment according to the placement
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) guidelines in the licensing rules documentation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) SPDX-License-Identifier: MIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) License-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) Full license text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) 2. Deprecated licenses:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) These licenses should only be used for existing code or for importing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) code from a different project. These licenses are available from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) directory::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) LICENSES/deprecated/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) in the kernel source tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) The files in this directory contain the full license text and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) `Metatags`_. The file names are identical to the SPDX license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) identifier which shall be used for the license in source files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) Examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) LICENSES/deprecated/ISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) Contains the Internet Systems Consortium license text and the required
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) metatags::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) LICENSES/deprecated/GPL-1.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) Contains the GPL version 1 license text and the required metatags.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) Metatags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) The metatag requirements for 'other' licenses are identical to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) requirements of the `Preferred licenses`_.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) File format example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) Valid-License-Identifier: ISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) SPDX-URL: https://spdx.org/licenses/ISC.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) Usage-Guide:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) Usage of this license in the kernel for new code is discouraged
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) and it should solely be used for importing code from an already
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) existing project.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) To use this license in source code, put the following SPDX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) tag/value pair into a comment according to the placement
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) guidelines in the licensing rules documentation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) SPDX-License-Identifier: ISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) License-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) Full license text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) 3. Dual Licensing Only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) These licenses should only be used to dual license code with another
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) license in addition to a preferred license. These licenses are available
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) from the directory::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) LICENSES/dual/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) in the kernel source tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) The files in this directory contain the full license text and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) `Metatags`_. The file names are identical to the SPDX license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) identifier which shall be used for the license in source files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) Examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) LICENSES/dual/MPL-1.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) Contains the Mozilla Public License version 1.1 license text and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) required metatags::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) LICENSES/dual/Apache-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) Contains the Apache License version 2.0 license text and the required
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) metatags.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) Metatags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) The metatag requirements for 'other' licenses are identical to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) requirements of the `Preferred licenses`_.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) File format example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) Valid-License-Identifier: MPL-1.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) SPDX-URL: https://spdx.org/licenses/MPL-1.1.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) Usage-Guide:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) dual-licensed files where the other license is GPL2 compatible.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) If you end up using this it MUST be used together with a GPL2 compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) license using "OR".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) To use the Mozilla Public License version 1.1 put the following SPDX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) tag/value pair into a comment according to the placement guidelines in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) the licensing rules documentation:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) SPDX-License-Identifier: MPL-1.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) License-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) Full license text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) 4. _`Exceptions`:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) Some licenses can be amended with exceptions which grant certain rights
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) which the original license does not. These exceptions are available
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) from the directory::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) LICENSES/exceptions/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341) in the kernel source tree. The files in this directory contain the full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) exception text and the required `Exception Metatags`_.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) Examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) LICENSES/exceptions/Linux-syscall-note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) Contains the Linux syscall exception as documented in the COPYING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) file of the Linux kernel, which is used for UAPI header files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) e.g. /\* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note \*/::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) LICENSES/exceptions/GCC-exception-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) Contains the GCC 'linking exception' which allows to link any binary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) independent of its license against the compiled version of a file marked
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) with this exception. This is required for creating runnable executables
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) from source code which is not compatible with the GPL.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) _`Exception Metatags`:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) The following meta tags must be available in an exception file:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) - SPDX-Exception-Identifier:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) One exception identifier which can be used with SPDX license
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) identifiers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) - SPDX-URL:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) The URL of the SPDX page which contains additional information related
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) to the exception.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) - SPDX-Licenses:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) A comma separated list of SPDX license identifiers for which the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) exception can be used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) - Usage-Guidance:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) Freeform text for usage advice. The text must be followed by correct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) examples for the SPDX license identifiers as they should be put into
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) source files according to the `License identifier syntax`_ guidelines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) - Exception-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) All text after this tag is treated as the original exception text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) File format examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) SPDX-Exception-Identifier: Linux-syscall-note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) Usage-Guidance:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) This exception is used together with one of the above SPDX-Licenses
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) to mark user-space API (uapi) header files so they can be included
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) into non GPL compliant user-space application code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) To use this exception add it with the keyword WITH to one of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) identifiers in the SPDX-Licenses tag:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) Exception-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) Full exception text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) ::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) SPDX-Exception-Identifier: GCC-exception-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) SPDX-URL: https://spdx.org/licenses/GCC-exception-2.0.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) SPDX-Licenses: GPL-2.0, GPL-2.0+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) Usage-Guidance:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) The "GCC Runtime Library exception 2.0" is used together with one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) of the above SPDX-Licenses for code imported from the GCC runtime
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) library.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) To use this exception add it with the keyword WITH to one of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) identifiers in the SPDX-Licenses tag:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) SPDX-License-Identifier: <SPDX-License> WITH GCC-exception-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) Exception-Text:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) Full exception text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419) All SPDX license identifiers and exceptions must have a corresponding file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) in the LICENSES subdirectories. This is required to allow tool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421) verification (e.g. checkpatch.pl) and to have the licenses ready to read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422) and extract right from the source, which is recommended by various FOSS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) organizations, e.g. the `FSFE REUSE initiative <https://reuse.software/>`_.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) _`MODULE_LICENSE`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428) Loadable kernel modules also require a MODULE_LICENSE() tag. This tag is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429) neither a replacement for proper source code license information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) (SPDX-License-Identifier) nor in any way relevant for expressing or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) determining the exact license under which the source code of the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) is provided.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434) The sole purpose of this tag is to provide sufficient information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) whether the module is free software or proprietary for the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436) module loader and for user space tools.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) The valid license strings for MODULE_LICENSE() are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440) ============================= =============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) "GPL" Module is licensed under GPL version 2. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) does not express any distinction between
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443) GPL-2.0-only or GPL-2.0-or-later. The exact
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) license information can only be determined
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445) via the license information in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) corresponding source files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) "GPL v2" Same as "GPL". It exists for historic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) reasons.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) "GPL and additional rights" Historical variant of expressing that the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) module source is dual licensed under a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453) GPL v2 variant and MIT license. Please do
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) not use in new code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) "Dual MIT/GPL" The correct way of expressing that the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457) module is dual licensed under a GPL v2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) variant or MIT license choice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) "Dual BSD/GPL" The module is dual licensed under a GPL v2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461) variant or BSD license choice. The exact
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) variant of the BSD license can only be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463) determined via the license information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) in the corresponding source files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466) "Dual MPL/GPL" The module is dual licensed under a GPL v2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) variant or Mozilla Public License (MPL)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468) choice. The exact variant of the MPL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) license can only be determined via the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) license information in the corresponding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471) source files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473) "Proprietary" The module is under a proprietary license.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) This string is solely for proprietary third
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475) party modules and cannot be used for modules
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) which have their source code in the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477) tree. Modules tagged that way are tainting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478) the kernel with the 'P' flag when loaded and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) the kernel module loader refuses to link such
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480) modules against symbols which are exported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481) with EXPORT_SYMBOL_GPL().
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482) ============================= =============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 484)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 485)