public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] License cleanup
@ 2024-02-14 17:09 Petr Vorel
  2024-02-14 17:09 ` [LTP] [PATCH 1/3] tree: Fix license GPL-2.0-or-later Petr Vorel
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Petr Vorel @ 2024-02-14 17:09 UTC (permalink / raw)
  To: ltp

Petr Vorel (3):
  tree: Fix license GPL-2.0-or-later
  tree: Fix SPDX license GPL-2.0-only
  tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later

 include/old/test.h                                              | 2 +-
 lib/tst_fs_type.c                                               | 2 +-
 lib/tst_process_state.c                                         | 2 +-
 lib/tst_timer.c                                                 | 2 +-
 scripts/checkpatch.pl                                           | 2 +-
 testcases/kernel/containers/mountns/mountns01.c                 | 2 +-
 testcases/kernel/containers/mountns/mountns02.c                 | 2 +-
 testcases/kernel/containers/mountns/mountns03.c                 | 2 +-
 testcases/kernel/containers/mountns/mountns04.c                 | 2 +-
 testcases/kernel/containers/mqns/mqns_02.c                      | 2 +-
 testcases/kernel/containers/netns/netns_netlink.c               | 2 +-
 testcases/kernel/containers/pidns/pidns03.c                     | 2 +-
 testcases/kernel/containers/pidns/pidns04.c                     | 2 +-
 testcases/kernel/containers/pidns/pidns06.c                     | 2 +-
 testcases/kernel/containers/pidns/pidns10.c                     | 2 +-
 testcases/kernel/controllers/io/io_control01.c                  | 2 +-
 testcases/kernel/controllers/memcg/memcontrol01.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol02.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol03.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol04.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol_common.h          | 2 +-
 testcases/kernel/io/ltp-aiodio/aio-stress.c                     | 2 +-
 testcases/kernel/security/dirtypipe/dirtypipe.c                 | 2 +-
 testcases/kernel/syscalls/adjtimex/adjtimex01.c                 | 2 +-
 testcases/kernel/syscalls/adjtimex/adjtimex02.c                 | 2 +-
 testcases/kernel/syscalls/capset/capset01.c                     | 2 +-
 testcases/kernel/syscalls/chown/chown01.c                       | 2 +-
 testcases/kernel/syscalls/clock_gettime/leapsec01.c             | 2 +-
 testcases/kernel/syscalls/close_range/close_range01.c           | 2 +-
 testcases/kernel/syscalls/close_range/close_range02.c           | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify01.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify02.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify03.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify04.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify05.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify06.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify08.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify10.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify12.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify13.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify14.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify23.c                 | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify_child.c             | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl30.c                       | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl33.c                       | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl38.c                       | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl39.c                       | 2 +-
 testcases/kernel/syscalls/fork/fork04.c                         | 2 +-
 testcases/kernel/syscalls/fork/fork13.c                         | 2 +-
 testcases/kernel/syscalls/fstatfs/fstatfs01.c                   | 2 +-
 testcases/kernel/syscalls/getgid/getgid01.c                     | 2 +-
 testcases/kernel/syscalls/gethostid/gethostid01.c               | 2 +-
 testcases/kernel/syscalls/gethostname/gethostname01.c           | 2 +-
 testcases/kernel/syscalls/getpagesize/getpagesize01.c           | 2 +-
 testcases/kernel/syscalls/getpgrp/getpgrp01.c                   | 2 +-
 testcases/kernel/syscalls/getppid/getppid01.c                   | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage01.c               | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage03.c               | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage03.h               | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage03_child.c         | 2 +-
 testcases/kernel/syscalls/inotify/inotify04.c                   | 2 +-
 testcases/kernel/syscalls/inotify/inotify10.c                   | 2 +-
 testcases/kernel/syscalls/lstat/lstat01.c                       | 2 +-
 testcases/kernel/syscalls/mknod/mknod01.c                       | 2 +-
 testcases/kernel/syscalls/mlock/mlock03.c                       | 2 +-
 testcases/kernel/syscalls/mlock/mlock04.c                       | 2 +-
 testcases/kernel/syscalls/mount/mount03.c                       | 2 +-
 testcases/kernel/syscalls/mount/mount03_suid_child.c            | 2 +-
 testcases/kernel/syscalls/munlock/munlock01.c                   | 2 +-
 testcases/kernel/syscalls/munlock/munlock02.c                   | 2 +-
 testcases/kernel/syscalls/ptrace/ptrace01.c                     | 2 +-
 testcases/kernel/syscalls/ptrace/ptrace08.c                     | 2 +-
 testcases/kernel/syscalls/readahead/readahead01.c               | 2 +-
 testcases/kernel/syscalls/readahead/readahead02.c               | 2 +-
 testcases/kernel/syscalls/reboot/reboot01.c                     | 2 +-
 testcases/kernel/syscalls/reboot/reboot02.c                     | 2 +-
 testcases/kernel/syscalls/remap_file_pages/remap_file_pages02.c | 2 +-
 testcases/kernel/syscalls/sbrk/sbrk01.c                         | 2 +-
 testcases/kernel/syscalls/sbrk/sbrk02.c                         | 2 +-
 testcases/kernel/syscalls/setdomainname/setdomainname01.c       | 2 +-
 testcases/kernel/syscalls/setdomainname/setdomainname02.c       | 2 +-
 testcases/kernel/syscalls/setdomainname/setdomainname03.c       | 2 +-
 testcases/kernel/syscalls/setgid/setgid01.c                     | 2 +-
 testcases/kernel/syscalls/setregid/setregid01.c                 | 2 +-
 testcases/kernel/syscalls/setregid/setregid02.c                 | 2 +-
 testcases/kernel/syscalls/setregid/setregid03.c                 | 2 +-
 testcases/kernel/syscalls/setregid/setregid04.c                 | 2 +-
 testcases/kernel/syscalls/setresuid/setresuid05.c               | 2 +-
 testcases/kernel/syscalls/setreuid/setreuid01.c                 | 2 +-
 testcases/kernel/syscalls/setxattr/setxattr03.c                 | 2 +-
 testcases/kernel/syscalls/sigpending/sigpending02.c             | 2 +-
 testcases/kernel/syscalls/statfs/statfs01.c                     | 2 +-
 testcases/kernel/syscalls/statvfs/statvfs01.c                   | 2 +-
 testcases/kernel/syscalls/statvfs/statvfs02.c                   | 2 +-
 testcases/kernel/syscalls/timer_create/timer_create01.c         | 2 +-
 testcases/kernel/syscalls/timer_create/timer_create02.c         | 2 +-
 testcases/kernel/syscalls/timer_delete/timer_delete01.c         | 2 +-
 testcases/kernel/syscalls/timer_delete/timer_delete02.c         | 2 +-
 testcases/kernel/syscalls/timer_settime/timer_settime01.c       | 2 +-
 testcases/kernel/syscalls/timer_settime/timer_settime02.c       | 2 +-
 testcases/kernel/syscalls/ustat/ustat01.c                       | 2 +-
 testcases/kernel/syscalls/ustat/ustat02.c                       | 2 +-
 testcases/kernel/syscalls/wait/wait02.c                         | 2 +-
 .../open_posix_testsuite/conformance/interfaces/shm_open/37-1.c | 2 +-
 104 files changed, 104 insertions(+), 104 deletions(-)

-- 
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [LTP] [PATCH 1/3] tree: Fix license GPL-2.0-or-later
  2024-02-14 17:09 [LTP] [PATCH 0/3] License cleanup Petr Vorel
@ 2024-02-14 17:09 ` Petr Vorel
  2024-02-14 17:09 ` [LTP] [PATCH 2/3] tree: Fix SPDX license GPL-2.0-only Petr Vorel
  2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
  2 siblings, 0 replies; 14+ messages in thread
From: Petr Vorel @ 2024-02-14 17:09 UTC (permalink / raw)
  To: ltp

These tests had license GPL v2+, but were mentioned as GPL-2.0.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/kernel/containers/mqns/mqns_02.c          | 2 +-
 testcases/kernel/containers/pidns/pidns04.c         | 2 +-
 testcases/kernel/containers/pidns/pidns06.c         | 2 +-
 testcases/kernel/containers/pidns/pidns10.c         | 2 +-
 testcases/kernel/syscalls/setregid/setregid02.c     | 2 +-
 testcases/kernel/syscalls/setregid/setregid03.c     | 2 +-
 testcases/kernel/syscalls/setregid/setregid04.c     | 2 +-
 testcases/kernel/syscalls/sigpending/sigpending02.c | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/testcases/kernel/containers/mqns/mqns_02.c b/testcases/kernel/containers/mqns/mqns_02.c
index 4348be7fc..aef83a23a 100644
--- a/testcases/kernel/containers/mqns/mqns_02.c
+++ b/testcases/kernel/containers/mqns/mqns_02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2009
  * Copyright (c) Nadia Derbey, 2009 <Nadia.Derbey@bull.net>
diff --git a/testcases/kernel/containers/pidns/pidns04.c b/testcases/kernel/containers/pidns/pidns04.c
index bed75a082..fdd532653 100644
--- a/testcases/kernel/containers/pidns/pidns04.c
+++ b/testcases/kernel/containers/pidns/pidns04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) International Business Machines Corp., 2008
  * Copyright (C) 2022 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/containers/pidns/pidns06.c b/testcases/kernel/containers/pidns/pidns06.c
index c85a875e4..a71c844a3 100644
--- a/testcases/kernel/containers/pidns/pidns06.c
+++ b/testcases/kernel/containers/pidns/pidns06.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) International Business Machines Corp., 2008
  * Copyright (C) 2022 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/containers/pidns/pidns10.c b/testcases/kernel/containers/pidns/pidns10.c
index c2a9094b6..7e798420e 100644
--- a/testcases/kernel/containers/pidns/pidns10.c
+++ b/testcases/kernel/containers/pidns/pidns10.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) International Business Machines Corp., 2008
  * Copyright (C) 2022 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/syscalls/setregid/setregid02.c b/testcases/kernel/syscalls/setregid/setregid02.c
index 0210f485a..fed60a89e 100644
--- a/testcases/kernel/syscalls/setregid/setregid02.c
+++ b/testcases/kernel/syscalls/setregid/setregid02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *   Copyright (c) International Business Machines  Corp., 2001
  *
diff --git a/testcases/kernel/syscalls/setregid/setregid03.c b/testcases/kernel/syscalls/setregid/setregid03.c
index 467bc3bbf..fca8ecfae 100644
--- a/testcases/kernel/syscalls/setregid/setregid03.c
+++ b/testcases/kernel/syscalls/setregid/setregid03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines  Corp., 2001
  *
diff --git a/testcases/kernel/syscalls/setregid/setregid04.c b/testcases/kernel/syscalls/setregid/setregid04.c
index dbeb98ae6..19261dc1c 100644
--- a/testcases/kernel/syscalls/setregid/setregid04.c
+++ b/testcases/kernel/syscalls/setregid/setregid04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines  Corp., 2001
  *
diff --git a/testcases/kernel/syscalls/sigpending/sigpending02.c b/testcases/kernel/syscalls/sigpending/sigpending02.c
index b9a3c5e84..d901540ca 100644
--- a/testcases/kernel/syscalls/sigpending/sigpending02.c
+++ b/testcases/kernel/syscalls/sigpending/sigpending02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines  Corp., 2002
  * Copyright (c) Linux Test Project, 2009-2019
-- 
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [LTP] [PATCH 2/3] tree: Fix SPDX license GPL-2.0-only
  2024-02-14 17:09 [LTP] [PATCH 0/3] License cleanup Petr Vorel
  2024-02-14 17:09 ` [LTP] [PATCH 1/3] tree: Fix license GPL-2.0-or-later Petr Vorel
