Skip to contentSkip to conversation

Replace GPL with SPDX-License-Identifier

PATCH New Yang Xu 2 participants 3 messages Mar 3, 2020

lore
Share & tools
lore

Yang Xu

author
#0 lore raw

PATCH 1/2 Replace GPL with SPDX-License-Identifier

in syscalls/Makefile by using spdx.sh

spdx_string="# SPDX-License-Identifier: GPL-2.0-or-later"

str_2001="#  Copyright (c) International Business Machines  Corp., 2001"
str_2009="#  Copyright (c) International Business Machines  Corp., 2009"

str_2001copyright="# Copyright (c) International Business Machines Corp., 2001" str_2009copyright="# Copyright (c) International Business Machines Corp., 2009"

rm -rf 2.txt 1.txt unconvert.txt
find . -name Makefile > 1.txt
for file in cat 1.txt
do

        str_get=`sed -n '2p' $file`
        if [ "$str_2001" == "$str_get" ]; then
                echo "same 2001"
                 sed -i "2c $str_2001copyright" $file
        elif [ "$str_2009" == "$str_get" ]; then
                echo "same 2009"
                 sed -i "2c $str_2009copyright" $file
        else
                echo "different"
                continue
        fi
        sed -i '3,17d' $file
        sed -i "1c $spdx_string" $file
        echo $file >> 2.txt

done
diff 2.txt 1.txt >unconvert.txt

