16 Sep, 2020

2 commits

  • The new files contributed to zlib have Zlib SPDX license identifier. Since
    there was no Zlib license text in LICENSES, scripts/spdxcheck.py
    reported the following errors:
    lib/zlib_dfltcc/dfltcc.c: 1:28 Invalid License ID: Zlib
    lib/zlib_dfltcc/dfltcc.h: 1:28 Invalid License ID: Zlib
    lib/zlib_dfltcc/dfltcc_deflate.c: 1:28 Invalid License ID: Zlib
    lib/zlib_dfltcc/dfltcc_inflate.c: 1:28 Invalid License ID: Zlib
    lib/zlib_dfltcc/dfltcc_util.h: 1:28 Invalid License ID: Zlib

    The patch adds Zlib SPDX license to LICENSES/deprecated, thus
    resolving the issues reported by spdxcheck.

    Suggested-by: Lukas Bulwahn
    Reviewed-by: Lukas Bulwahn
    Signed-off-by: Mikhail Zaslonko
    Signed-off-by: Greg Kroah-Hartman

    Mikhail Zaslonko
     
  • There are some files under Documentation which uses
    deprecated versions of GNU Free Documentation License, on
    both versions 1.1 and 1.2.

    On all cases, the license is with no Invariant Sections,
    Front-Cover Texts or Back-Cover Texts.

    Add the text file for them, as we'll start using SPDX
    for those.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Greg Kroah-Hartman

    Mauro Carvalho Chehab
     

03 May, 2019

2 commits

  • Make it clear in the directory name that these are not intended for new
    code.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Christoph Hellwig
     
  • Just like the CDDL the Apache license and the MPL must only be used as
    a choice in additional to an GPL2 compatible license. Copy over the
    boilerplate from the CDDL file to the other two after fixing it up to
    make it clear the licenses need to be GPL2 compatible, not just the
    more generic GPL compatible. For example the Apache 2 license is GPL3
    compatible, but that doesn't matter for the kernel.

    Also move these licenses to a separate directory and document the rules
    in license-rules.rst.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Christoph Hellwig
     

17 Jan, 2019

1 commit

  • A recent commit added SPDX identifiers to the SuperH low level library code
    which originates from GCC. This code is licensed under the GPL 2.0 or later
    with the GCC runtime library exception.

    Unfortunately the authors did not bother to add the exception text to the
    LICENSES directory so spdxcheck fails with:

    arch/sh/lib/ashiftrt.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/ashlsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/ashrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/lshrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/movmem.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udiv_qrnnd.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udivsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udivsi3_i4i-Os.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udivsi3_i4i.S: 1:42 Invalid Exception ID: GCC-exception-2.0

    Add the exception text along with the required tags which allow automated
    checking.

    Fixes: 4494ce4fb4ff ("sh: lib: convert to SPDX identifiers")
    Signed-off-by: Thomas Gleixner
    Acked-by: Greg Kroah-Hartman
    Cc: Kuninori Morimoto
    Cc: Simon Horman
    Cc: Yoshinori Sato
    Cc: Rich Felker
    Cc: Andrew Morton
    Cc: Kate Stewart
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     

25 Oct, 2018

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "This is a fairly typical cycle for documentation. There's some welcome
    readability improvements for the formatted output, some LICENSES
    updates including the addition of the ISC license, the removal of the
    unloved and unmaintained 00-INDEX files, the deprecated APIs document
    from Kees, more MM docs from Mike Rapoport, and the usual pile of typo
    fixes and corrections"

    * tag 'docs-4.20' of git://git.lwn.net/linux: (41 commits)
    docs: Fix typos in histogram.rst
    docs: Introduce deprecated APIs list
    kernel-doc: fix declaration type determination
    doc: fix a typo in adding-syscalls.rst
    docs/admin-guide: memory-hotplug: remove table of contents
    doc: printk-formats: Remove bogus kobject references for device nodes
    Documentation: preempt-locking: Use better example
    dm flakey: Document "error_writes" feature
    docs/completion.txt: Fix a couple of punctuation nits
    LICENSES: Add ISC license text
    LICENSES: Add note to CDDL-1.0 license that it should not be used
    docs/core-api: memory-hotplug: add some details about locking internals
    docs/core-api: rename memory-hotplug-notifier to memory-hotplug
    docs: improve readability for people with poorer eyesight
    yama: clarify ptrace_scope=2 in Yama documentation
    docs/vm: split memory hotplug notifier description to Documentation/core-api
    docs: move memory hotplug description into admin-guide/mm
    doc: Fix acronym "FEKEK" in ecryptfs
    docs: fix some broken documentation references
    iommu: Fix passthrough option documentation
    ...

    Linus Torvalds
     

18 Oct, 2018

1 commit

  • Using non-GPL licenses for our documentation is rather problematic,
    as it can directly include other files, which generally are GPLv2
    licensed and thus not compatible.

    Remove this license now that the only user (idr.rst) is gone to avoid
    people semi-accidentally using it again.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Greg Kroah-Hartman

    Christoph Hellwig
     

13 Oct, 2018