@ 2024-02-14 17:09 ` Petr Vorel
  2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
  2 siblings, 0 replies; 14+ messages in thread
From: Petr Vorel @ 2024-02-14 17:09 UTC (permalink / raw)
  To: ltp

Most of the test were GPL v2 only. Because SPDX doc
(https://spdx.dev/learn/handling-license-info/) suggests:

    For GNU licenses, do not use just the bare license ID, such as “GPL-2.0”.
    Instead, always use either the suffix “-only“ or the suffix “-or-later“ with GNU licenses.

Convert them to the correct form GPL-2.0-only.
Also change in vendored scripts/checkpatch.pl (which is v2 only because
it's from kernel.)

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 include/old/test.h                                              | 2 +-
 scripts/checkpatch.pl                                           | 2 +-
 testcases/kernel/containers/mountns/mountns01.c                 | 2 +-
 testcases/kernel/containers/mountns/mountns02.c                 | 2 +-
 testcases/kernel/containers/mountns/mountns03.c                 | 2 +-
 testcases/kernel/containers/mountns/mountns04.c                 | 2 +-
 testcases/kernel/containers/netns/netns_netlink.c               | 2 +-
 testcases/kernel/containers/pidns/pidns03.c                     | 2 +-
 testcases/kernel/controllers/memcg/memcontrol01.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol02.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol03.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol04.c               | 2 +-
 testcases/kernel/controllers/memcg/memcontrol_common.h          | 2 +-
 testcases/kernel/io/ltp-aiodio/aio-stress.c                     | 2 +-
 testcases/kernel/security/dirtypipe/dirtypipe.c                 | 2 +-
 testcases/kernel/syscalls/adjtimex/adjtimex01.c                 | 2 +-
 testcases/kernel/syscalls/adjtimex/adjtimex02.c                 | 2 +-
 testcases/kernel/syscalls/capset/capset01.c                     | 2 +-
 testcases/kernel/syscalls/chown/chown01.c                       | 2 +-
 testcases/kernel/syscalls/clock_gettime/leapsec01.c             | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify08.c                 | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl30.c                       | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl33.c                       | 2 +-
 testcases/kernel/syscalls/fork/fork04.c                         | 2 +-
 testcases/kernel/syscalls/fork/fork13.c                         | 2 +-
 testcases/kernel/syscalls/fstatfs/fstatfs01.c                   | 2 +-
 testcases/kernel/syscalls/getgid/getgid01.c                     | 2 +-
 testcases/kernel/syscalls/gethostid/gethostid01.c               | 2 +-
 testcases/kernel/syscalls/gethostname/gethostname01.c           | 2 +-
 testcases/kernel/syscalls/getpagesize/getpagesize01.c           | 2 +-
 testcases/kernel/syscalls/getpgrp/getpgrp01.c                   | 2 +-
 testcases/kernel/syscalls/getppid/getppid01.c                   | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage01.c               | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage03.c               | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage03.h               | 2 +-
 testcases/kernel/syscalls/getrusage/getrusage03_child.c         | 2 +-
 testcases/kernel/syscalls/inotify/inotify04.c                   | 2 +-
 testcases/kernel/syscalls/lstat/lstat01.c                       | 2 +-
 testcases/kernel/syscalls/mknod/mknod01.c                       | 2 +-
 testcases/kernel/syscalls/mlock/mlock03.c                       | 2 +-
 testcases/kernel/syscalls/mlock/mlock04.c                       | 2 +-
 testcases/kernel/syscalls/mount/mount03.c                       | 2 +-
 testcases/kernel/syscalls/mount/mount03_suid_child.c            | 2 +-
 testcases/kernel/syscalls/munlock/munlock01.c                   | 2 +-
 testcases/kernel/syscalls/munlock/munlock02.c                   | 2 +-
 testcases/kernel/syscalls/ptrace/ptrace01.c                     | 2 +-
 testcases/kernel/syscalls/readahead/readahead02.c               | 2 +-
 testcases/kernel/syscalls/reboot/reboot01.c                     | 2 +-
 testcases/kernel/syscalls/reboot/reboot02.c                     | 2 +-
 testcases/kernel/syscalls/remap_file_pages/remap_file_pages02.c | 2 +-
 testcases/kernel/syscalls/sbrk/sbrk01.c                         | 2 +-
 testcases/kernel/syscalls/sbrk/sbrk02.c                         | 2 +-
 testcases/kernel/syscalls/setdomainname/setdomainname01.c       | 2 +-
 testcases/kernel/syscalls/setdomainname/setdomainname02.c       | 2 +-
 testcases/kernel/syscalls/setdomainname/setdomainname03.c       | 2 +-
 testcases/kernel/syscalls/setgid/setgid01.c                     | 2 +-
 testcases/kernel/syscalls/setregid/setregid01.c                 | 2 +-
 testcases/kernel/syscalls/setresuid/setresuid05.c               | 2 +-
 testcases/kernel/syscalls/setreuid/setreuid01.c                 | 2 +-
 testcases/kernel/syscalls/setxattr/setxattr03.c                 | 2 +-
 testcases/kernel/syscalls/statfs/statfs01.c                     | 2 +-
 testcases/kernel/syscalls/statvfs/statvfs01.c                   | 2 +-
 testcases/kernel/syscalls/statvfs/statvfs02.c                   | 2 +-
 testcases/kernel/syscalls/timer_create/timer_create01.c         | 2 +-
 testcases/kernel/syscalls/timer_create/timer_create02.c         | 2 +-
 testcases/kernel/syscalls/timer_delete/timer_delete01.c         | 2 +-
 testcases/kernel/syscalls/timer_delete/timer_delete02.c         | 2 +-
 testcases/kernel/syscalls/timer_settime/timer_settime01.c       | 2 +-
 testcases/kernel/syscalls/timer_settime/timer_settime02.c       | 2 +-
 testcases/kernel/syscalls/ustat/ustat01.c                       | 2 +-
 testcases/kernel/syscalls/ustat/ustat02.c                       | 2 +-
 testcases/kernel/syscalls/wait/wait02.c                         | 2 +-
 .../open_posix_testsuite/conformance/interfaces/shm_open/37-1.c | 2 +-
 73 files changed, 73 insertions(+), 73 deletions(-)

diff --git a/include/old/test.h b/include/old/test.h
index 834e92d9f..b17fbf856 100644
--- a/include/old/test.h
+++ b/include/old/test.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) 2009-2013 Cyril Hrubis chrubis@suse.cz
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 8c74d07b4..21d9c9fe3 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1,5 +1,5 @@
 #!/usr/bin/env perl
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # (c) 2001, Dave Jones. (the file handling bit)
 # (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)
diff --git a/testcases/kernel/containers/mountns/mountns01.c b/testcases/kernel/containers/mountns/mountns01.c
index 8d821ea45..2205eb968 100644
--- a/testcases/kernel/containers/mountns/mountns01.c
+++ b/testcases/kernel/containers/mountns/mountns01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Red Hat, Inc.
  * Copyright (C) 2021 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/containers/mountns/mountns02.c b/testcases/kernel/containers/mountns/mountns02.c
index e7a80cbbf..56b1b4b6a 100644
--- a/testcases/kernel/containers/mountns/mountns02.c
+++ b/testcases/kernel/containers/mountns/mountns02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Red Hat, Inc.
  * Copyright (C) 2021 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/containers/mountns/mountns03.c b/testcases/kernel/containers/mountns/mountns03.c
index 6066d1c54..cdceb00d0 100644
--- a/testcases/kernel/containers/mountns/mountns03.c
+++ b/testcases/kernel/containers/mountns/mountns03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Red Hat, Inc.
  * Copyright (C) 2021 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/containers/mountns/mountns04.c b/testcases/kernel/containers/mountns/mountns04.c
index 7b4dcb16d..752d89920 100644
--- a/testcases/kernel/containers/mountns/mountns04.c
+++ b/testcases/kernel/containers/mountns/mountns04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Red Hat, Inc.
  * Copyright (C) 2021 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/containers/netns/netns_netlink.c b/testcases/kernel/containers/netns/netns_netlink.c
index e8df616e2..ba55ec70a 100644
--- a/testcases/kernel/containers/netns/netns_netlink.c
+++ b/testcases/kernel/containers/netns/netns_netlink.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Red Hat, Inc.
  * Copyright (c) 2021 Petr Vorel <pvorel@suse.cz>
diff --git a/testcases/kernel/containers/pidns/pidns03.c b/testcases/kernel/containers/pidns/pidns03.c
index d662ca9d5..d2a6178b9 100644
--- a/testcases/kernel/containers/pidns/pidns03.c
+++ b/testcases/kernel/containers/pidns/pidns03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Red Hat, Inc. All rights reserved.
  * Copyright (C) 2022 SUSE LLC Andrea Cervesato <andrea.cervesato@suse.com>
diff --git a/testcases/kernel/controllers/memcg/memcontrol01.c b/testcases/kernel/controllers/memcg/memcontrol01.c
index 935b97778..f4fadacdd 100644
--- a/testcases/kernel/controllers/memcg/memcontrol01.c
+++ b/testcases/kernel/controllers/memcg/memcontrol01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*\
  *
  * [Description]
diff --git a/testcases/kernel/controllers/memcg/memcontrol02.c b/testcases/kernel/controllers/memcg/memcontrol02.c
index 0d93abd9e..aed641084 100644
--- a/testcases/kernel/controllers/memcg/memcontrol02.c
+++ b/testcases/kernel/controllers/memcg/memcontrol02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*\
  *
  * [Description]
diff --git a/testcases/kernel/controllers/memcg/memcontrol03.c b/testcases/kernel/controllers/memcg/memcontrol03.c
index 9c6c808e0..e927dfd19 100644
--- a/testcases/kernel/controllers/memcg/memcontrol03.c
+++ b/testcases/kernel/controllers/memcg/memcontrol03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*\
  *
  * [Description]
diff --git a/testcases/kernel/controllers/memcg/memcontrol04.c b/testcases/kernel/controllers/memcg/memcontrol04.c
index 32a0b9fd4..1b8d115f8 100644
--- a/testcases/kernel/controllers/memcg/memcontrol04.c
+++ b/testcases/kernel/controllers/memcg/memcontrol04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*\
  *
  * [Description]
diff --git a/testcases/kernel/controllers/memcg/memcontrol_common.h b/testcases/kernel/controllers/memcg/memcontrol_common.h
index a3bd243f5..e39e455dd 100644
--- a/testcases/kernel/controllers/memcg/memcontrol_common.h
+++ b/testcases/kernel/controllers/memcg/memcontrol_common.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 
 #ifndef MEMCONTROL_COMMON_H__
 #define MEMCONTROL_COMMON_H__
diff --git a/testcases/kernel/io/ltp-aiodio/aio-stress.c b/testcases/kernel/io/ltp-aiodio/aio-stress.c
index 5c3a0a3a4..c29ede671 100644
--- a/testcases/kernel/io/ltp-aiodio/aio-stress.c
+++ b/testcases/kernel/io/ltp-aiodio/aio-stress.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2004 SuSE, Inc.  All Rights Reserved.
  *               Written by: Chris Mason <mason@suse.com>
diff --git a/testcases/kernel/security/dirtypipe/dirtypipe.c b/testcases/kernel/security/dirtypipe/dirtypipe.c
index 9568a9b84..bc9197a90 100644
--- a/testcases/kernel/security/dirtypipe/dirtypipe.c
+++ b/testcases/kernel/security/dirtypipe/dirtypipe.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2022 CM4all GmbH / IONOS SE
  *
diff --git a/testcases/kernel/syscalls/adjtimex/adjtimex01.c b/testcases/kernel/syscalls/adjtimex/adjtimex01.c
index 60b3544a8..a03ecf2cb 100644
--- a/testcases/kernel/syscalls/adjtimex/adjtimex01.c
+++ b/testcases/kernel/syscalls/adjtimex/adjtimex01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
diff --git a/testcases/kernel/syscalls/adjtimex/adjtimex02.c b/testcases/kernel/syscalls/adjtimex/adjtimex02.c
index e66ba2a5c..7f7fb643e 100644
--- a/testcases/kernel/syscalls/adjtimex/adjtimex02.c
+++ b/testcases/kernel/syscalls/adjtimex/adjtimex02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
diff --git a/testcases/kernel/syscalls/capset/capset01.c b/testcases/kernel/syscalls/capset/capset01.c
index 25db8112c..029fe7f3d 100644
--- a/testcases/kernel/syscalls/capset/capset01.c
+++ b/testcases/kernel/syscalls/capset/capset01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  * Author: Saji Kumar.V.R <saji.kumar@wipro.com>
diff --git a/testcases/kernel/syscalls/chown/chown01.c b/testcases/kernel/syscalls/chown/chown01.c
index 7fbb116bd..030130937 100644
--- a/testcases/kernel/syscalls/chown/chown01.c
+++ b/testcases/kernel/syscalls/chown/chown01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * AUTHOR: William Roske
diff --git a/testcases/kernel/syscalls/clock_gettime/leapsec01.c b/testcases/kernel/syscalls/clock_gettime/leapsec01.c
index 73078fb69..e623b4107 100644
--- a/testcases/kernel/syscalls/clock_gettime/leapsec01.c
+++ b/testcases/kernel/syscalls/clock_gettime/leapsec01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Red Hat, Inc., 2012.
  * Copyright (c) Linux Test Project, 2019
diff --git a/testcases/kernel/syscalls/fanotify/fanotify08.c b/testcases/kernel/syscalls/fanotify/fanotify08.c
index de57f04d2..405965f7f 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify08.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify08.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2017 RedHat.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fcntl/fcntl30.c b/testcases/kernel/syscalls/fcntl/fcntl30.c
index 64bbb9e3a..725385b39 100644
--- a/testcases/kernel/syscalls/fcntl/fcntl30.c
+++ b/testcases/kernel/syscalls/fcntl/fcntl30.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Fujitsu Ltd.
  * Author: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
diff --git a/testcases/kernel/syscalls/fcntl/fcntl33.c b/testcases/kernel/syscalls/fcntl/fcntl33.c
index 3c6a38b81..e0a2009b5 100644
--- a/testcases/kernel/syscalls/fcntl/fcntl33.c
+++ b/testcases/kernel/syscalls/fcntl/fcntl33.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2015 Fujitsu Ltd.
  * Author: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
diff --git a/testcases/kernel/syscalls/fork/fork04.c b/testcases/kernel/syscalls/fork/fork04.c
index 1a515987e..b0c6bebe0 100644
--- a/testcases/kernel/syscalls/fork/fork04.c
+++ b/testcases/kernel/syscalls/fork/fork04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) Linux Test Project, 2001-2023
diff --git a/testcases/kernel/syscalls/fork/fork13.c b/testcases/kernel/syscalls/fork/fork13.c
index bbfbf5c3b..4923d8a91 100644
--- a/testcases/kernel/syscalls/fork/fork13.c
+++ b/testcases/kernel/syscalls/fork/fork13.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2010  Red Hat, Inc.
  * Copyright (C) 2022 Cyril Hrubis <chrubis@suse.cz>
diff --git a/testcases/kernel/syscalls/fstatfs/fstatfs01.c b/testcases/kernel/syscalls/fstatfs/fstatfs01.c
index 6b14fd0d6..9d3909ace 100644
--- a/testcases/kernel/syscalls/fstatfs/fstatfs01.c
+++ b/testcases/kernel/syscalls/fstatfs/fstatfs01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) 2022 SUSE LLC Avinesh Kumar <avinesh.kumar@suse.com>
diff --git a/testcases/kernel/syscalls/getgid/getgid01.c b/testcases/kernel/syscalls/getgid/getgid01.c
index dec0fca42..3d914f73f 100644
--- a/testcases/kernel/syscalls/getgid/getgid01.c
+++ b/testcases/kernel/syscalls/getgid/getgid01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * AUTHOR		: William Roske
diff --git a/testcases/kernel/syscalls/gethostid/gethostid01.c b/testcases/kernel/syscalls/gethostid/gethostid01.c
index c176e5182..3fc280327 100644
--- a/testcases/kernel/syscalls/gethostid/gethostid01.c
+++ b/testcases/kernel/syscalls/gethostid/gethostid01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) 2021 Xie Ziyao <xieziyao@huawei.com>
diff --git a/testcases/kernel/syscalls/gethostname/gethostname01.c b/testcases/kernel/syscalls/gethostname/gethostname01.c
index f2276a38c..5d882514a 100644
--- a/testcases/kernel/syscalls/gethostname/gethostname01.c
+++ b/testcases/kernel/syscalls/gethostname/gethostname01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) 2023 SUSE LLC Ioannis Bonatakis <ybonatakis@suse.com>
diff --git a/testcases/kernel/syscalls/getpagesize/getpagesize01.c b/testcases/kernel/syscalls/getpagesize/getpagesize01.c
index 2ba8ba70f..c88071ba4 100644
--- a/testcases/kernel/syscalls/getpagesize/getpagesize01.c
+++ b/testcases/kernel/syscalls/getpagesize/getpagesize01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) International Business Machines  Corp., 2005
  *   Robbie Williamson <robbiew@us.ibm.com>
diff --git a/testcases/kernel/syscalls/getpgrp/getpgrp01.c b/testcases/kernel/syscalls/getpgrp/getpgrp01.c
index a94736661..fe2e0c582 100644
--- a/testcases/kernel/syscalls/getpgrp/getpgrp01.c
+++ b/testcases/kernel/syscalls/getpgrp/getpgrp01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * AUTHOR: William Roske, CO-PILOT: Dave Fenner
diff --git a/testcases/kernel/syscalls/getppid/getppid01.c b/testcases/kernel/syscalls/getppid/getppid01.c
index 57efe1c1f..614eea9fd 100644
--- a/testcases/kernel/syscalls/getppid/getppid01.c
+++ b/testcases/kernel/syscalls/getppid/getppid01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) Linux Test Project, 2006-2023
diff --git a/testcases/kernel/syscalls/getrusage/getrusage01.c b/testcases/kernel/syscalls/getrusage/getrusage01.c
index e0a7e28f7..83275dd34 100644
--- a/testcases/kernel/syscalls/getrusage/getrusage01.c
+++ b/testcases/kernel/syscalls/getrusage/getrusage01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  * AUTHOR: Saji Kumar.V.R <saji.kumar@wipro.com>
diff --git a/testcases/kernel/syscalls/getrusage/getrusage03.c b/testcases/kernel/syscalls/getrusage/getrusage03.c
index fc14e93cf..c8e974567 100644
--- a/testcases/kernel/syscalls/getrusage/getrusage03.c
+++ b/testcases/kernel/syscalls/getrusage/getrusage03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2011  Red Hat, Inc.
  * Copyright (C) 2021 Xie Ziyao <xieziyao@huawei.com>
diff --git a/testcases/kernel/syscalls/getrusage/getrusage03.h b/testcases/kernel/syscalls/getrusage/getrusage03.h
index b28b9d4c3..8bee0b9e5 100644
--- a/testcases/kernel/syscalls/getrusage/getrusage03.h
+++ b/testcases/kernel/syscalls/getrusage/getrusage03.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0-only
  * Copyright (C) 2011  Red Hat, Inc.
  * Copyright (C) 2021 Xie Ziyao <xieziyao@huawei.com>
  */
diff --git a/testcases/kernel/syscalls/getrusage/getrusage03_child.c b/testcases/kernel/syscalls/getrusage/getrusage03_child.c
index e8252084f..18627a98c 100644
--- a/testcases/kernel/syscalls/getrusage/getrusage03_child.c
+++ b/testcases/kernel/syscalls/getrusage/getrusage03_child.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2011  Red Hat, Inc.
  * Copyright (C) 2021 Xie Ziyao <xieziyao@huawei.com>
diff --git a/testcases/kernel/syscalls/inotify/inotify04.c b/testcases/kernel/syscalls/inotify/inotify04.c
index 96a3483b8..120e73b91 100644
--- a/testcases/kernel/syscalls/inotify/inotify04.c
+++ b/testcases/kernel/syscalls/inotify/inotify04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2012 Linux Test Project.  All Rights Reserved.
  * Ngie Cooper, April 2012
diff --git a/testcases/kernel/syscalls/lstat/lstat01.c b/testcases/kernel/syscalls/lstat/lstat01.c
index 4eaca93ea..4610e88b5 100644
--- a/testcases/kernel/syscalls/lstat/lstat01.c
+++ b/testcases/kernel/syscalls/lstat/lstat01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *  Authors:	William Roske, Dave Fenner
diff --git a/testcases/kernel/syscalls/mknod/mknod01.c b/testcases/kernel/syscalls/mknod/mknod01.c
index 7a4d5b43f..f800b996d 100644
--- a/testcases/kernel/syscalls/mknod/mknod01.c
+++ b/testcases/kernel/syscalls/mknod/mknod01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *  AUTHOR: William Roske, CO-PILOT: Dave Fenner
diff --git a/testcases/kernel/syscalls/mlock/mlock03.c b/testcases/kernel/syscalls/mlock/mlock03.c
index 3700b64b0..202a9063d 100644
--- a/testcases/kernel/syscalls/mlock/mlock03.c
+++ b/testcases/kernel/syscalls/mlock/mlock03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2010  Red Hat, Inc.
  */
diff --git a/testcases/kernel/syscalls/mlock/mlock04.c b/testcases/kernel/syscalls/mlock/mlock04.c
index f25460ba1..64f1bc5a0 100644
--- a/testcases/kernel/syscalls/mlock/mlock04.c
+++ b/testcases/kernel/syscalls/mlock/mlock04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2010  Red Hat, Inc.
  */
diff --git a/testcases/kernel/syscalls/mount/mount03.c b/testcases/kernel/syscalls/mount/mount03.c
index 98d5933b7..c3202574f 100644
--- a/testcases/kernel/syscalls/mount/mount03.c
+++ b/testcases/kernel/syscalls/mount/mount03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Linux Test Project, 2022
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
diff --git a/testcases/kernel/syscalls/mount/mount03_suid_child.c b/testcases/kernel/syscalls/mount/mount03_suid_child.c
index 3b5cf5fe8..40c800efe 100644
--- a/testcases/kernel/syscalls/mount/mount03_suid_child.c
+++ b/testcases/kernel/syscalls/mount/mount03_suid_child.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  * Copyright (c) 2022 Petr Vorel <pvorel@suse.cz>
diff --git a/testcases/kernel/syscalls/munlock/munlock01.c b/testcases/kernel/syscalls/munlock/munlock01.c
index 31d749e66..65a49d7ee 100644
--- a/testcases/kernel/syscalls/munlock/munlock01.c
+++ b/testcases/kernel/syscalls/munlock/munlock01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  * AUTHOR: Nirmala Devi Dhanasekar <nirmala.devi@wipro.com>
diff --git a/testcases/kernel/syscalls/munlock/munlock02.c b/testcases/kernel/syscalls/munlock/munlock02.c
index f51c3d21f..55e313c95 100644
--- a/testcases/kernel/syscalls/munlock/munlock02.c
+++ b/testcases/kernel/syscalls/munlock/munlock02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  * AUTHOR: Nirmala Devi Dhanasekar <nirmala.devi@wipro.com>
diff --git a/testcases/kernel/syscalls/ptrace/ptrace01.c b/testcases/kernel/syscalls/ptrace/ptrace01.c
index 53ddfb393..18b00ebfd 100644
--- a/testcases/kernel/syscalls/ptrace/ptrace01.c
+++ b/testcases/kernel/syscalls/ptrace/ptrace01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  * Copyright (c) 2019 SUSE LLC
diff --git a/testcases/kernel/syscalls/readahead/readahead02.c b/testcases/kernel/syscalls/readahead/readahead02.c
index dc03c5931..a109573fe 100644
--- a/testcases/kernel/syscalls/readahead/readahead02.c
+++ b/testcases/kernel/syscalls/readahead/readahead02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Linux Test Project, Inc.
  */
diff --git a/testcases/kernel/syscalls/reboot/reboot01.c b/testcases/kernel/syscalls/reboot/reboot01.c
index 646ddf61c..098b287b6 100644
--- a/testcases/kernel/syscalls/reboot/reboot01.c
+++ b/testcases/kernel/syscalls/reboot/reboot01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Linux Test Project, 2006-2021
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
diff --git a/testcases/kernel/syscalls/reboot/reboot02.c b/testcases/kernel/syscalls/reboot/reboot02.c
index 671e984dd..2e95fd063 100644
--- a/testcases/kernel/syscalls/reboot/reboot02.c
+++ b/testcases/kernel/syscalls/reboot/reboot02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Linux Test Project, 2009-2021
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
diff --git a/testcases/kernel/syscalls/remap_file_pages/remap_file_pages02.c b/testcases/kernel/syscalls/remap_file_pages/remap_file_pages02.c
index d296022ce..858651fab 100644
--- a/testcases/kernel/syscalls/remap_file_pages/remap_file_pages02.c
+++ b/testcases/kernel/syscalls/remap_file_pages/remap_file_pages02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) Ricardo Salveti de Araujo <rsalvetidev@gmail.com>, 2007
  *
diff --git a/testcases/kernel/syscalls/sbrk/sbrk01.c b/testcases/kernel/syscalls/sbrk/sbrk01.c
index c99fb0106..bb78d9a7b 100644
--- a/testcases/kernel/syscalls/sbrk/sbrk01.c
+++ b/testcases/kernel/syscalls/sbrk/sbrk01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *  AUTHOR : William Roske, CO-PILOT : Dave Fenner
diff --git a/testcases/kernel/syscalls/sbrk/sbrk02.c b/testcases/kernel/syscalls/sbrk/sbrk02.c
index 7fccc4d3a..dc344577e 100644
--- a/testcases/kernel/syscalls/sbrk/sbrk02.c
+++ b/testcases/kernel/syscalls/sbrk/sbrk02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Fujitsu Ltd.
  * Author: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
diff --git a/testcases/kernel/syscalls/setdomainname/setdomainname01.c b/testcases/kernel/syscalls/setdomainname/setdomainname01.c
index 4c2c53124..c50f787ba 100644
--- a/testcases/kernel/syscalls/setdomainname/setdomainname01.c
+++ b/testcases/kernel/syscalls/setdomainname/setdomainname01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002. All Rights Reserved.
  * Copyright (c) 2019 Petr Vorel <petr.vorel@gmail.com>
diff --git a/testcases/kernel/syscalls/setdomainname/setdomainname02.c b/testcases/kernel/syscalls/setdomainname/setdomainname02.c
index 875ed0c44..e710a7bf4 100644
--- a/testcases/kernel/syscalls/setdomainname/setdomainname02.c
+++ b/testcases/kernel/syscalls/setdomainname/setdomainname02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002. All Rights Reserved.
  * Copyright (c) 2019 Petr Vorel <petr.vorel@gmail.com>
diff --git a/testcases/kernel/syscalls/setdomainname/setdomainname03.c b/testcases/kernel/syscalls/setdomainname/setdomainname03.c
index b8d17d8da..3cd1ce3d9 100644
--- a/testcases/kernel/syscalls/setdomainname/setdomainname03.c
+++ b/testcases/kernel/syscalls/setdomainname/setdomainname03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002. All Rights Reserved.
  * Copyright (c) 2019 Petr Vorel <petr.vorel@gmail.com>
diff --git a/testcases/kernel/syscalls/setgid/setgid01.c b/testcases/kernel/syscalls/setgid/setgid01.c
index 91d615261..4e225b13e 100644
--- a/testcases/kernel/syscalls/setgid/setgid01.c
+++ b/testcases/kernel/syscalls/setgid/setgid01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/setregid/setregid01.c b/testcases/kernel/syscalls/setregid/setregid01.c
index 741028a4a..2750208d4 100644
--- a/testcases/kernel/syscalls/setregid/setregid01.c
+++ b/testcases/kernel/syscalls/setregid/setregid01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/setresuid/setresuid05.c b/testcases/kernel/syscalls/setresuid/setresuid05.c
index efdcbd18f..3a0eb4708 100644
--- a/testcases/kernel/syscalls/setresuid/setresuid05.c
+++ b/testcases/kernel/syscalls/setresuid/setresuid05.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Fujitsu Ltd.
  * Author: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
diff --git a/testcases/kernel/syscalls/setreuid/setreuid01.c b/testcases/kernel/syscalls/setreuid/setreuid01.c
index 7c2b6d589..5398246a6 100644
--- a/testcases/kernel/syscalls/setreuid/setreuid01.c
+++ b/testcases/kernel/syscalls/setreuid/setreuid01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *	Author: William Roske
diff --git a/testcases/kernel/syscalls/setxattr/setxattr03.c b/testcases/kernel/syscalls/setxattr/setxattr03.c
index 58ee0f880..b06569cfe 100644
--- a/testcases/kernel/syscalls/setxattr/setxattr03.c
+++ b/testcases/kernel/syscalls/setxattr/setxattr03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Red Hat, Inc.
  */
diff --git a/testcases/kernel/syscalls/statfs/statfs01.c b/testcases/kernel/syscalls/statfs/statfs01.c
index a2043f03d..62e1d00ed 100644
--- a/testcases/kernel/syscalls/statfs/statfs01.c
+++ b/testcases/kernel/syscalls/statfs/statfs01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * AUTHOR : William Roske, CO-PILOT	: Dave Fenner
diff --git a/testcases/kernel/syscalls/statvfs/statvfs01.c b/testcases/kernel/syscalls/statvfs/statvfs01.c
index c10c67b18..1aafe5e4b 100644
--- a/testcases/kernel/syscalls/statvfs/statvfs01.c
+++ b/testcases/kernel/syscalls/statvfs/statvfs01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2005.  All Rights Reserved.
  *    AUTHOR: Prashant P Yendigeri <prashant.yendigeri@wipro.com>
diff --git a/testcases/kernel/syscalls/statvfs/statvfs02.c b/testcases/kernel/syscalls/statvfs/statvfs02.c
index 6f36530bf..506a35fea 100644
--- a/testcases/kernel/syscalls/statvfs/statvfs02.c
+++ b/testcases/kernel/syscalls/statvfs/statvfs02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  * Copyright (c) 2014 Fujitsu Ltd.
diff --git a/testcases/kernel/syscalls/timer_create/timer_create01.c b/testcases/kernel/syscalls/timer_create/timer_create01.c
index d56e68c23..dfbdc9125 100644
--- a/testcases/kernel/syscalls/timer_create/timer_create01.c
+++ b/testcases/kernel/syscalls/timer_create/timer_create01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2003.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/timer_create/timer_create02.c b/testcases/kernel/syscalls/timer_create/timer_create02.c
index 1920f0874..551cf50b9 100644
--- a/testcases/kernel/syscalls/timer_create/timer_create02.c
+++ b/testcases/kernel/syscalls/timer_create/timer_create02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2003.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/timer_delete/timer_delete01.c b/testcases/kernel/syscalls/timer_delete/timer_delete01.c
index bdc2e44cc..4d1b6ddfc 100644
--- a/testcases/kernel/syscalls/timer_delete/timer_delete01.c
+++ b/testcases/kernel/syscalls/timer_delete/timer_delete01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2003.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/timer_delete/timer_delete02.c b/testcases/kernel/syscalls/timer_delete/timer_delete02.c
index 29614f62e..9df959f9d 100644
--- a/testcases/kernel/syscalls/timer_delete/timer_delete02.c
+++ b/testcases/kernel/syscalls/timer_delete/timer_delete02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2003.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/timer_settime/timer_settime01.c b/testcases/kernel/syscalls/timer_settime/timer_settime01.c
index 5aee8b38a..1d9d5e49b 100644
--- a/testcases/kernel/syscalls/timer_settime/timer_settime01.c
+++ b/testcases/kernel/syscalls/timer_settime/timer_settime01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2003.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/timer_settime/timer_settime02.c b/testcases/kernel/syscalls/timer_settime/timer_settime02.c
index 3309a81ad..2723dc03d 100644
--- a/testcases/kernel/syscalls/timer_settime/timer_settime02.c
+++ b/testcases/kernel/syscalls/timer_settime/timer_settime02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2003.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/ustat/ustat01.c b/testcases/kernel/syscalls/ustat/ustat01.c
index 70a44adb4..161006058 100644
--- a/testcases/kernel/syscalls/ustat/ustat01.c
+++ b/testcases/kernel/syscalls/ustat/ustat01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2003.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/ustat/ustat02.c b/testcases/kernel/syscalls/ustat/ustat02.c
index a5b0cc1b6..965766698 100644
--- a/testcases/kernel/syscalls/ustat/ustat02.c
+++ b/testcases/kernel/syscalls/ustat/ustat02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/wait/wait02.c b/testcases/kernel/syscalls/wait/wait02.c
index bc617f7ac..806557c1b 100644
--- a/testcases/kernel/syscalls/wait/wait02.c
+++ b/testcases/kernel/syscalls/wait/wait02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/37-1.c b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/37-1.c
index 09b4d6657..d9da1cab0 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/shm_open/37-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/shm_open/37-1.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Test that the shm_open() function sets errno = EINVAL if the shm_open()
  * operation is not supported for the given name.
-- 
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-14 17:09 [LTP] [PATCH 0/3] License cleanup Petr Vorel
  2024-02-14 17:09 ` [LTP] [PATCH 1/3] tree: Fix license GPL-2.0-or-later Petr Vorel
  2024-02-14 17:09 ` [LTP] [PATCH 2/3] tree: Fix SPDX license GPL-2.0-only Petr Vorel
@ 2024-02-14 17:09 ` Petr Vorel
  2024-02-14 17:52   ` Martin Doucha
                     ` (4 more replies)
  2 siblings, 5 replies; 14+ messages in thread