---
 testcases/kernel/syscalls/abort/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/accept/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/access/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/acct/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/add_key/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/adjtimex/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/alarm/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/bind/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/brk/Makefile        | 19 ++-----------------
 testcases/kernel/syscalls/cacheflush/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/capget/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/capset/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/chdir/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/chmod/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/chown/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/chroot/Makefile     | 19 ++-----------------
 .../kernel/syscalls/clock_getres/Makefile     | 19 ++-----------------
 .../kernel/syscalls/clock_nanosleep/Makefile  | 19 ++-----------------
 .../kernel/syscalls/clock_nanosleep2/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/clone/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/close/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/confstr/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/connect/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/creat/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/dup/Makefile        | 19 ++-----------------
 testcases/kernel/syscalls/dup2/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/dup3/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/epoll/Makefile      | 19 ++-----------------
 .../kernel/syscalls/epoll_create1/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/eventfd/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/eventfd2/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/execve/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/exit/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/exit_group/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/faccessat/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/fallocate/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/fchdir/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/fchmod/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/fchmodat/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/fchown/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/fchownat/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/fcntl/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/fdatasync/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/flock/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/fmtmsg/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/fork/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/fpathconf/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/fstat/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/fstatat/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/fstatfs/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/fsync/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/ftruncate/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/futimesat/Makefile  | 19 ++-----------------
 .../kernel/syscalls/get_mempolicy/Makefile    | 19 ++-----------------
 .../kernel/syscalls/get_robust_list/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/getcontext/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/getcpu/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/getcwd/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/getdents/Makefile   | 19 ++-----------------
 .../kernel/syscalls/getdomainname/Makefile    | 19 ++-----------------
 .../kernel/syscalls/getdtablesize/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/getegid/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/geteuid/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/getgid/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/getgroups/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/gethostid/Makefile  | 19 ++-----------------
 .../kernel/syscalls/gethostname/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/getitimer/Makefile  | 19 ++-----------------
 .../kernel/syscalls/getpagesize/Makefile      | 19 ++-----------------
 .../kernel/syscalls/getpeername/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/getpgid/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/getpgrp/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/getpid/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/getppid/Makefile    | 19 ++-----------------
 .../kernel/syscalls/getpriority/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/getresgid/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/getresuid/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/getrlimit/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/getrusage/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/getsid/Makefile     | 19 ++-----------------
 .../kernel/syscalls/getsockname/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/getsockopt/Makefile | 19 ++-----------------
 .../kernel/syscalls/gettimeofday/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/getuid/Makefile     | 19 ++-----------------
 .../kernel/syscalls/inotify_init/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/io_cancel/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/io_destroy/Makefile | 19 ++-----------------
 .../kernel/syscalls/io_getevents/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/io_setup/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/io_submit/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/ioctl/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/ioperm/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/iopl/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/ipc/Makefile        | 19 ++-----------------
 testcases/kernel/syscalls/ipc/lib/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/ipc/msgctl/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/ipc/msgrcv/Makefile | 19 ++-----------------
 .../kernel/syscalls/ipc/msgstress/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/ipc/semctl/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/ipc/semget/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/ipc/semop/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/ipc/shmat/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/ipc/shmctl/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/ipc/shmdt/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/ipc/shmget/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/keyctl/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/kill/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/lchown/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/link/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/linkat/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/listen/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/llseek/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/lseek/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/lstat/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/madvise/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/mallopt/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/mbind/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/memcmp/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/memcpy/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/memmap/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/memset/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/mincore/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/mkdir/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/mkdirat/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/mknod/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/mknodat/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/mlock/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/mlockall/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/mmap/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/modify_ldt/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/mprotect/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/mq_notify/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/mq_open/Makefile    | 19 ++-----------------
 .../kernel/syscalls/mq_timedreceive/Makefile  | 19 ++-----------------
 .../kernel/syscalls/mq_timedsend/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/mq_unlink/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/mremap/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/msync/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/munlock/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/munlockall/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/munmap/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/nanosleep/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/newuname/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/nice/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/open/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/openat/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/paging/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/pathconf/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/pause/Makefile      | 19 ++-----------------
 .../kernel/syscalls/personality/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/pipe/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/pipe2/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/poll/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/ppoll/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/prctl/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/pread/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/profil/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/pselect/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/ptrace/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/pwrite/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/quotactl/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/read/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/readdir/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/readlink/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/readlinkat/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/readv/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/reboot/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/recv/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/recvfrom/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/recvmsg/Makefile    | 19 ++-----------------
 .../kernel/syscalls/remap_file_pages/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/rename/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/renameat/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/rmdir/Makefile      | 19 ++-----------------
 .../kernel/syscalls/rt_sigaction/Makefile     | 19 ++-----------------
 .../kernel/syscalls/rt_sigprocmask/Makefile   | 19 ++-----------------
 .../kernel/syscalls/rt_sigqueueinfo/Makefile  | 19 ++-----------------
 .../kernel/syscalls/rt_sigsuspend/Makefile    | 19 ++-----------------
 .../kernel/syscalls/rt_sigtimedwait/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/sbrk/Makefile       | 19 ++-----------------
 .../syscalls/sched_get_priority_max/Makefile  | 19 ++-----------------
 .../syscalls/sched_get_priority_min/Makefile  | 19 ++-----------------
 .../syscalls/sched_getaffinity/Makefile       | 19 ++-----------------
 .../kernel/syscalls/sched_getparam/Makefile   | 19 ++-----------------
 .../syscalls/sched_getscheduler/Makefile      | 19 ++-----------------
 .../syscalls/sched_rr_get_interval/Makefile   | 19 ++-----------------
 .../kernel/syscalls/sched_setparam/Makefile   | 19 ++-----------------
 .../syscalls/sched_setscheduler/Makefile      | 19 ++-----------------
 .../kernel/syscalls/sched_yield/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/select/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/send/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/sendfile/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/sendmsg/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/sendto/Makefile     | 19 ++-----------------
 .../kernel/syscalls/set_robust_list/Makefile  | 19 ++-----------------
 .../kernel/syscalls/set_thread_area/Makefile  | 19 ++-----------------
 .../kernel/syscalls/set_tid_address/Makefile  | 19 ++-----------------
 .../kernel/syscalls/setdomainname/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/setegid/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/setfsgid/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/setfsuid/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/setgid/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/setgroups/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/setitimer/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/setpgid/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/setpgrp/Makefile    | 19 ++-----------------
 .../kernel/syscalls/setpriority/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/setregid/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/setresgid/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/setresuid/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/setreuid/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/setrlimit/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/setsid/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/setsockopt/Makefile | 19 ++-----------------
 .../kernel/syscalls/settimeofday/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/setuid/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/sgetmask/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/sigaction/Makefile  | 19 ++-----------------
 .../kernel/syscalls/sigaltstack/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/sighold/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/signal/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/signalfd/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/signalfd4/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/sigpending/Makefile | 19 ++-----------------
 .../kernel/syscalls/sigprocmask/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/sigrelse/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/sigsuspend/Makefile | 19 ++-----------------
 .../kernel/syscalls/sigtimedwait/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/sigwait/Makefile    | 19 ++-----------------
 .../kernel/syscalls/sigwaitinfo/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/socket/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/socketcall/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/socketpair/Makefile | 19 ++-----------------
 testcases/kernel/syscalls/sockioctl/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/splice/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/ssetmask/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/stat/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/statfs/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/statvfs/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/stime/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/string/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/symlink/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/symlinkat/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/sync/Makefile       | 19 ++-----------------
 .../kernel/syscalls/sync_file_range/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/syscall/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/sysconf/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/sysctl/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/sysfs/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/sysinfo/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/syslog/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/tee/Makefile        | 19 ++-----------------
 testcases/kernel/syscalls/time/Makefile       | 19 ++-----------------
 .../kernel/syscalls/timer_create/Makefile     | 19 ++-----------------
 .../kernel/syscalls/timer_delete/Makefile     | 19 ++-----------------
 .../kernel/syscalls/timer_getoverrun/Makefile | 19 ++-----------------
 .../kernel/syscalls/timer_gettime/Makefile    | 19 ++-----------------
 .../kernel/syscalls/timer_settime/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/timerfd/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/times/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/tkill/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/truncate/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/ulimit/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/umask/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/umount/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/uname/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/unlink/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/unlinkat/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/unshare/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/ustat/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/utime/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/utimensat/Makefile  | 19 ++-----------------
 testcases/kernel/syscalls/utimes/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/vfork/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/vhangup/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/vmsplice/Makefile   | 19 ++-----------------
 testcases/kernel/syscalls/wait/Makefile       | 19 ++-----------------
 testcases/kernel/syscalls/wait4/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/waitid/Makefile     | 19 ++-----------------
 testcases/kernel/syscalls/waitpid/Makefile    | 19 ++-----------------
 testcases/kernel/syscalls/write/Makefile      | 19 ++-----------------
 testcases/kernel/syscalls/writev/Makefile     | 19 ++-----------------
 282 files changed, 564 insertions(+), 4794 deletions(-)