2 commits

  • Add the full text of the ISC license to the kernel tree. It was copied
    directly from:

    https://spdx.org/licenses/ISC.html

    With the mention of "ISC" in the warranty disclaimer replaced with
    "THE AUTHOR" as done in the ISC license headers used in the ath10k and
    brcmfmac wifi drivers.

    Cc: Kalle Valo
    Signed-off-by: Hans de Goede
    Signed-off-by: Jonathan Corbet

    Hans de Goede
     
  • The only reason we have the CDDL-1.0 license text around is for some
    dual-licensed files from virtualbox. New code should not use this license.

    Add a note about this and change the example tag to be dual-licensed.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jonathan Corbet

    Hans de Goede
     

28 Apr, 2018

6 commits

  • The infiniband code uses a variant of the OpenIB license. This license is
    BSD-2-Clause with the MIT disclaimer. The linux kernel uses this license
    extensively throughout the driver subsystem since 2005. Note that the
    OpenIB.org license is a true match to BSD-2-Clause.

    The license text was copied from:

    https://spdx.org/licenses/Linux-OpenIB.html#licenseText

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Kate Stewart
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the CC-BY-SA-4.0 license to the kernel tree. It was
    copied directly from:

    https://spdx.org/licenses/CC-BY-SA-4.0.html#licenseText

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Kate Stewart
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the CDDL-1.0 to the kernel tree. It was copied directly
    from:

    https://spdx.org/licenses/CDDL-1.0.html#licenseText

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Kate Stewart
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the Apache License version 2 to the kernel tree. It
    was copied directly from:

    https://spdx.org/licenses/Apache-2.0.html#licenseText

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Kate Stewart
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the X11 to the kernel tree. It was copied directly
    from:

    https://spdx.org/licenses/X11.html#licenseText

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Quite some files have been flagged with the new GPL-2.0-only and
    GPL-2.0-or-later identifiers which replace the original GPL-2.0 and
    GPL-2.0+ identifiers in the SPDX license identifier specification, but the
    identifiers are not mentioned as valid in the GPL-2.0 license file.

    Add them to the license file and to the Linux-syscall-note exception to
    make everything consistent again.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Mauro Carvalho Chehab
    Cc: Hans Verkuil
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     

07 Jan, 2018

10 commits

  • Add the full text of the Mozilla Public License 1.1 to the kernel tree. It was
    copied directly from:

    https://spdx.org/licenses/MPL-1.1.html#licenseText

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the GPL 1.0 license to the kernel tree. It was
    copied directly from:

    https://spdx.org/licenses/GPL-1.0.html#licenseText

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Copied from the Linux kernel COPYING file.

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the MIT license to the kernel tree. It was copied
    directly from:

    https://spdx.org/licenses/MIT.html#licenseText

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the BSD 3-clause "Clear" License to the
    kernel tree. It was copied directly from:

    https://spdx.org/licenses/BSD-3-Clause-Clear.html

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the BSD 3-clause "New" or "Revised" License to the
    kernel tree. It was copied directly from:

    https://spdx.org/licenses/BSD-3-Clause.html#licenseText

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the BSD 2-clause "Simplified" license to the kernel
    tree. It was copied directly from:

    https://spdx.org/licenses/BSD-2-Clause.html#licenseText

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the LGPL 2.1 license to the kernel tree. It was
    copied directly from:

    https://spdx.org/licenses/LGPL-2.1.html#licenseText

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the LGPL 2.0 license to the kernel tree. It was
    copied directly from:

    https://spdx.org/licenses/LGPL-2.0.html#licenseText

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Kate Stewart
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner
     
  • Add the full text of the GPL 2.0 license to the LICENSES directory. It was
    copied directly from the COPYING file in the kernel source tree as it
    differs from the public available version of the license in various places
    including the FSF.

    Philippe did some research on the GPL2.0 history:

    There is NO trustworthy version of an official GPL 2.0 text: the FSF
    official texts are all fubar (if only in small and subtle ways). The FSF
    texts should be authoritative, but then which one? They published more
    GPL 2.0 versions than most. So we would be hard pressed to blame SPDX or
    the OSI for having their own minor variant.

    Then in digging further, I found the ONE true original GPL with a file
    time stamp on June 2 1991, 01:50 (AM?, PM? unknown time zone?) ! in an
    old GCC archive.

    For the posterity and everyone's enjoyment I have built a git history
    of GPL 2.0 Mark1 to Mark6

    See https://github.com/pombredanne/gpl-history/commits/master/COPYING

    I also added a shorter history of the Linux COPYING text. The first
    version in Linus's git tree is based on the very fine and well tuned GPL
    2 Mark4, the first fully Y2K compliant version of the GPL 2, as you can
    see from the diffs with the former Mark3: that was dangerously stuck in
    the last century.

    The current version in is based on a rare GPL 2.0 Mark5.1 aka "Franklin
    St", that I do not have in my history yet and spells "Franklin St."
    rather than "Franklin Street." Therefore there is likely another GPL 2.0
    version between Mark4 and Mark5 that I have yet to find and may not have
    been caught by the archive.org spiders. Here help and patches welcomed:
    this is likely an important missing link.

    Further information about this archaelogical research;

    http://lkml.kernel.org/r/CAOFm3uEzRMf261+O-Nm+9HDoEn9RbFjH=5J9i1C2GgMUg2G4LA@mail.gmail.com

    Add the required tags for reference and tooling.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Jonas Oberg
    Reviewed-by: Darrick J. Wong
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner