Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

testing: use the copyleft-next-0.3.1 SPDX tag

Two selftests drivers exist under the copyleft-next license.
These drivers were added prior to SPDX practice taking full swing
in the kernel. Now that we have an SPDX tag for copyleft-next-0.3.1
documented, embrace it and remove the boiler plate.

Cc: Goldwyn Rodrigues <rgoldwyn@suse.com>
Cc: Kuno Woudt <kuno@frob.nl>
Cc: Richard Fontana <fontana@sharpeleven.org>
Cc: copyleft-next@lists.fedorahosted.org
Cc: Ciaran Farrell <Ciaran.Farrell@suse.com>
Cc: Christopher De Nicolo <Christopher.DeNicolo@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Thorsten Leemhuis <linux@leemhuis.info>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Tim Bird <tim.bird@sony.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Luis Chamberlain and committed by
Greg Kroah-Hartman
6cad1ecd ad9f64cd

+4 -45
+1 -11
lib/test_kmod.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 1 2 /* 2 3 * kmod stress test driver 3 4 * 4 5 * Copyright (C) 2017 Luis R. Rodriguez <mcgrof@kernel.org> 5 - * 6 - * This program is free software; you can redistribute it and/or modify it 7 - * under the terms of the GNU General Public License as published by the Free 8 - * Software Foundation; either version 2 of the License, or at your option any 9 - * later version; or, when distributed separately from the Linux kernel or 10 - * when incorporated into other software packages, subject to the following 11 - * license: 12 - * 13 - * This program is free software; you can redistribute it and/or modify it 14 - * under the terms of copyleft-next (version 0.3.1 or later) as published 15 - * at http://copyleft-next.org/. 16 6 */ 17 7 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 18 8
+1 -11
lib/test_sysctl.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 1 2 /* 2 3 * proc sysctl test driver 3 4 * 4 5 * Copyright (C) 2017 Luis R. Rodriguez <mcgrof@kernel.org> 5 - * 6 - * This program is free software; you can redistribute it and/or modify it 7 - * under the terms of the GNU General Public License as published by the Free 8 - * Software Foundation; either version 2 of the License, or at your option any 9 - * later version; or, when distributed separately from the Linux kernel or 10 - * when incorporated into other software packages, subject to the following 11 - * license: 12 - * 13 - * This program is free software; you can redistribute it and/or modify it 14 - * under the terms of copyleft-next (version 0.3.1 or later) as published 15 - * at http://copyleft-next.org/. 16 6 */ 17 7 18 8 /*
+1 -12
tools/testing/selftests/kmod/kmod.sh
··· 1 1 #!/bin/bash 2 - # 2 + # SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 3 3 # Copyright (C) 2017 Luis R. Rodriguez <mcgrof@kernel.org> 4 4 # 5 - # This program is free software; you can redistribute it and/or modify it 6 - # under the terms of the GNU General Public License as published by the Free 7 - # Software Foundation; either version 2 of the License, or at your option any 8 - # later version; or, when distributed separately from the Linux kernel or 9 - # when incorporated into other software packages, subject to the following 10 - # license: 11 - # 12 - # This program is free software; you can redistribute it and/or modify it 13 - # under the terms of copyleft-next (version 0.3.1 or later) as published 14 - # at http://copyleft-next.org/. 15 - 16 5 # This is a stress test script for kmod, the kernel module loader. It uses 17 6 # test_kmod which exposes a series of knobs for the API for us so we can 18 7 # tweak each test in userspace rather than in kernelspace.
+1 -11
tools/testing/selftests/sysctl/sysctl.sh
··· 1 1 #!/bin/bash 2 + # SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 2 3 # Copyright (C) 2017 Luis R. Rodriguez <mcgrof@kernel.org> 3 - # 4 - # This program is free software; you can redistribute it and/or modify it 5 - # under the terms of the GNU General Public License as published by the Free 6 - # Software Foundation; either version 2 of the License, or at your option any 7 - # later version; or, when distributed separately from the Linux kernel or 8 - # when incorporated into other software packages, subject to the following 9 - # license: 10 - # 11 - # This program is free software; you can redistribute it and/or modify it 12 - # under the terms of copyleft-next (version 0.3.1 or later) as published 13 - # at http://copyleft-next.org/. 14 4 15 5 # This performs a series tests against the proc sysctl interface. 16 6