From 5087ba6f9821cae6e5a2843b33368771adfa687d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonny=20Sv=C3=A4rd?= Date: Mon, 20 Nov 2023 16:41:29 +0100 Subject: Update documentation about UAPI license exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add mention of UAPI being licensed with 'WITH Linux-syscall-note' exception to the README Add the Linux-syscall-note.txt license exception file Change-Id: I8f72d03fb87c8c00cbd75642b6407055e48a4021 Signed-off-by: Jonny Svärd --- Linux-syscall-note.txt | 24 ++++++++++++++++++++++++ README.md | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 Linux-syscall-note.txt diff --git a/Linux-syscall-note.txt b/Linux-syscall-note.txt new file mode 100644 index 0000000..adbe756 --- /dev/null +++ b/Linux-syscall-note.txt @@ -0,0 +1,24 @@ +SPDX-Exception-Identifier: Linux-syscall-note +SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html +SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+, GPL-2.0-only, GPL-2.0-or-later +Usage-Guide: + This exception is used together with one of the above SPDX-Licenses + to mark user space API (uapi) header files so they can be included + into non GPL compliant user space application code. + To use this exception add it with the keyword WITH to one of the + identifiers in the SPDX-Licenses tag: + SPDX-License-Identifier: WITH Linux-syscall-note +License-Text: + + NOTE! This copyright does *not* cover user programs that use kernel + 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 Free Software + Foundation, but the instance of code that it refers to (the Linux + kernel) is copyrighted by me and others who actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel + is concerned is _this_ particular version of the license (ie v2, not + v2.2 or v3.x or whatever), unless explicitly otherwise stated. + + Linus Torvalds diff --git a/README.md b/README.md index cdab1d4..e84c2f2 100644 --- a/README.md +++ b/README.md @@ -326,6 +326,10 @@ components are provided under an Apache 2.0 license. Please see [LICENSE-APACHE-2.0.txt](LICENSE-APACHE-2.0.txt) and [LICENSE-GPL-2.0.txt](LICENSE-GPL-2.0.txt) for more information. +The [Userspace API (UAPI)](kernel/uapi/ethosu.h) has a +'WITH Linux-syscall-note' exception to the license. Please see +[Linux-syscall-note](Linux-syscall-note.txt) for more information. + # Contributions The Arm Ethos-U project welcomes contributions under the Apache-2.0 license. -- cgit v1.2.1