testcases/kernel/syscalls/abort/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/accept/Makefile +2 -17
index 0910871c7..516a2e0b8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/access/Makefile +2 -17
index 06aaf9feb..5d89a6c05 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/acct/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/add_key/Makefile +2 -17
index c3e9ac15f..0f51e0bc2 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/adjtimex/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/alarm/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/bind/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/brk/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/cacheflush/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/capget/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/capset/Makefile +2 -17
index 7a1a87a28..e1073499d 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/chdir/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/chmod/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/chown/Makefile +2 -17
index 6c8544a7d..1a66088e3 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/chroot/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/clock_getres/Makefile +2 -17
index 4e1b61282..34c144fb6 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/clock_nanosleep/Makefile +2 -17
index 71ebae98b..262eef71b 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/clock_nanosleep2/Makefile +2 -17
index 71ebae98b..262eef71b 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/clone/Makefile +2 -17
index 2ded37c00..1957711b0 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/close/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/confstr/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/connect/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/creat/Makefile +2 -17
index a8b112adc..2472c8423 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/dup/Makefile +2 -17
index cf4ac2376..fd64eb453 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/dup2/Makefile +2 -17
index 6396091d8..28fc158e4 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/dup3/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/epoll/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/epoll_create1/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/eventfd/Makefile +2 -17
index 268d2e74b..ce4f13b72 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/eventfd2/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/execve/Makefile +2 -17
index 139875ff4..df690c6bd 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/exit/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/exit_group/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/faccessat/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fallocate/Makefile +2 -17
index 7a1a87a28..e1073499d 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fchdir/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fchmod/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fchmodat/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fchown/Makefile +2 -17
index f3ab65753..b2bb1e005 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fchownat/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fcntl/Makefile +2 -17
index ae37214e5..df663a50a 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fdatasync/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/flock/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fmtmsg/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fork/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fpathconf/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fstat/Makefile +2 -17
index bf1201019..d97d2bad0 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fstatat/Makefile +2 -17
index 7a1a87a28..e1073499d 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fstatfs/Makefile +2 -17
index bf1201019..d97d2bad0 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fsync/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/ftruncate/Makefile +2 -17
index 54205d401..a51e28017 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/futimesat/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/get_mempolicy/Makefile +2 -17
index fb7e9ac70..5fbd19d79 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/get_robust_list/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getcontext/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getcpu/Makefile +2 -17
index 7a1a87a28..e1073499d 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getcwd/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getdents/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getdomainname/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getdtablesize/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getegid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/geteuid/Makefile +2 -17
index ad6b9f57c..e7a0f0ae1 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getgid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getgroups/Makefile +2 -17
index f3ab65753..b2bb1e005 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/gethostid/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/gethostname/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getitimer/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getpagesize/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getpeername/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getpgid/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getpgrp/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getpid/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getppid/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getpriority/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getresgid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getresuid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getrlimit/Makefile +2 -17
index 58c5a5478..7e9aff634 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getrusage/Makefile +2 -17
index 6702f2763..8cfa15dcd 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getsid/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getsockname/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getsockopt/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/gettimeofday/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getuid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/inotify_init/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/io_cancel/Makefile +2 -17
index 268d2e74b..ce4f13b72 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/io_destroy/Makefile +2 -17
index 268d2e74b..ce4f13b72 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/io_getevents/Makefile +2 -17
index 268d2e74b..ce4f13b72 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/io_setup/Makefile +2 -17
index 268d2e74b..ce4f13b72 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/io_submit/Makefile +2 -17
index 268d2e74b..ce4f13b72 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/ioctl/Makefile +2 -17
index f7d6adbd7..c2ff6c8e7 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/ioperm/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/iopl/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/ipc/Makefile +2 -17
index fbd2f6f97..9025a70f0 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/ipc/lib/Makefile +2 -17
index 0333d482f..19916fa05 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../../..
 