From: Petr Vorel @ 2024-02-14 17:09 UTC (permalink / raw)
  To: ltp; +Cc: Jan Kara, Matthew Bobrowski

Cc: Cyril Hrubis <chrubis@suse.cz>
Cc: Jan Kara <jack@suse.cz>
Cc: Amir Goldstein <amir73il@gmail.com>
Cc: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Cc: Jan Stancek <jstancek@redhat.com>
Cc: Martin Doucha <mdoucha@suse.cz>
Cc: Richard Palethorpe <io@richiejp.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi all,

I'm sorry to steal your time with license cleanup.

LTP started as GPL v2 only around 2001. Later new tests were changed to
GPL v2+. When we later started using SPDX, we use GPL-2.0 which actually
means GPL-2.0-only. Please if you agree with changing GPL-2.0-or-later
for tests you wrote ack this (or send a patch where you change it if you
prefer). If you don't agree or you don't reply your files will stay
GPL v2 only (just SPDX will be changed to GPL-2.0-only to be obvious.)

Kind regards,
Petr

Matthew Bobrowski
testcases/kernel/syscalls/fanotify/fanotify12.c
testcases/kernel/syscalls/fanotify/fanotify13.c
testcases/kernel/syscalls/fanotify/fanotify14.c
testcases/kernel/syscalls/fanotify/fanotify_child.c

