Skip to content

LICENSES: Add documentation and initial License files

Thomas Gleixner linux-xfs lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 16 repliesIn review
  2. v4 posting 2/211 patches 9 repliesSuperseded
  3. v4 posting 1/21 of 11 patches 25 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v211 patches30 repliesSuperseded
v17 patches23 repliesSuperseded

Changes in v5 from the cover letter

- Made use of boilerplate consistently

- Fixed the 'braces' inconsistency spotted by Heiko

- Picked up Reviewed-by tags

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Documentation: Add license-rules.rst to describe how to properly identify file licensesDocumentation/index.rst Documentation/process/license-rules.rst+382 -012 replies
2/11LICENSES: Add the GPL 2.0 licenseLICENSES/preferred/GPL-2.0+353 -03 replies
3/11LICENSES: Add the LGPL 2.0 licenseLICENSES/preferred/LGPL-2.0+487 -00 replies
4/11LICENSES: Add the LGPL-2.1 licenseLICENSES/preferred/LGPL-2.1+503 -00 replies
5/11LICENSES: Add the BSD 2-clause "Simplified" licenseLICENSES/preferred/BSD-2-Clause+32 -00 replies
6/11LICENSES: Add the BSD 3-clause "New" or "Revised" LicenseLICENSES/preferred/BSD-3-Clause+36 -00 replies
7/11LICENSES: Add the BSD-3-clause "Clear" licenseLICENSES/preferred/BSD-3-Clause-Clear+41 -00 replies
8/11LICENSES: Add the MIT licenseLICENSES/preferred/MIT+30 -00 replies
9/11LICENSES: Add Linux syscall note exceptionLICENSES/exceptions/Linux-syscall-note+25 -00 replies
10/11LICENSES: Add the GPL 1.0 licenseLICENSES/other/GPL-1.0+260 -00 replies
11/11LICENSES: Add MPL-1.1 licenseLICENSES/other/MPL-1.1+478 -00 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJonas ObergJonathan CorbetPhilippe OmbredanneKate StewartGreg Kroah-HartmanDarrick J. Wong
SeriesR-b
1/11R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b A-b
2/11R-b R-b R-b R-b R-b
3/11R-b R-b R-b
4/11R-b R-b R-b
5/11R-b R-b R-b
6/11R-b R-b R-b
7/11R-b R-b R-b
8/11R-b R-b R-b
9/11R-b R-b R-b
10/11R-b R-b R-b
11/11R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v5 thread

Cover letter [patch V5 00/11] LICENSES: Add documentation and initial License files

This is the 5th version of the licensing rules documentation.

Changes since v4:

- Made use of boilerplate consistently

- Fixed the 'braces' inconsistency spotted by Heiko

- Picked up Reviewed-by tags

Delta patch vs. V4 below.

Thanks to everyone who provided input!

Thanks,

tglx

8<---------------

Documentation/process/license-rules.rst +20 -18
@@ -34,8 +34,8 @@ into any source files which create an ex
 kernel, the exception must be documented by a special license expression.
 
 The common way of expressing the license of a source file is to add the
-matching boiler plate text into the top comment of the file.  Due to
-formatting, typos etc. these "boiler plates" are hard to validate for
+matching boilerplate text into the top comment of the file.  Due to
+formatting, typos etc. these "boilerplates" are hard to validate for
 tools which are used in the context of license compliance.
 
 An alternative to boilerplate text is the use of Software Package Data
@@ -89,9 +89,11 @@ License identifier syntax
 3. Syntax:
 
    A <SPDX License Expression> is either an SPDX short form license
-   identifier found on the SPDX License List, or when multiple licenses
-   apply, an expression consisting of keywords "AND", "OR", and "WITH"
-   separating SPDX short form license identifiers surrounded by "(", ")".
+   identifier found on the SPDX License List, or the combination of two
+   SPDX short form license identifiers separated by "WITH" when a license
+   exception applies. When multiple licenses apply, an expression consists
+   of keywords "AND", "OR" separating sub-expressions and surrounded by
+   "(", ")" .
 
    License identifiers for licenses like [L]GPL with the 'or later' option
    are constructed by using a "+" for indicating the 'or later' option.::
@@ -102,13 +104,13 @@ License identifier syntax
    WITH should be used when there is a modifier to a license needed.
    For example, the linux kernel UAPI files use the expression::
 
-      // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note)
-      // SPDX-License-Identifier: (GPL-2.0+ WITH Linux-syscall-note)
+      // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+      // SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note
 
    Other examples using WITH exceptions found in the kernel are::
 
-      // SPDX-License-Identifier: (GPL-2.0 WITH mif-exception)
-      // SPDX-License-Identifier: (GPL-2.0+ WITH GCC-exception-2.0)
+      // SPDX-License-Identifier: GPL-2.0 WITH mif-exception
+      // SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0
 
    Exceptions can only be used with particular License identifiers. The
    valid License identifiers are listed in the tags of the exception text
@@ -119,28 +121,28 @@ License identifier syntax
    to be selected.  For example, some dtsi files are available under dual
    licenses::
 
-      // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+      // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 
    Examples from the kernel for license expressions in dual licensed files::
 
-      // SPDX-License-Identifier: (GPL-2.0 OR MIT)
-      // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
-      // SPDX-License-Identifier: (GPL-2.0 OR Apache-2.0)
-      // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-      // SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR MIT)
-      // SPDX-License-Identifier: ((GPL-1.0+ OR BSD-3-Clause) OR OpenSSL)
+      // SPDX-License-Identifier: GPL-2.0 OR MIT
+      // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+      // SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
+      // SPDX-License-Identifier: GPL-2.0 OR MPL-1.1
+      // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT
+      // SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause OR OpenSSL
 
    AND should be used if the file has multiple licenses whose terms all
    apply to use the file. For example, if code is inherited from another
    project and permission has been given to put it in the kernel, but the
    original license terms need to remain in effect::
 
-      // SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) AND MIT)
+      // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) AND MIT
 
    Another other example where both sets of license terms need to be
    adhered to is::
 
-      // SPDX-License-Identifier: (GPL-1.0+ AND LGPL-2.1+)
+      // SPDX-License-Identifier: GPL-1.0+ AND LGPL-2.1+
 
 License identifiers
 -------------------