testcases/kernel/syscalls/ipc/msgctl/Makefile +2 -17
index f9ee8d2c2..5e4c695dd 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/msgrcv/Makefile +2 -17
index f467389b9..401e5e8cb 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/msgstress/Makefile +2 -17
index 4472eeb1c..c62bf4131 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/semctl/Makefile +2 -17
index f467389b9..401e5e8cb 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/semget/Makefile +2 -17
index f467389b9..401e5e8cb 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/semop/Makefile +2 -17
index f467389b9..401e5e8cb 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/shmat/Makefile +2 -17
index f9ee8d2c2..5e4c695dd 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/shmctl/Makefile +2 -17
index 16da31b03..77cba6c33 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/shmdt/Makefile +2 -17
index f467389b9..401e5e8cb 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/shmget/Makefile +2 -17
index f467389b9..401e5e8cb 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/keyctl/Makefile +2 -17
index 9ccb35741..180ece25a 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/kill/Makefile +2 -17
index 23dabfc37..a6577183b 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/lchown/Makefile +2 -17
index a5b2431c4..13d39cb81 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/link/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/linkat/Makefile +2 -17
index 44de511b9..ad134b1d4 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/listen/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/llseek/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/lseek/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/lstat/Makefile +2 -17
index bf1201019..d97d2bad0 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/madvise/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mallopt/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mbind/Makefile +2 -17
index ebb1207ef..6d571271c 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/memcmp/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/memcpy/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/memmap/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/memset/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mincore/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mkdir/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mkdirat/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mknod/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mknodat/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mlock/Makefile +2 -17
index 7a1a87a28..e1073499d 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mlockall/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mmap/Makefile +2 -17
index b2f0bd4f9..743ca36e7 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/modify_ldt/Makefile +2 -17
index bd617d806..044619fb8 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mprotect/Makefile +2 -17
index bc5c8bc10..06d97ca42 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2001
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mq_notify/Makefile +2 -17
index 7b9304212..0f7c7cf7e 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mq_open/Makefile +2 -17
index 71ebae98b..262eef71b 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mq_timedreceive/Makefile +2 -17
index 7b9304212..0f7c7cf7e 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mq_timedsend/Makefile +2 -17
index 7b9304212..0f7c7cf7e 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mq_unlink/Makefile +2 -17
index 71ebae98b..262eef71b 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2009
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) International Business Machines  Corp., 2009
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mremap/Makefile +2 -17
index 102e473ee..16ebb64df 100644
@@ -1,20 +1,5 @@
-#
-#  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/msync/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/munlock/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/munlockall/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/munmap/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/nanosleep/Makefile +2 -17
index a425d1c17..48006f7b8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/newuname/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/nice/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/open/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/openat/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/paging/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/pathconf/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/pause/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/personality/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/pipe/Makefile +2 -17
index 12279c494..0056c2138 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/pipe2/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/poll/Makefile +2 -17
index ef00c78dc..d76b60ed7 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/ppoll/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/prctl/Makefile +2 -17
index c02b6d1de..b0b8ca435 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/pread/Makefile +2 -17
index c006930f5..518fad5f5 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/profil/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/pselect/Makefile +2 -17
index 2ad4c3968..a354c132e 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/ptrace/Makefile +2 -17
index 078792b3c..9ee7b8374 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/pwrite/Makefile +2 -17
index 1defdf44c..25dfccf90 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/quotactl/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/read/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/readdir/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/readlink/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/readlinkat/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/readv/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/reboot/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/recv/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/recvfrom/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/recvmsg/Makefile +2 -17
index e69c726f5..8fcf0dce0 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/remap_file_pages/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/rename/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/renameat/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/rmdir/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/rt_sigaction/Makefile +2 -17
index 3839d4276..b09c86ff8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/rt_sigprocmask/Makefile +2 -17
index 37bc3a910..24099f7ac 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/rt_sigqueueinfo/Makefile +2 -17
index 498ba8e31..2a0d6926f 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/rt_sigsuspend/Makefile +2 -17
index 37bc3a910..24099f7ac 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/rt_sigtimedwait/Makefile +2 -17
index c7110d756..9524bf91e 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sbrk/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_get_priority_max/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_get_priority_min/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_getaffinity/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_getparam/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_getscheduler/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_rr_get_interval/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_setparam/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_setscheduler/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sched_yield/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/select/Makefile +2 -17
index aed044fd0..2c5e10e60 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/send/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sendfile/Makefile +2 -17
index 1bd1b578d..f63a42fe9 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sendmsg/Makefile +2 -17
index e69c726f5..8fcf0dce0 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sendto/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/set_robust_list/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/set_thread_area/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/set_tid_address/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setdomainname/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setegid/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setfsgid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setfsuid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setgid/Makefile +2 -17
index ad6b9f57c..e7a0f0ae1 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setgroups/Makefile +2 -17
index f3ab65753..b2bb1e005 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setitimer/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setpgid/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setpgrp/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setpriority/Makefile +2 -17
index 7a1a87a28..e1073499d 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setregid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setresgid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setresuid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setreuid/Makefile +2 -17
index f3ab65753..b2bb1e005 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setrlimit/Makefile +2 -17
index 257a189dc..1f734cd31 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setsid/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setsockopt/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/settimeofday/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/setuid/Makefile +2 -17
index 6bd943aaf..1fdd7bd76 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sgetmask/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigaction/Makefile +2 -17
index d4924c40a..a2e926a31 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigaltstack/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sighold/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/signal/Makefile +2 -17
index dad2a7dfc..62265c7d4 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/signalfd/Makefile +2 -17
index 7a1a87a28..e1073499d 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/signalfd4/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigpending/Makefile +2 -17
index 00a7d5e2b..4e0d6aa9f 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigprocmask/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigrelse/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigsuspend/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigtimedwait/Makefile +2 -17
index ce1096edd..7ba1f9c05 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigwait/Makefile +2 -17
index 8725b0afc..e1e4ad486 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sigwaitinfo/Makefile +2 -17
index 1246e5e82..27c6b72c4 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/socket/Makefile +2 -17
index 96d779a1f..bbfb90c1b 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/socketcall/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/socketpair/Makefile +2 -17
index bd457ff8f..21da0e8a6 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sockioctl/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/splice/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/ssetmask/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/stat/Makefile +2 -17
index bf1201019..d97d2bad0 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/statfs/Makefile +2 -17
index bf1201019..d97d2bad0 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/statvfs/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/stime/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/string/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/symlink/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/symlinkat/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sync/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sync_file_range/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/syscall/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sysconf/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sysctl/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sysfs/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/sysinfo/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/syslog/Makefile +2 -17
index a1d1ea8ed..f6b1e6a0f 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/tee/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/time/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/timer_create/Makefile +2 -17
index 8de247075..ada241fe1 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/timer_delete/Makefile +2 -17
index 173ce50c2..bc0c141be 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/timer_getoverrun/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/timer_gettime/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/timer_settime/Makefile +2 -17
index 8f6ad334d..ad1900a54 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/timerfd/Makefile +2 -17
index 3691a8c36..cb561cf97 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/times/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/tkill/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/truncate/Makefile +2 -17
index bf1201019..d97d2bad0 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/ulimit/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/umask/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/umount/Makefile +2 -17
index f1e48b388..c7cf9d538 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/uname/Makefile +2 -17
index eceaa64d0..001a2137e 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/unlink/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/unlinkat/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/unshare/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/ustat/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/utime/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/utimensat/Makefile +2 -17
index da655d7e2..69cab8dbc 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/utimes/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/vfork/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/vhangup/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/vmsplice/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/wait/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/wait4/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/waitid/Makefile +2 -17
index 2ef86f06f..1273a4e9c 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/waitpid/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/write/Makefile +2 -17
index bd617d806..044619fb8 100644