Amir Goldstein
testcases/kernel/syscalls/fanotify/fanotify06.c
testcases/kernel/syscalls/fanotify/fanotify10.c
testcases/kernel/syscalls/fanotify/fanotify23.c
testcases/kernel/syscalls/fcntl/fcntl38.c
testcases/kernel/syscalls/fcntl/fcntl39.c
testcases/kernel/syscalls/inotify/inotify10.c

Jan Kara
testcases/kernel/syscalls/fanotify/fanotify01.c
testcases/kernel/syscalls/fanotify/fanotify02.c
testcases/kernel/syscalls/fanotify/fanotify03.c
testcases/kernel/syscalls/fanotify/fanotify04.c
testcases/kernel/syscalls/fanotify/fanotify05.c
testcases/kernel/syscalls/fanotify/fanotify06.c
testcases/kernel/syscalls/fanotify/fanotify10.c

Richard Palethorpe
testcases/kernel/controllers/io/io_control01.c
testcases/kernel/syscalls/close_range/close_range01.c
testcases/kernel/syscalls/close_range/close_range02.c

Martin Doucha
testcases/kernel/syscalls/ptrace/ptrace08.c

Jan Stancek
testcases/kernel/syscalls/readahead/readahead01.c

Cyril Hrubis
lib/tst_fs_type.c
lib/tst_process_state.c
lib/tst_timer.c
include/tst_process_state.h (originally v2 only, but changed by me to v2+, can be kept?)

 lib/tst_fs_type.c                                     | 2 +-
 lib/tst_process_state.c                               | 2 +-
 lib/tst_timer.c                                       | 2 +-
 testcases/kernel/controllers/io/io_control01.c        | 2 +-
 testcases/kernel/syscalls/close_range/close_range01.c | 2 +-
 testcases/kernel/syscalls/close_range/close_range02.c | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify01.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify02.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify03.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify04.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify05.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify06.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify10.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify12.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify13.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify14.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify23.c       | 2 +-
 testcases/kernel/syscalls/fanotify/fanotify_child.c   | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl38.c             | 2 +-
 testcases/kernel/syscalls/fcntl/fcntl39.c             | 2 +-
 testcases/kernel/syscalls/inotify/inotify10.c         | 2 +-
 testcases/kernel/syscalls/ptrace/ptrace08.c           | 2 +-
 testcases/kernel/syscalls/readahead/readahead01.c     | 2 +-
 23 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/lib/tst_fs_type.c b/lib/tst_fs_type.c