Lines of this file are not shown. View the raw message.

testcases/kernel/syscalls/writev/Makefile +2 -17
index 85965e4cb..4844a6910 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.18.0

Part of the diff is not shown here. View the raw message.

author
#1 lore raw

PATCH 2/2 Replace GPL with SPDX-License-Identifier by using spdx_convert.sh

in syscalls/Makefile by using spdx_convert.sh

spdx_string="# SPDX-License-Identifier: GPL-2.0-or-later" rm -rf new.txt
rm -rf old.txt
sed -i '/^[0-9]+*/d' unconvert.txt
sed -i 's/..//' unconvert.txt
for file in cat unconvert.txt
do
str_get=sed -n '1p' $file
if [ "$spdx_string" == "$str_get" ]; then
echo "new"
echo $file >> new.txt
else
echo "old"
echo $file >> old.txt
fi
done
replace_gpl()

{
        sed -i "1c $spdx_string" $1
        sed -i "$2,$3d" $1
}

replace_gpl ./copy_file_range/Makefile 3 13 replace_gpl ./gethostbyname_r/Makefile 3 13 replace_gpl ./epoll_wait/Makefile 4 17 replace_gpl ./inotify/Makefile 3 17 replace_gpl ./removexattr/Makefile 4 17 replace_gpl ./setns/Makefile 4 17 replace_gpl ./listxattr/Makefile 4 17 replace_gpl ./epoll2/examples/Makefile 4 8 replace_gpl ./statx/Makefile 4 18 replace_gpl ./switch/Makefile 3 17 replace_gpl ./execveat/Makefile 3 17 replace_gpl ./flistxattr/Makefile 4 17 replace_gpl ./fadvise/Makefile 7 21 replace_gpl ./fanotify/Makefile 3 17 replace_gpl ./cma/Makefile 3 17 replace_gpl ./nftw/Makefile 5 18 replace_gpl ./request_key/Makefile 3 16 replace_gpl ./readahead/Makefile 3 17 replace_gpl ./execl/Makefile 4 17 replace_gpl ./mount/Makefile 4 17 replace_gpl ./epoll_ctl/Makefile 4 18 replace_gpl ./execv/Makefile 4 17 replace_gpl ./ipc/msgget/Makefile 3 16 replace_gpl ./ipc/msgsnd/Makefile 3 16 replace_gpl ./ipc/libnewipc/Makefile 3 16 replace_gpl ./preadv/Makefile 4 18 replace_gpl ./kcmp/Makefile 3 18 replace_gpl ./getrandom/Makefile 3 17 replace_gpl ./futex/Makefile 3 17 replace_gpl ./getxattr/Makefile 3 17 replace_gpl ./umount2/Makefile 4 17 replace_gpl ./sched_setattr/Makefile 3 17 replace_gpl ./renameat2/Makefile 3 18 replace_gpl ./gettid/Makefile 7 21 replace_gpl ./accept4/Makefile 3 17 replace_gpl ./sched_setaffinity/Makefile 3 16 replace_gpl ./epoll_pwait/Makefile 4 17 replace_gpl ./sched_getattr/Makefile 3 17 replace_gpl ./llistxattr/Makefile 4 17 replace_gpl ./perf_event_open/Makefile 4 16 replace_gpl ./setxattr/Makefile 3 17 replace_gpl Makefile 5 18
replace_gpl ./ipc/Makefile2.inc 6 19 replace_gpl ./ipc/Makefile.inc 5 18