index 7f0d61a8e..e9efb89dc 100644
--- a/lib/tst_fs_type.c
+++ b/lib/tst_fs_type.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2005-2021 Linux Test Project
  *
diff --git a/lib/tst_process_state.c b/lib/tst_process_state.c
index c15283c3d..033af2023 100644
--- a/lib/tst_process_state.c
+++ b/lib/tst_process_state.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2012-2014 Cyril Hrubis chrubis@suse.cz
  * Copyright (c) 2021 Xie Ziyao <xieziyao@huawei.com>
diff --git a/lib/tst_timer.c b/lib/tst_timer.c
index 62d8f9080..ecf165ca4 100644
--- a/lib/tst_timer.c
+++ b/lib/tst_timer.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2015 Cyril Hrubis <chrubis@suse.cz>
  */
diff --git a/testcases/kernel/controllers/io/io_control01.c b/testcases/kernel/controllers/io/io_control01.c
index 691196886..47ae0f104 100644
--- a/testcases/kernel/controllers/io/io_control01.c
+++ b/testcases/kernel/controllers/io/io_control01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2022 SUSE LLC <rpalethorpe@suse.com>
  */
diff --git a/testcases/kernel/syscalls/close_range/close_range01.c b/testcases/kernel/syscalls/close_range/close_range01.c
index 072bbab66..c2a0c9619 100644
--- a/testcases/kernel/syscalls/close_range/close_range01.c
+++ b/testcases/kernel/syscalls/close_range/close_range01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Taken from the kernel self tests, which in turn were based on
  * a Syzkaller reproducer.