---
 testcases/kernel/syscalls/Makefile            | 16 +---------------
 testcases/kernel/syscalls/accept4/Makefile    | 17 +----------------
 testcases/kernel/syscalls/cma/Makefile        | 17 +----------------
 .../kernel/syscalls/copy_file_range/Makefile  | 13 +------------
 .../kernel/syscalls/epoll2/examples/Makefile  |  7 +------
 testcases/kernel/syscalls/epoll_ctl/Makefile  | 17 +----------------
 .../kernel/syscalls/epoll_pwait/Makefile      | 16 +---------------
 testcases/kernel/syscalls/epoll_wait/Makefile | 16 +---------------
 testcases/kernel/syscalls/execl/Makefile      | 16 +---------------
 testcases/kernel/syscalls/execv/Makefile      | 16 +---------------
 testcases/kernel/syscalls/execveat/Makefile   | 17 +----------------
 testcases/kernel/syscalls/fadvise/Makefile    | 17 +----------------
 testcases/kernel/syscalls/fanotify/Makefile   | 17 +----------------
 testcases/kernel/syscalls/flistxattr/Makefile | 16 +---------------
 testcases/kernel/syscalls/futex/Makefile      | 17 +----------------
 .../kernel/syscalls/gethostbyname_r/Makefile  | 13 +------------
 testcases/kernel/syscalls/getrandom/Makefile  | 17 +----------------
 testcases/kernel/syscalls/gettid/Makefile     | 17 +----------------
 testcases/kernel/syscalls/getxattr/Makefile   | 17 +----------------
 testcases/kernel/syscalls/inotify/Makefile    | 17 +----------------
 testcases/kernel/syscalls/ipc/Makefile.inc    | 16 +---------------
 testcases/kernel/syscalls/ipc/Makefile2.inc   | 16 +---------------
 .../kernel/syscalls/ipc/libnewipc/Makefile    | 16 +---------------
 testcases/kernel/syscalls/ipc/msgget/Makefile | 16 +---------------
 testcases/kernel/syscalls/ipc/msgsnd/Makefile | 16 +---------------
 testcases/kernel/syscalls/kcmp/Makefile       | 18 +-----------------
 testcases/kernel/syscalls/listxattr/Makefile  | 16 +---------------
 testcases/kernel/syscalls/llistxattr/Makefile | 16 +---------------
 testcases/kernel/syscalls/mount/Makefile      | 16 +---------------
 testcases/kernel/syscalls/nftw/Makefile       | 16 +---------------
 .../kernel/syscalls/perf_event_open/Makefile  | 15 +--------------
 testcases/kernel/syscalls/preadv/Makefile     | 17 +----------------
 testcases/kernel/syscalls/readahead/Makefile  | 17 +----------------
 .../kernel/syscalls/removexattr/Makefile      | 16 +---------------
 testcases/kernel/syscalls/renameat2/Makefile  | 18 +-----------------
 .../kernel/syscalls/request_key/Makefile      | 19 +++----------------
 .../kernel/syscalls/sched_getattr/Makefile    | 17 +----------------
 .../syscalls/sched_setaffinity/Makefile       | 16 +---------------
 .../kernel/syscalls/sched_setattr/Makefile    | 17 +----------------
 testcases/kernel/syscalls/setns/Makefile      | 16 +---------------
 testcases/kernel/syscalls/setxattr/Makefile   | 17 +----------------
 testcases/kernel/syscalls/statx/Makefile      | 17 +----------------
 testcases/kernel/syscalls/switch/Makefile     | 17 +----------------
 testcases/kernel/syscalls/umount2/Makefile    | 16 +---------------
 44 files changed, 46 insertions(+), 667 deletions(-)
testcases/kernel/syscalls/Makefile +1 -15
index 45a00cf7d..c6dc8d9e7 100644
@@ -1,22 +1,8 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #    testcases/kernel/syscalls Makefile.
 #
 #    Copyright (C) 2009, Cisco Systems Inc.
 #
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License along
-#    with this program; if not, write to the Free Software Foundation, Inc.,
-#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Ngie Cooper, July 2009
 #
 
testcases/kernel/syscalls/accept4/Makefile +1 -16
index 504042e11..6d5002ab6 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) International Business Machines  Corp., 2008
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/cma/Makefile +1 -16
index 45a3bbc59..159d5651c 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (C) 2012 Linux Test Project, Inc.
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/copy_file_range/Makefile +1 -12
index 0143bdec8..a77363313 100644
@@ -1,16 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Linux Test Project, 2017
-#
-# This program is free software;  you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY;  without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-# the GNU General Public License for more details.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/epoll2/examples/Makefile +1 -6
index ade66341c..b59f65d09 100644
@@ -1,12 +1,7 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  epoll ( Efficent event polling implementation )
 #  Copyright (C) 2001,...,2002	 Davide Libenzi
 #
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
 #  Davide Libenzi <[email protected]>
 #
 #
testcases/kernel/syscalls/epoll_ctl/Makefile +1 -16
index 2666822e6..c7810c9fd 100644
@@ -1,21 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2016 Fujitsu Ltd.
 #  Author: Xiao Yang <[email protected]>
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/epoll_pwait/Makefile +1 -15
index 289aaaf44..0253b3ab6 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2016 Fujitsu Ltd.
 #  Author: Guangwen Feng <[email protected]>
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/epoll_wait/Makefile +1 -15
index f29b9a78b..068de0414 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2016 Fujitsu Ltd.
 #  Author: Guangwen Feng <[email protected]>
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/execl/Makefile +1 -15
index a0e5f0fc4..446466b1c 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Linux Test Project, 2018
 #  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software: you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation, either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/execv/Makefile +1 -15
index a0e5f0fc4..446466b1c 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Linux Test Project, 2018
 #  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software: you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation, either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/execveat/Makefile +1 -16
index 0bab6dc83..ea1252263 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (C) 2018 MediaTek Inc.  All Rights Reserved.
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fadvise/Makefile +1 -16
index 13aa315d7..50117a9fa 100644
@@ -1,24 +1,9 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Copied from ../open/Makefile by Masatake YAMATO
 #
 ###
 #
 #  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/fanotify/Makefile +1 -16
index 5d01b4825..3628094ba 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Jan Kara <[email protected]>, 2013
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 fanotify11: CFLAGS+=-pthread
testcases/kernel/syscalls/flistxattr/Makefile +1 -15
index b794ec01f..c2f84b159 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2016 RT-RK Institute for Computer Based Systems
 #  Author: Dejan Jovicevic <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/futex/Makefile +1 -16
index 1a0c0088a..8dd239301 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2015 Cyril Hrubis <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/gethostbyname_r/Makefile +1 -12
index 2a423d157..0f383f984 100644
@@ -1,16 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2015 Fujitsu Ltd.
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getrandom/Makefile +1 -16
index 96df4e406..53b787b78 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (C) 2015 Cedric Hnyda [email protected]
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/gettid/Makefile +1 -16
index d060ca83f..4e9982f76 100644
@@ -1,24 +1,9 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Copied from ../getpid/Makefile by Masatake YAMATO
 #
 ###
 #
 #  Copyright (c) International Business Machines  Corp., 2001
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/getxattr/Makefile +1 -16
index 3f78745ca..53b867f61 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Red Hat Inc., 2011
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/inotify/Makefile +1 -16
index ea746618d..16d430864 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) SWSoft, 2007
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/ipc/Makefile.inc +1 -15
index 839b4e4e7..c7e82bb18 100644
@@ -1,22 +1,8 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #    kernel/syscalls/ipc testcase suite common definitions Makefile.
 #
 #    Copyright (C) 2009, Cisco Systems Inc.
 #
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License along
-#    with this program; if not, write to the Free Software Foundation, Inc.,
-#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Ngie Cooper, July 2009
 #
 
testcases/kernel/syscalls/ipc/Makefile2.inc +1 -15
index 9d612450d..17917f5f8 100644
@@ -1,22 +1,8 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #    kernel/syscalls/ipc testcase suite common definitions Makefile.
 #
 #    Copyright (C) 2016, Cyril Hrubis
 #
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License along
-#    with this program; if not, write to the Free Software Foundation, Inc.,
-#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 
 LDLIBS			+= -lnewipc
 LIBDIR			:= ../libnewipc
testcases/kernel/syscalls/ipc/libnewipc/Makefile +1 -15
index efd8da76f..d150fb70f 100644
@@ -1,19 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (c) 2016 Xiao Yang <[email protected]>
-#
-# This program is free software;  you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY;  without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-# the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.
-#
 
 top_srcdir		?= ../../../../..
 