diff --git a/testcases/kernel/syscalls/close_range/close_range02.c b/testcases/kernel/syscalls/close_range/close_range02.c
index 2aa6d2c9f..48d9a31df 100644
--- a/testcases/kernel/syscalls/close_range/close_range02.c
+++ b/testcases/kernel/syscalls/close_range/close_range02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2021 SUSE LLC
  */
diff --git a/testcases/kernel/syscalls/fanotify/fanotify01.c b/testcases/kernel/syscalls/fanotify/fanotify01.c
index 3cb485c2a..5d18fe851 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify01.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2013 SUSE.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify02.c b/testcases/kernel/syscalls/fanotify/fanotify02.c
index 3321e5526..19854064a 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify02.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify02.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2013 SUSE.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify03.c b/testcases/kernel/syscalls/fanotify/fanotify03.c
index 028da742c..3ed78e5fa 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify03.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify03.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2013 SUSE.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify04.c b/testcases/kernel/syscalls/fanotify/fanotify04.c
index 8541a7b96..378bc57c0 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify04.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify04.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2013 SUSE.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify05.c b/testcases/kernel/syscalls/fanotify/fanotify05.c
index 04670cb1c..12c240881 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify05.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify05.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2014 SUSE Linux.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify06.c b/testcases/kernel/syscalls/fanotify/fanotify06.c
index 618c85a43..8779e34d9 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify06.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify06.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2014 SUSE.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify10.c b/testcases/kernel/syscalls/fanotify/fanotify10.c
index 6c89ca1d0..c6d8ec922 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify10.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify10.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2014 SUSE.  All Rights Reserved.
  * Copyright (c) 2018 CTERA Networks.  All Rights Reserved.
diff --git a/testcases/kernel/syscalls/fanotify/fanotify12.c b/testcases/kernel/syscalls/fanotify/fanotify12.c
index 42ba08800..60ba27e16 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify12.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify12.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify13.c b/testcases/kernel/syscalls/fanotify/fanotify13.c
index 6086a81fc..5cd857707 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify13.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify13.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify14.c b/testcases/kernel/syscalls/fanotify/fanotify14.c
index 0b0da89ca..d02d81495 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify14.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify14.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
  * Copyright (c) Linux Test Project, 2020-2022
diff --git a/testcases/kernel/syscalls/fanotify/fanotify23.c b/testcases/kernel/syscalls/fanotify/fanotify23.c
index 5a03503e9..35a613fea 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify23.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify23.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2022 CTERA Networks.  All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fanotify/fanotify_child.c b/testcases/kernel/syscalls/fanotify/fanotify_child.c
index 2e4e189cb..73f634514 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify_child.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify_child.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fcntl/fcntl38.c b/testcases/kernel/syscalls/fcntl/fcntl38.c
index 2f1b0229e..d867bf876 100644
--- a/testcases/kernel/syscalls/fcntl/fcntl38.c
+++ b/testcases/kernel/syscalls/fcntl/fcntl38.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 CTERA Networks. All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/fcntl/fcntl39.c b/testcases/kernel/syscalls/fcntl/fcntl39.c
index 973b6a652..30aada2aa 100644
--- a/testcases/kernel/syscalls/fcntl/fcntl39.c
+++ b/testcases/kernel/syscalls/fcntl/fcntl39.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2021 CTERA Networks. All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/inotify/inotify10.c b/testcases/kernel/syscalls/inotify/inotify10.c
index ed91b920f..6a9a0a436 100644
--- a/testcases/kernel/syscalls/inotify/inotify10.c
+++ b/testcases/kernel/syscalls/inotify/inotify10.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 CTERA Networks. All Rights Reserved.
  *
diff --git a/testcases/kernel/syscalls/ptrace/ptrace08.c b/testcases/kernel/syscalls/ptrace/ptrace08.c
index d17d6b411..9e64edc48 100644
--- a/testcases/kernel/syscalls/ptrace/ptrace08.c
+++ b/testcases/kernel/syscalls/ptrace/ptrace08.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Andrew Lutomirski
  * Copyright (C) 2020 SUSE LLC <mdoucha@suse.cz>
diff --git a/testcases/kernel/syscalls/readahead/readahead01.c b/testcases/kernel/syscalls/readahead/readahead01.c
index a1f313605..0f610daf8 100644
--- a/testcases/kernel/syscalls/readahead/readahead01.c
+++ b/testcases/kernel/syscalls/readahead/readahead01.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2012 Linux Test Project, Inc.
  * Copyright (C) 2023-2024 Cyril Hrubis <chrubis@suse.cz>