testcases/kernel/syscalls/ipc/msgget/Makefile +1 -15
index f11974c94..5e4c695dd 100644
@@ -1,19 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (c) International Business Machines  Corp., 2001
-#
-# This program is free software;  you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY;  without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-# the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.
-#
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/ipc/msgsnd/Makefile +1 -15
index 207fb1675..46f6f1085 100644
@@ -1,19 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (c) International Business Machines  Corp., 2001
-#
-# This program is free software;  you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY;  without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-# the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.
-#
 
 top_srcdir              ?= ../../../../..
 
testcases/kernel/syscalls/kcmp/Makefile +1 -17
index cb8a3dea3..a86863c0d 100644
@@ -1,21 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (C) 2015 Cedric Hnyda [email protected]
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
-
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/listxattr/Makefile +1 -15
index b794ec01f..c2f84b159 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2016 RT-RK Institute for Computer Based Systems
 #  Author: Dejan Jovicevic <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/llistxattr/Makefile +1 -15
index ed05a4826..c7810c9fd 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2016 Fujitsu Ltd.
 #  Author: Xiao Yang <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/mount/Makefile +1 -15
index 5caed987f..31cf89155 100644
@@ -1,21 +1,7 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
 #  Copyright (C) International Business Machines  Corp., 2007
 #
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 # HISTORY:
 #  6/8/07 [email protected]  Copied change made in RHEL Makefile for seg fault.
 #
testcases/kernel/syscalls/nftw/Makefile +1 -15
index 9cb5a81da..04e2c43cb 100644
@@ -1,22 +1,8 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #    testcases/kernel/syscalls Makefile.
 #
 #    Copyright (C) 2009, Cisco Systems Inc.
 #
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License along
-#    with this program; if not, write to the Free Software Foundation, Inc.,
-#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
 # Ngie Cooper, July 2009
 #
 
testcases/kernel/syscalls/perf_event_open/Makefile +1 -14
index 3c07fe47a..0facf540c 100644
@@ -1,19 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #    Copyright (C) 2009, Cisco Systems Inc.
 #
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License along
-#    with this program; if not, write to the Free Software Foundation, Inc.,
-#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 # Ngie Cooper, July 2009
 #
testcases/kernel/syscalls/preadv/Makefile +1 -16
index 764c956a8..0b209fe9d 100644
@@ -1,21 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2015 Fujitsu Ltd.
 #  Author: Xiao Yang <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/readahead/Makefile +1 -16
index 45a3bbc59..159d5651c 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (C) 2012 Linux Test Project, Inc.
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/removexattr/Makefile +1 -15
index ed05a4826..c7810c9fd 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2016 Fujitsu Ltd.
 #  Author: Xiao Yang <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/renameat2/Makefile +1 -17
index 083a071b4..ddaa3112c 100644
@@ -1,21 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (C) 2015 Cedric Hnyda [email protected]
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
-
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/request_key/Makefile +3 -16
index 9add429d4..58a99875e 100644
@@ -1,19 +1,6 @@
-#  Copyright (c) 2016 Fujitsu Ltd.
-#  Author: Xiao Yang <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) 2016 Fujitsu Ltd.
+# Author: Xiao Yang <[email protected]>
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/sched_getattr/Makefile +1 -16
index 0ad382e35..ea299ff4a 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) International Business Machines  Corp., 2008
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/sched_setaffinity/Makefile +1 -15
index 6055d11bf..cdb5c3afc 100644
@@ -1,19 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2014 Oracle and/or its affiliates. All Rights Reserved.
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/sched_setattr/Makefile +1 -16
index 30718a9ce..8fd2bd6f2 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Huawei Technologies Co., Ltd., 2015
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/setns/Makefile +1 -15
index f1b5129c2..9b051f64f 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (C) 2013 Linux Test Project, Inc.
 #
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/setxattr/Makefile +1 -16
index 72544c13e..5f941a758 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Red Hat Inc., 2011
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/statx/Makefile +1 -16
index 1be0bc80b..7e4770997 100644
@@ -1,21 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) Zilogic Systems Pvt. Ltd., 2018
 #  Email: [email protected]
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/switch/Makefile +1 -16
index 504042e11..6d5002ab6 100644
@@ -1,20 +1,5 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) International Business Machines  Corp., 2008
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program;  if not, write to the Free Software
-#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
 
 top_srcdir		?= ../../../..
 
testcases/kernel/syscalls/umount2/Makefile +1 -15
index bbf0541f3..ff3b0bdba 100644
@@ -1,20 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 #  Copyright (c) 2015 Fujitsu Ltd.
 #  Author: Guangwen Feng <[email protected]>
-#
-#  This program is free software;  you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
-#  the GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.
-#
 
 top_srcdir		?= ../../../..
 
Signature · 1 line
2.18.0