-- 
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
@ 2024-02-14 17:52   ` Martin Doucha
  2024-02-15  8:40     ` Petr Vorel
  2024-02-15  6:11   ` Jan Stancek
                     ` (3 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: Martin Doucha @ 2024-02-14 17:52 UTC (permalink / raw)
  To: Petr Vorel, ltp; +Cc: Jan Kara, Matthew Bobrowski

On 14. 02. 24 18:09, Petr Vorel wrote:
> Cc: Cyril Hrubis <chrubis@suse.cz>
> Cc: Jan Kara <jack@suse.cz>
> Cc: Amir Goldstein <amir73il@gmail.com>
> Cc: Matthew Bobrowski <mbobrowski@mbobrowski.org>
> Cc: Jan Stancek <jstancek@redhat.com>
> Cc: Martin Doucha <mdoucha@suse.cz>
> Cc: Richard Palethorpe <io@richiejp.com>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Hi all,
> 
> I'm sorry to steal your time with license cleanup.
> 
> LTP started as GPL v2 only around 2001. Later new tests were changed to
> GPL v2+. When we later started using SPDX, we use GPL-2.0 which actually
> means GPL-2.0-only. Please if you agree with changing GPL-2.0-or-later
> for tests you wrote ack this (or send a patch where you change it if you
> prefer). If you don't agree or you don't reply your files will stay
> GPL v2 only (just SPDX will be changed to GPL-2.0-only to be obvious.)
> 
> Kind regards,
> Petr
> 
> Martin Doucha
> testcases/kernel/syscalls/ptrace/ptrace08.c

I would ack licence change for ptrace08 but it's based on a reproducer 
by Andrew Lutomirsky which is licensed under GPL-2.0:
https://github.com/linux-test-project/ltp/issues/593

Therefore my ack is not sufficient.

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
  2024-02-14 17:52   ` Martin Doucha
@ 2024-02-15  6:11   ` Jan Stancek
  2024-02-15  8:41   ` Cyril Hrubis
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 14+ messages in thread
From: Jan Stancek @ 2024-02-15  6:11 UTC (permalink / raw)
  To: Petr Vorel; +Cc: Jan Kara, Matthew Bobrowski, ltp

On Wed, Feb 14, 2024 at 6:10 PM Petr Vorel <pvorel@suse.cz> wrote:
>
> Cc: Cyril Hrubis <chrubis@suse.cz>
> Cc: Jan Kara <jack@suse.cz>
> Cc: Amir Goldstein <amir73il@gmail.com>
> Cc: Matthew Bobrowski <mbobrowski@mbobrowski.org>
> Cc: Jan Stancek <jstancek@redhat.com>
> Cc: Martin Doucha <mdoucha@suse.cz>
> Cc: Richard Palethorpe <io@richiejp.com>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Hi all,
>
> I'm sorry to steal your time with license cleanup.
>
> LTP started as GPL v2 only around 2001. Later new tests were changed to
> GPL v2+. When we later started using SPDX, we use GPL-2.0 which actually
> means GPL-2.0-only. Please if you agree with changing GPL-2.0-or-later
> for tests you wrote ack this (or send a patch where you change it if you
> prefer). If you don't agree or you don't reply your files will stay
> GPL v2 only (just SPDX will be changed to GPL-2.0-only to be obvious.)
>
> Kind regards,
> Petr
>
> Matthew Bobrowski
> testcases/kernel/syscalls/fanotify/fanotify12.c
> testcases/kernel/syscalls/fanotify/fanotify13.c
> testcases/kernel/syscalls/fanotify/fanotify14.c
> testcases/kernel/syscalls/fanotify/fanotify_child.c
>
> Amir Goldstein
> testcases/kernel/syscalls/fanotify/fanotify06.c
> testcases/kernel/syscalls/fanotify/fanotify10.c
> testcases/kernel/syscalls/fanotify/fanotify23.c
> testcases/kernel/syscalls/fcntl/fcntl38.c
> testcases/kernel/syscalls/fcntl/fcntl39.c
> testcases/kernel/syscalls/inotify/inotify10.c
>
> Jan Kara
> testcases/kernel/syscalls/fanotify/fanotify01.c
> testcases/kernel/syscalls/fanotify/fanotify02.c
> testcases/kernel/syscalls/fanotify/fanotify03.c
> testcases/kernel/syscalls/fanotify/fanotify04.c
> testcases/kernel/syscalls/fanotify/fanotify05.c
> testcases/kernel/syscalls/fanotify/fanotify06.c
> testcases/kernel/syscalls/fanotify/fanotify10.c
>
> Richard Palethorpe
> testcases/kernel/controllers/io/io_control01.c
> testcases/kernel/syscalls/close_range/close_range01.c
> testcases/kernel/syscalls/close_range/close_range02.c
>
> Martin Doucha
> testcases/kernel/syscalls/ptrace/ptrace08.c
>
> Jan Stancek
> testcases/kernel/syscalls/readahead/readahead01.c

Acked-by: Jan Stancek <jstancek@redhat.com>

>
> Cyril Hrubis
> lib/tst_fs_type.c
> lib/tst_process_state.c
> lib/tst_timer.c
> include/tst_process_state.h (originally v2 only, but changed by me to v2+, can be kept?)
>
>  lib/tst_fs_type.c                                     | 2 +-
>  lib/tst_process_state.c                               | 2 +-
>  lib/tst_timer.c                                       | 2 +-
>  testcases/kernel/controllers/io/io_control01.c        | 2 +-
>  testcases/kernel/syscalls/close_range/close_range01.c | 2 +-
>  testcases/kernel/syscalls/close_range/close_range02.c | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify01.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify02.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify03.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify04.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify05.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify06.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify10.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify12.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify13.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify14.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify23.c       | 2 +-
>  testcases/kernel/syscalls/fanotify/fanotify_child.c   | 2 +-
>  testcases/kernel/syscalls/fcntl/fcntl38.c             | 2 +-
>  testcases/kernel/syscalls/fcntl/fcntl39.c             | 2 +-
>  testcases/kernel/syscalls/inotify/inotify10.c         | 2 +-
>  testcases/kernel/syscalls/ptrace/ptrace08.c           | 2 +-
>  testcases/kernel/syscalls/readahead/readahead01.c     | 2 +-
>  23 files changed, 23 insertions(+), 23 deletions(-)
>
> diff --git a/lib/tst_fs_type.c b/lib/tst_fs_type.c
> index 7f0d61a8e..e9efb89dc 100644
> --- a/lib/tst_fs_type.c
> +++ b/lib/tst_fs_type.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2005-2021 Linux Test Project
>   *
> diff --git a/lib/tst_process_state.c b/lib/tst_process_state.c
> index c15283c3d..033af2023 100644
> --- a/lib/tst_process_state.c
> +++ b/lib/tst_process_state.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2012-2014 Cyril Hrubis chrubis@suse.cz
>   * Copyright (c) 2021 Xie Ziyao <xieziyao@huawei.com>
> diff --git a/lib/tst_timer.c b/lib/tst_timer.c
> index 62d8f9080..ecf165ca4 100644
> --- a/lib/tst_timer.c
> +++ b/lib/tst_timer.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2015 Cyril Hrubis <chrubis@suse.cz>
>   */
> diff --git a/testcases/kernel/controllers/io/io_control01.c b/testcases/kernel/controllers/io/io_control01.c
> index 691196886..47ae0f104 100644
> --- a/testcases/kernel/controllers/io/io_control01.c
> +++ b/testcases/kernel/controllers/io/io_control01.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2022 SUSE LLC <rpalethorpe@suse.com>
>   */
> diff --git a/testcases/kernel/syscalls/close_range/close_range01.c b/testcases/kernel/syscalls/close_range/close_range01.c
> index 072bbab66..c2a0c9619 100644
> --- a/testcases/kernel/syscalls/close_range/close_range01.c
> +++ b/testcases/kernel/syscalls/close_range/close_range01.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Taken from the kernel self tests, which in turn were based on
>   * a Syzkaller reproducer.
> diff --git a/testcases/kernel/syscalls/close_range/close_range02.c b/testcases/kernel/syscalls/close_range/close_range02.c
> index 2aa6d2c9f..48d9a31df 100644
> --- a/testcases/kernel/syscalls/close_range/close_range02.c
> +++ b/testcases/kernel/syscalls/close_range/close_range02.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2021 SUSE LLC
>   */
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify01.c b/testcases/kernel/syscalls/fanotify/fanotify01.c
> index 3cb485c2a..5d18fe851 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify01.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify01.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2013 SUSE.  All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify02.c b/testcases/kernel/syscalls/fanotify/fanotify02.c
> index 3321e5526..19854064a 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify02.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify02.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2013 SUSE.  All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify03.c b/testcases/kernel/syscalls/fanotify/fanotify03.c
> index 028da742c..3ed78e5fa 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify03.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify03.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2013 SUSE.  All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify04.c b/testcases/kernel/syscalls/fanotify/fanotify04.c
> index 8541a7b96..378bc57c0 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify04.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify04.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2013 SUSE.  All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify05.c b/testcases/kernel/syscalls/fanotify/fanotify05.c
> index 04670cb1c..12c240881 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify05.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify05.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2014 SUSE Linux.  All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify06.c b/testcases/kernel/syscalls/fanotify/fanotify06.c
> index 618c85a43..8779e34d9 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify06.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify06.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2014 SUSE.  All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify10.c b/testcases/kernel/syscalls/fanotify/fanotify10.c
> index 6c89ca1d0..c6d8ec922 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify10.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify10.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2014 SUSE.  All Rights Reserved.
>   * Copyright (c) 2018 CTERA Networks.  All Rights Reserved.
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify12.c b/testcases/kernel/syscalls/fanotify/fanotify12.c
> index 42ba08800..60ba27e16 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify12.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify12.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify13.c b/testcases/kernel/syscalls/fanotify/fanotify13.c
> index 6086a81fc..5cd857707 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify13.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify13.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify14.c b/testcases/kernel/syscalls/fanotify/fanotify14.c
> index 0b0da89ca..d02d81495 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify14.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify14.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
>   * Copyright (c) Linux Test Project, 2020-2022
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify23.c b/testcases/kernel/syscalls/fanotify/fanotify23.c
> index 5a03503e9..35a613fea 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify23.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify23.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2022 CTERA Networks.  All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify_child.c b/testcases/kernel/syscalls/fanotify/fanotify_child.c
> index 2e4e189cb..73f634514 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify_child.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify_child.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2018 Matthew Bobrowski. All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fcntl/fcntl38.c b/testcases/kernel/syscalls/fcntl/fcntl38.c
> index 2f1b0229e..d867bf876 100644
> --- a/testcases/kernel/syscalls/fcntl/fcntl38.c
> +++ b/testcases/kernel/syscalls/fcntl/fcntl38.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2020 CTERA Networks. All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/fcntl/fcntl39.c b/testcases/kernel/syscalls/fcntl/fcntl39.c
> index 973b6a652..30aada2aa 100644
> --- a/testcases/kernel/syscalls/fcntl/fcntl39.c
> +++ b/testcases/kernel/syscalls/fcntl/fcntl39.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2021 CTERA Networks. All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/inotify/inotify10.c b/testcases/kernel/syscalls/inotify/inotify10.c
> index ed91b920f..6a9a0a436 100644
> --- a/testcases/kernel/syscalls/inotify/inotify10.c
> +++ b/testcases/kernel/syscalls/inotify/inotify10.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2020 CTERA Networks. All Rights Reserved.
>   *
> diff --git a/testcases/kernel/syscalls/ptrace/ptrace08.c b/testcases/kernel/syscalls/ptrace/ptrace08.c
> index d17d6b411..9e64edc48 100644
> --- a/testcases/kernel/syscalls/ptrace/ptrace08.c
> +++ b/testcases/kernel/syscalls/ptrace/ptrace08.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2018 Andrew Lutomirski
>   * Copyright (C) 2020 SUSE LLC <mdoucha@suse.cz>
> diff --git a/testcases/kernel/syscalls/readahead/readahead01.c b/testcases/kernel/syscalls/readahead/readahead01.c
> index a1f313605..0f610daf8 100644
> --- a/testcases/kernel/syscalls/readahead/readahead01.c
> +++ b/testcases/kernel/syscalls/readahead/readahead01.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2012 Linux Test Project, Inc.
>   * Copyright (C) 2023-2024 Cyril Hrubis <chrubis@suse.cz>
> --
> 2.43.0
>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-14 17:52   ` Martin Doucha
@ 2024-02-15  8:40     ` Petr Vorel
  0 siblings, 0 replies; 14+ messages in thread
From: Petr Vorel @ 2024-02-15  8:40 UTC (permalink / raw)
  To: Martin Doucha; +Cc: Jan Kara, Matthew Bobrowski, ltp

> On 14. 02. 24 18:09, Petr Vorel wrote:
> > Cc: Cyril Hrubis <chrubis@suse.cz>
> > Cc: Jan Kara <jack@suse.cz>
> > Cc: Amir Goldstein <amir73il@gmail.com>
> > Cc: Matthew Bobrowski <mbobrowski@mbobrowski.org>
> > Cc: Jan Stancek <jstancek@redhat.com>
> > Cc: Martin Doucha <mdoucha@suse.cz>
> > Cc: Richard Palethorpe <io@richiejp.com>
> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> > Hi all,

> > I'm sorry to steal your time with license cleanup.

> > LTP started as GPL v2 only around 2001. Later new tests were changed to
> > GPL v2+. When we later started using SPDX, we use GPL-2.0 which actually
> > means GPL-2.0-only. Please if you agree with changing GPL-2.0-or-later
> > for tests you wrote ack this (or send a patch where you change it if you
> > prefer). If you don't agree or you don't reply your files will stay
> > GPL v2 only (just SPDX will be changed to GPL-2.0-only to be obvious.)

> > Kind regards,
> > Petr

> > Martin Doucha
> > testcases/kernel/syscalls/ptrace/ptrace08.c

> I would ack licence change for ptrace08 but it's based on a reproducer by
> Andrew Lutomirsky which is licensed under GPL-2.0:
> https://github.com/linux-test-project/ltp/issues/593

> Therefore my ack is not sufficient.

Very good catch, thank you. This one will stay GPL-2.0-only.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
  2024-02-14 17:52   ` Martin Doucha
  2024-02-15  6:11   ` Jan Stancek
@ 2024-02-15  8:41   ` Cyril Hrubis
  2024-02-15  9:23   ` Jan Kara
  2024-03-01  5:01   ` Li Wang
  4 siblings, 0 replies; 14+ messages in thread
From: Cyril Hrubis @ 2024-02-15  8:41 UTC (permalink / raw)
  To: Petr Vorel; +Cc: Jan Kara, Matthew Bobrowski, ltp

Hi!
Acked-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
                     ` (2 preceding siblings ...)
  2024-02-15  8:41   ` Cyril Hrubis
@ 2024-02-15  9:23   ` Jan Kara
  2024-02-15 19:12     ` Matthew Bobrowski
  2024-03-01  5:01   ` Li Wang
  4 siblings, 1 reply; 14+ messages in thread
From: Jan Kara @ 2024-02-15  9:23 UTC (permalink / raw)
  To: Petr Vorel; +Cc: Jan Kara, Matthew Bobrowski, ltp

On Wed 14-02-24 18:09:49, Petr Vorel wrote:
> Cc: Cyril Hrubis <chrubis@suse.cz>
> Cc: Jan Kara <jack@suse.cz>
> Cc: Amir Goldstein <amir73il@gmail.com>
> Cc: Matthew Bobrowski <mbobrowski@mbobrowski.org>
> Cc: Jan Stancek <jstancek@redhat.com>
> Cc: Martin Doucha <mdoucha@suse.cz>
> Cc: Richard Palethorpe <io@richiejp.com>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Hi all,
> 
> I'm sorry to steal your time with license cleanup.
> 
> LTP started as GPL v2 only around 2001. Later new tests were changed to
> GPL v2+. When we later started using SPDX, we use GPL-2.0 which actually
> means GPL-2.0-only. Please if you agree with changing GPL-2.0-or-later
> for tests you wrote ack this (or send a patch where you change it if you
> prefer). If you don't agree or you don't reply your files will stay
> GPL v2 only (just SPDX will be changed to GPL-2.0-only to be obvious.)
...
> Jan Kara
> testcases/kernel/syscalls/fanotify/fanotify01.c
> testcases/kernel/syscalls/fanotify/fanotify02.c
> testcases/kernel/syscalls/fanotify/fanotify03.c
> testcases/kernel/syscalls/fanotify/fanotify04.c
> testcases/kernel/syscalls/fanotify/fanotify05.c
> testcases/kernel/syscalls/fanotify/fanotify06.c
> testcases/kernel/syscalls/fanotify/fanotify10.c

Acked-by: Jan Kara <jack@suse.cz>

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-15  9:23   ` Jan Kara
@ 2024-02-15 19:12     ` Matthew Bobrowski
  0 siblings, 0 replies; 14+ messages in thread
From: Matthew Bobrowski @ 2024-02-15 19:12 UTC (permalink / raw)
  To: Jan Kara; +Cc: ltp

On Thu, Feb 15, 2024 at 10:23 AM Jan Kara <jack@suse.cz> wrote:
>
> On Wed 14-02-24 18:09:49, Petr Vorel wrote:
> > Cc: Cyril Hrubis <chrubis@suse.cz>
> > Cc: Jan Kara <jack@suse.cz>
> > Cc: Amir Goldstein <amir73il@gmail.com>
> > Cc: Matthew Bobrowski <mbobrowski@mbobrowski.org>
> > Cc: Jan Stancek <jstancek@redhat.com>
> > Cc: Martin Doucha <mdoucha@suse.cz>
> > Cc: Richard Palethorpe <io@richiejp.com>
> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> > Hi all,
> >
> > I'm sorry to steal your time with license cleanup.
> >
> > LTP started as GPL v2 only around 2001. Later new tests were changed to
> > GPL v2+. When we later started using SPDX, we use GPL-2.0 which actually
> > means GPL-2.0-only. Please if you agree with changing GPL-2.0-or-later
> > for tests you wrote ack this (or send a patch where you change it if you
> > prefer). If you don't agree or you don't reply your files will stay
> > GPL v2 only (just SPDX will be changed to GPL-2.0-only to be obvious.)
> ...
> > Jan Kara
> > testcases/kernel/syscalls/fanotify/fanotify01.c
> > testcases/kernel/syscalls/fanotify/fanotify02.c
> > testcases/kernel/syscalls/fanotify/fanotify03.c
> > testcases/kernel/syscalls/fanotify/fanotify04.c
> > testcases/kernel/syscalls/fanotify/fanotify05.c
> > testcases/kernel/syscalls/fanotify/fanotify06.c
> > testcases/kernel/syscalls/fanotify/fanotify10.c

Acked-by: Matt Bobrowski <mattbobrowski@google.com>

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
                     ` (3 preceding siblings ...)
  2024-02-15  9:23   ` Jan Kara
@ 2024-03-01  5:01   ` Li Wang
  2024-03-01  8:59     ` Petr Vorel
  4 siblings, 1 reply; 14+ messages in thread
From: Li Wang @ 2024-03-01  5:01 UTC (permalink / raw)
  To: Petr Vorel; +Cc: Jan Kara, Matthew Bobrowski, ltp

Hi Petr,

All looks good to me. Feel free to merge this patchset.

Reviewed-by: Li Wang <liwang@redhat.com>


--
Regards,
Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-03-01  5:01   ` Li Wang
@ 2024-03-01  8:59     ` Petr Vorel
  2024-03-01  9:16       ` Amir Goldstein
  0 siblings, 1 reply; 14+ messages in thread
From: Petr Vorel @ 2024-03-01  8:59 UTC (permalink / raw)
  To: Li Wang; +Cc: Jan Kara, Matthew Bobrowski, ltp

Hi Li,

> Hi Petr,

> All looks good to me. Feel free to merge this patchset.

Thank you! FYI I'm still waiting for Amir's ack.

I guess we could relicense Richie's work without his ack (SUSE work actually),
but at least testcases/kernel/syscalls/close_range/close_range01.c is from
kselftest (tools/testing/selftests/core/close_range_test.c), which is GPL v2
only, I suppose I should use GPL-2.0-only for this one.
I haven't found a record that other two from Richie would be from kselftest,
thus I'll use GPL-2.0-or-later for them.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-03-01  8:59     ` Petr Vorel
@ 2024-03-01  9:16       ` Amir Goldstein
  2024-03-01 10:54         ` Petr Vorel
  0 siblings, 1 reply; 14+ messages in thread
From: Amir Goldstein @ 2024-03-01  9:16 UTC (permalink / raw)
  To: Petr Vorel; +Cc: Jan Kara, Matthew Bobrowski, ltp

On Fri, Mar 1, 2024 at 10:59 AM Petr Vorel <pvorel@suse.cz> wrote:
>
> Hi Li,
>
> > Hi Petr,
>
> > All looks good to me. Feel free to merge this patchset.
>
> Thank you! FYI I'm still waiting for Amir's ack.
>

Acked-by: Amir Goldstein <amir73il@gmail.com>

Thanks,
Amir.

> I guess we could relicense Richie's work without his ack (SUSE work actually),
> but at least testcases/kernel/syscalls/close_range/close_range01.c is from
> kselftest (tools/testing/selftests/core/close_range_test.c), which is GPL v2
> only, I suppose I should use GPL-2.0-only for this one.
> I haven't found a record that other two from Richie would be from kselftest,
> thus I'll use GPL-2.0-or-later for them.
>
> Kind regards,
> Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later
  2024-03-01  9:16       ` Amir Goldstein
@ 2024-03-01 10:54         ` Petr Vorel
  0 siblings, 0 replies; 14+ messages in thread
From: Petr Vorel @ 2024-03-01 10:54 UTC (permalink / raw)
  To: Amir Goldstein; +Cc: Jan Kara, Matthew Bobrowski, ltp

Hi all,

> On Fri, Mar 1, 2024 at 10:59 AM Petr Vorel <pvorel@suse.cz> wrote:

> > Hi Li,

> > > Hi Petr,

> > > All looks good to me. Feel free to merge this patchset.

> > Thank you! FYI I'm still waiting for Amir's ack.


> Acked-by: Amir Goldstein <amir73il@gmail.com>

Thanks a lot, Amir!

> Thanks,
> Amir.

> > I guess we could relicense Richie's work without his ack (SUSE work actually),
> > but at least testcases/kernel/syscalls/close_range/close_range01.c is from
> > kselftest (tools/testing/selftests/core/close_range_test.c), which is GPL v2
> > only, I suppose I should use GPL-2.0-only for this one.
> > I haven't found a record that other two from Richie would be from kselftest,
> > thus I'll use GPL-2.0-or-later for them.

Patchset merged with these changes in the second commit.

Thanks to you all.

Kind regards,
Petr

> > Kind regards,
> > Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-03-01 10:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 17:09 [LTP] [PATCH 0/3] License cleanup Petr Vorel
2024-02-14 17:09 ` [LTP] [PATCH 1/3] tree: Fix license GPL-2.0-or-later Petr Vorel
2024-02-14 17:09 ` [LTP] [PATCH 2/3] tree: Fix SPDX license GPL-2.0-only Petr Vorel
2024-02-14 17:09 ` [LTP] [PATCH 3/3] tree: Relicense GPL-2.0 (v2 only) => GPL-2.0-or-later Petr Vorel
2024-02-14 17:52   ` Martin Doucha
2024-02-15  8:40     ` Petr Vorel
2024-02-15  6:11   ` Jan Stancek
2024-02-15  8:41   ` Cyril Hrubis
2024-02-15  9:23   ` Jan Kara
2024-02-15 19:12     ` Matthew Bobrowski
2024-03-01  5:01   ` Li Wang
2024-03-01  8:59     ` Petr Vorel
2024-03-01  9:16       ` Amir Goldstein
2024-03-01 10:54         ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox