Skip to contentSkip to conversation

SPDX license identifier

PATCH New Petr Vorel 2 participants 7 messages Jun 14, 2019 – Jun 19, 2019 Library code

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

cover SPDX license identifier

Hi,

I can squash these commits. It was separated for easier review. Not replaced in old API as this is can wait done during test rewrite.

Kind regards,
Petr

Petr Vorel (3):
doc: Use SPDX license identifier
c: Replace GPL verbose text by SPDX license identifier
sh: Replace GPL verbose text by SPDX license identifier

 doc/c-test-tutorial-simple.txt                | 30 +-------
 doc/test-writing-guidelines.txt               | 27 +++----
 include/tst_taint.h                           | 14 +---
 include/tst_timer_test.h                      | 14 +---
 lib/newlib_tests/test01.c                     | 15 +---
 lib/newlib_tests/test02.c                     | 15 +---
 lib/newlib_tests/test03.c                     | 15 +---
 lib/newlib_tests/test04.c                     | 15 +---
 lib/newlib_tests/test05.c                     | 15 +---
 lib/newlib_tests/test06.c                     | 15 +---
 lib/newlib_tests/test07.c                     | 15 +---
 lib/newlib_tests/test08.c                     | 15 +---
 lib/newlib_tests/test09.c                     | 12 +---
 lib/newlib_tests/test10.c                     | 12 +---
 lib/newlib_tests/test11.c                     | 12 +---
 lib/newlib_tests/test12.c                     | 12 +---
 lib/newlib_tests/test13.c                     | 12 +---
 lib/newlib_tests/test14.c                     | 15 +---
 lib/newlib_tests/test15.c                     | 14 +---
 lib/newlib_tests/test16.c                     | 14 +---
 lib/newlib_tests/test17.c                     | 14 +---
 lib/newlib_tests/test18.c                     | 14 +---
 lib/newlib_tests/test19.c                     | 14 +---
 lib/newlib_tests/test_exec.c                  | 15 +---
 lib/newlib_tests/test_exec_child.c            | 15 +---
 lib/newlib_tests/tst_device.c                 | 14 +---
 lib/newlib_tests/tst_expiration_timer.c       | 15 +---
 lib/newlib_tests/tst_res_hexd.c               | 14 +---
 lib/newlib_tests/tst_safe_fileops.c           | 14 +---
 lib/newlib_tests/tst_strstatus.c              | 15 +---
 lib/safe_pthread.c                            | 14 +---
 lib/tst_crypto.c                              | 14 +---
 lib/tst_fill_fs.c                             | 14 +---
 lib/tst_safe_macros.c                         | 14 +---
 lib/tst_safe_sysv_ipc.c                       | 14 +---
 lib/tst_sig_proc.c                            | 11 +--
 lib/tst_status.c                              | 14 +---
 lib/tst_supported_fs_types.c                  | 14 +---
 lib/tst_test.c                                | 14 +---
 lib/tst_timer_test.c                          | 14 +---
 testcases/commands/ar/ar01                    | 24 ++-----
 testcases/commands/cp/cp_tests.sh             | 27 ++-----
 testcases/commands/cpio/cpio_tests.sh         | 24 +------
 testcases/commands/df/df01.sh                 | 13 +---
 testcases/commands/du/du01.sh                 | 17 +----
 testcases/commands/eject/eject-tests.sh       | 26 ++-----
 testcases/commands/file/file01.sh             | 25 ++-----
 testcases/commands/gdb/gdb01.sh               | 23 +-----
 testcases/commands/gzip/gzip_tests.sh         | 34 +++------
 testcases/commands/insmod/insmod01.sh         | 15 +---
 testcases/commands/keyctl/keyctl01.sh         | 16 +----
 testcases/commands/ld/ld01                    | 24 ++-----
 testcases/commands/ldd/ldd01                  | 30 ++------
 testcases/commands/ln/ln_tests.sh             | 27 ++-----
 testcases/commands/lsmod/lsmod01.sh           | 16 +----
 testcases/commands/mkdir/mkdir_tests.sh       | 25 ++-----
 testcases/commands/mkfs/mkfs01.sh             | 13 +---
 testcases/commands/mkswap/mkswap01.sh         | 13 +---
 testcases/commands/mv/mv_tests.sh             | 34 +++------
 testcases/commands/nm/nm01                    | 24 ++-----
 testcases/commands/sysctl/sysctl01.sh         | 16 +----
 testcases/commands/tar/tar_tests.sh           | 26 ++-----
 testcases/commands/unshare/unshare01.sh       | 13 +---
 testcases/commands/unzip/unzip01.sh           | 26 ++-----
 testcases/commands/wc/wc01.sh                 | 13 +---
 testcases/commands/which/which01.sh           | 13 +---
 testcases/cve/cve-2014-0196.c                 | 14 +---
 testcases/cve/cve-2015-3290.c                 | 23 +-----
 testcases/cve/cve-2016-10044.c                | 14 +---
 testcases/cve/cve-2016-7042.c                 | 14 +---
 testcases/cve/cve-2016-7117.c                 | 14 +---
 testcases/cve/cve-2017-16939.c                | 14 +---
 testcases/cve/cve-2017-17052.c                | 14 +---
 testcases/cve/cve-2017-17053.c                | 14 +---
 testcases/cve/cve-2017-2618.c                 | 14 +---
 testcases/cve/cve-2017-2671.c                 | 14 +---
 testcases/cve/meltdown.c                      | 16 +----
 testcases/cve/stack_clash.c                   | 16 +----
 .../kernel/controllers/cpuacct/cpuacct.sh     | 35 ++-------
 .../memcg/functional/memcg_process.c          | 26 ++-----
 .../memcg/regression/memcg_test_3.c           | 14 +---
 testcases/kernel/controllers/pids/pids.sh     | 29 ++------
 testcases/kernel/crypto/pcrypt_aead01.c       | 22 +-----
 testcases/kernel/fs/fs_fill/fs_fill.c         | 14 +---
 testcases/kernel/fs/read_all/read_all.c       | 14 +---
 testcases/kernel/lib/ksm_helper.c             | 14 +---
 testcases/kernel/logging/kmsg/kmsg01.c        | 21 +-----
 .../kernel/mem/hugetlb/hugemmap/hugemmap05.c  | 14 +---
 testcases/kernel/mem/hugetlb/lib/hugetlb.h    | 17 +----
 testcases/kernel/mem/ksm/ksm05.c              | 11 +--
 testcases/kernel/mem/ksm/ksm_common.h         | 11 +--
 .../kernel/mem/mmapstress/mmapstress04.c      | 14 +---
 testcases/kernel/mem/mtest06/mmap3.c          | 27 ++-----
 testcases/kernel/mem/mtest07/mallocstress.c   | 72 +++----------------
 testcases/kernel/mem/thp/thp01.c              | 11 +--
 testcases/kernel/mem/vma/vma05.sh             | 44 ++++--------
 testcases/kernel/numa/numa01.sh               | 53 +++++---------
 testcases/kernel/pty/pty02.c                  | 14 +---
 .../kernel/sched/autogroup/autogroup01.c      | 14 +---
 testcases/kernel/security/dirtyc0w/dirtyc0w.c | 14 +---
 .../kernel/security/dirtyc0w/dirtyc0w_child.c | 14 +---
 .../security/integrity/ima/src/ima_mmap.c     | 13 +---
 .../security/integrity/ima/tests/ima_setup.sh | 15 +---
 testcases/kernel/syscalls/access/access01.c   | 21 +-----
 testcases/kernel/syscalls/access/access02.c   | 20 +-----
 testcases/kernel/syscalls/access/access03.c   | 21 +-----
 testcases/kernel/syscalls/access/access04.c   | 18 +----
 testcases/kernel/syscalls/add_key/add_key01.c | 27 ++-----
 testcases/kernel/syscalls/add_key/add_key02.c | 24 ++-----
 testcases/kernel/syscalls/add_key/add_key03.c | 14 +---
 testcases/kernel/syscalls/add_key/add_key04.c | 14 +---
 testcases/kernel/syscalls/alarm/alarm05.c     | 19 +----
 testcases/kernel/syscalls/alarm/alarm06.c     | 30 ++------
 testcases/kernel/syscalls/brk/brk01.c         | 14 +---
 testcases/kernel/syscalls/chdir/chdir03.c     | 17 +----
 testcases/kernel/syscalls/chmod/chmod06.c     | 19 +----
 .../syscalls/clock_getres/clock_getres01.c    | 35 +++------
 .../clock_nanosleep/clock_nanosleep01.c       | 15 +---
 .../clock_nanosleep2/clock_nanosleep2_01.c    | 24 ++-----
 testcases/kernel/syscalls/clone/clone08.c     | 12 +---
 testcases/kernel/syscalls/clone/clone09.c     | 14 +---
 testcases/kernel/syscalls/creat/creat01.c     | 19 +----
 testcases/kernel/syscalls/creat/creat03.c     | 19 +----
 testcases/kernel/syscalls/creat/creat04.c     | 19 +----
 testcases/kernel/syscalls/creat/creat05.c     | 19 +----
 testcases/kernel/syscalls/creat/creat06.c     | 19 +----
 testcases/kernel/syscalls/creat/creat07.c     | 17 +----
 .../kernel/syscalls/creat/creat07_child.c     | 17 +----
 .../syscalls/epoll_create1/epoll_create1_01.c | 21 +-----
 .../kernel/syscalls/epoll_ctl/epoll_ctl01.c   | 12 +---
 .../kernel/syscalls/epoll_ctl/epoll_ctl02.c   | 12 +---
 .../kernel/syscalls/epoll_wait/epoll_wait01.c | 14 +---
 testcases/kernel/syscalls/execl/execl01.c     | 15 +---
 .../kernel/syscalls/execl/execl01_child.c     | 14 +---
 testcases/kernel/syscalls/execle/execle01.c   | 15 +---
 .../kernel/syscalls/execle/execle01_child.c   | 14 +---
 testcases/kernel/syscalls/execlp/execlp01.c   | 16 +----
 .../kernel/syscalls/execlp/execlp01_child.c   | 14 +---
 testcases/kernel/syscalls/execv/execv01.c     | 15 +---
 .../kernel/syscalls/execv/execv01_child.c     | 15 +---
 testcases/kernel/syscalls/execve/execve01.c   | 15 +---
 .../kernel/syscalls/execve/execve01_child.c   | 14 +---
 testcases/kernel/syscalls/execve/execve02.c   | 18 +----
 testcases/kernel/syscalls/execve/execve03.c   | 28 ++------
 testcases/kernel/syscalls/execve/execve04.c   | 18 +----
 testcases/kernel/syscalls/execve/execve05.c   | 18 +----
 .../kernel/syscalls/execve/execve_child.c     | 16 +----
 .../kernel/syscalls/execveat/execveat03.c     | 44 ++++--------
 .../kernel/syscalls/execveat/execveat_child.c | 21 +-----
 testcases/kernel/syscalls/execvp/execvp01.c   | 15 +---
 .../kernel/syscalls/execvp/execvp01_child.c   | 14 +---
 testcases/kernel/syscalls/exit/exit02.c       | 19 +----
 .../kernel/syscalls/fallocate/fallocate04.c   | 18 +----
 .../kernel/syscalls/fallocate/fallocate05.c   | 14 +---
 testcases/kernel/syscalls/fchdir/fchdir03.c   | 17 +----
 testcases/kernel/syscalls/fchmod/fchmod06.c   | 17 +----
 testcases/kernel/syscalls/fcntl/fcntl02.c     | 30 +-------
 testcases/kernel/syscalls/fcntl/fcntl03.c     | 30 +-------
 testcases/kernel/syscalls/fcntl/fcntl04.c     | 30 +-------
 testcases/kernel/syscalls/fcntl/fcntl34.c     | 16 +----
 testcases/kernel/syscalls/fcntl/fcntl35.c     | 14 +---
 testcases/kernel/syscalls/fcntl/fcntl36.c     | 33 +++------
 .../kernel/syscalls/flistxattr/flistxattr01.c | 14 +---
 .../kernel/syscalls/flistxattr/flistxattr02.c | 12 +---
 .../kernel/syscalls/flistxattr/flistxattr03.c | 14 +---
 testcases/kernel/syscalls/fsync/fsync01.c     | 30 +-------
 testcases/kernel/syscalls/getcwd/getcwd01.c   | 16 +----
 testcases/kernel/syscalls/getcwd/getcwd02.c   | 16 +----
 testcases/kernel/syscalls/getcwd/getcwd03.c   | 16 +----
 testcases/kernel/syscalls/getcwd/getcwd04.c   | 11 +--
 .../syscalls/getpriority/getpriority01.c      | 18 +----
 .../syscalls/getpriority/getpriority02.c      | 18 +----
 .../kernel/syscalls/getrandom/getrandom01.c   | 27 +------
 .../kernel/syscalls/getrandom/getrandom02.c   | 29 ++------
 .../kernel/syscalls/getrandom/getrandom03.c   | 32 ++-------
 .../kernel/syscalls/getrandom/getrandom04.c   | 32 ++-------
 .../kernel/syscalls/getsockopt/getsockopt02.c | 14 +---
 .../syscalls/gettimeofday/gettimeofday02.c    | 15 +---
 .../kernel/syscalls/getxattr/getxattr04.c     | 14 +---
 testcases/kernel/syscalls/inotify/inotify01.c | 23 +-----
 testcases/kernel/syscalls/inotify/inotify02.c | 23 +-----
 testcases/kernel/syscalls/inotify/inotify03.c | 25 +------
 testcases/kernel/syscalls/inotify/inotify04.c | 28 +-------
 testcases/kernel/syscalls/inotify/inotify05.c | 19 +----
 testcases/kernel/syscalls/inotify/inotify06.c | 19 +----
 testcases/kernel/syscalls/inotify/inotify07.c | 23 +-----
 testcases/kernel/syscalls/inotify/inotify08.c | 24 +------
 testcases/kernel/syscalls/inotify/inotify09.c | 17 +----
 .../kernel/syscalls/io_destroy/io_destroy01.c | 15 +---
 .../kernel/syscalls/io_setup/io_setup01.c     | 15 +---
 .../kernel/syscalls/io_submit/io_submit01.c   | 15 +---
 testcases/kernel/syscalls/ioctl/ioctl03.c     | 34 ++-------
 testcases/kernel/syscalls/ioctl/ioctl04.c     | 14 +---
 testcases/kernel/syscalls/ioctl/ioctl05.c     | 14 +---
 testcases/kernel/syscalls/ioctl/ioctl06.c     | 14 +---
 testcases/kernel/syscalls/ioctl/ioctl07.c     | 14 +---
 .../kernel/syscalls/ipc/libnewipc/libnewipc.c | 14 +---
 .../kernel/syscalls/ipc/msgctl/msgctl01.c     | 17 +----
 .../kernel/syscalls/ipc/msgctl/msgctl02.c     | 17 +----
 .../kernel/syscalls/ipc/msgctl/msgctl03.c     | 12 +---
 .../kernel/syscalls/ipc/msgctl/msgctl04.c     | 17 +----
 .../kernel/syscalls/ipc/msgctl/msgctl12.c     | 12 +---
 .../kernel/syscalls/ipc/msgget/msgget01.c     | 16 +----
 .../kernel/syscalls/ipc/msgget/msgget02.c     | 16 +----
 .../kernel/syscalls/ipc/msgget/msgget03.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd01.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd02.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd05.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd06.c     | 16 +----
 testcases/kernel/syscalls/ipc/shmat/shmat01.c | 17 +----
 testcases/kernel/syscalls/ipc/shmat/shmat02.c | 16 +----
 testcases/kernel/syscalls/ipc/shmat/shmat03.c | 14 +---
 .../kernel/syscalls/ipc/shmctl/shmctl05.c     | 14 +---
 testcases/kernel/syscalls/kcmp/kcmp01.c       | 15 +---
 testcases/kernel/syscalls/kcmp/kcmp02.c       | 15 +---
 testcases/kernel/syscalls/kcmp/kcmp03.c       | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl01.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl02.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl03.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl04.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl05.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl06.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl07.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl08.c   | 14 +---
 .../kernel/syscalls/lgetxattr/lgetxattr01.c   | 12 +---
 .../kernel/syscalls/lgetxattr/lgetxattr02.c   | 13 +---
 testcases/kernel/syscalls/link/link08.c       | 15 +---
 .../kernel/syscalls/listxattr/listxattr01.c   | 14 +---
 .../kernel/syscalls/listxattr/listxattr02.c   | 14 +---
 .../kernel/syscalls/listxattr/listxattr03.c   | 14 +---
 .../kernel/syscalls/llistxattr/llistxattr01.c | 12 +---
 .../kernel/syscalls/llistxattr/llistxattr02.c | 12 +---
 .../kernel/syscalls/llistxattr/llistxattr03.c | 12 +---
 testcases/kernel/syscalls/lseek/lseek01.c     | 16 +----
 testcases/kernel/syscalls/lseek/lseek02.c     | 19 +----
 testcases/kernel/syscalls/lseek/lseek07.c     | 16 +----
 testcases/kernel/syscalls/lseek/lseek11.c     | 47 +++++-------
 testcases/kernel/syscalls/madvise/madvise01.c | 13 +---
 testcases/kernel/syscalls/madvise/madvise02.c | 13 +---
 testcases/kernel/syscalls/madvise/madvise05.c | 11 +--
 testcases/kernel/syscalls/madvise/madvise06.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise07.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise08.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise09.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise10.c | 11 +--
 testcases/kernel/syscalls/mbind/mbind01.c     | 14 +---
 .../syscalls/memfd_create/memfd_create01.c    | 12 +---
 .../syscalls/memfd_create/memfd_create02.c    | 12 +---
 .../syscalls/memfd_create/memfd_create03.c    | 11 +--
 .../syscalls/memfd_create/memfd_create04.c    | 11 +--
 .../memfd_create/memfd_create_common.c        | 12 +---
 .../syscalls/migrate_pages/migrate_pages02.c  | 21 +-----
 .../syscalls/migrate_pages/migrate_pages03.c  | 14 +---
 testcases/kernel/syscalls/mkdir/mkdir02.c     | 16 +----
 testcases/kernel/syscalls/mkdir/mkdir03.c     | 19 +----
 testcases/kernel/syscalls/mkdir/mkdir04.c     | 16 +----
 testcases/kernel/syscalls/mkdir/mkdir05.c     | 18 +----
 testcases/kernel/syscalls/mkdirat/mkdirat02.c | 13 +---
 testcases/kernel/syscalls/mmap/mmap12.c       | 15 +---
 .../kernel/syscalls/mq_notify/mq_notify01.c   | 14 +---
 testcases/kernel/syscalls/mq_open/mq_open01.c | 15 +---
 .../kernel/syscalls/mq_unlink/mq_unlink01.c   | 15 +---
 testcases/kernel/syscalls/msync/msync04.c     | 14 +---
 testcases/kernel/syscalls/nice/nice01.c       | 19 +----
 testcases/kernel/syscalls/nice/nice02.c       | 19 +----
 testcases/kernel/syscalls/nice/nice03.c       | 19 +----
 testcases/kernel/syscalls/nice/nice04.c       | 19 +----
 testcases/kernel/syscalls/open/open01.c       | 19 +----
 testcases/kernel/syscalls/open/open02.c       | 19 +----
 testcases/kernel/syscalls/open/open08.c       | 15 +---
 testcases/kernel/syscalls/pause/pause01.c     | 13 +---
 testcases/kernel/syscalls/pipe/pipe01.c       | 14 +---
 testcases/kernel/syscalls/pipe/pipe02.c       | 16 +----
 testcases/kernel/syscalls/pipe/pipe03.c       | 16 +----
 testcases/kernel/syscalls/pipe/pipe11.c       | 19 +----
 testcases/kernel/syscalls/poll/poll01.c       | 19 +----
 testcases/kernel/syscalls/ppoll/ppoll01.c     | 11 +--
 testcases/kernel/syscalls/preadv/preadv01.c   | 12 +---
 testcases/kernel/syscalls/preadv/preadv02.c   | 12 +---
 testcases/kernel/syscalls/preadv/preadv03.c   | 14 +---
 testcases/kernel/syscalls/pselect/pselect03.c | 14 +---
 testcases/kernel/syscalls/ptrace/ptrace07.c   | 14 +---
 testcases/kernel/syscalls/pwrite/pwrite02.c   | 17 +----
 testcases/kernel/syscalls/pwrite/pwrite03.c   | 14 +---
 testcases/kernel/syscalls/pwritev/pwritev01.c | 12 +---
 testcases/kernel/syscalls/pwritev/pwritev02.c | 12 +---
 testcases/kernel/syscalls/pwritev/pwritev03.c | 14 +---
 .../kernel/syscalls/quotactl/quotactl01.c     | 18 +----
 .../kernel/syscalls/quotactl/quotactl02.c     | 13 +---
 .../kernel/syscalls/quotactl/quotactl03.c     | 14 +---
 testcases/kernel/syscalls/read/read01.c       | 29 +-------
 testcases/kernel/syscalls/read/read02.c       | 19 +----
 .../kernel/syscalls/readlink/readlink01.c     | 15 +---
 .../kernel/syscalls/readlink/readlink03.c     | 15 +---
 testcases/kernel/syscalls/recvmsg/recvmsg02.c | 14 +---
 testcases/kernel/syscalls/recvmsg/recvmsg03.c | 12 +---
 .../syscalls/request_key/request_key01.c      | 12 +---
 .../syscalls/request_key/request_key02.c      | 14 +---
 .../syscalls/request_key/request_key03.c      | 14 +---
 .../syscalls/request_key/request_key04.c      | 14 +---
 .../syscalls/request_key/request_key05.c      | 14 +---
 testcases/kernel/syscalls/rmdir/rmdir01.c     | 16 +----
 testcases/kernel/syscalls/rmdir/rmdir02.c     | 18 +----
 testcases/kernel/syscalls/rmdir/rmdir03.c     | 16 +----
 .../syscalls/rt_sigsuspend/rt_sigsuspend01.c  | 12 ++--
 testcases/kernel/syscalls/sbrk/sbrk03.c       | 14 +---
 .../sched_setscheduler/sched_setscheduler03.c | 14 +---
 testcases/kernel/syscalls/sendto/sendto02.c   | 12 +---
 .../syscalls/setpriority/setpriority01.c      | 16 +----
 .../syscalls/setpriority/setpriority02.c      | 16 +----
 .../kernel/syscalls/setrlimit/setrlimit02.c   | 19 +----
 .../kernel/syscalls/setrlimit/setrlimit03.c   | 17 +----
 .../kernel/syscalls/setrlimit/setrlimit04.c   | 30 +++-----
 .../kernel/syscalls/setrlimit/setrlimit05.c   | 11 +--
 .../kernel/syscalls/setsockopt/setsockopt02.c | 14 +---
 .../kernel/syscalls/setsockopt/setsockopt03.c | 14 +---
 testcases/kernel/syscalls/setuid/setuid01.c   | 16 +----
 testcases/kernel/syscalls/setuid/setuid03.c   | 16 +----
 testcases/kernel/syscalls/setuid/setuid04.c   | 16 +----
 .../kernel/syscalls/setxattr/setxattr01.c     | 21 +-----
 .../kernel/syscalls/setxattr/setxattr02.c     | 21 +-----
 testcases/kernel/syscalls/socket/socket01.c   | 16 +----
 testcases/kernel/syscalls/socket/socket02.c   | 16 +----
 .../kernel/syscalls/socketcall/socketcall01.c | 14 +---
 .../kernel/syscalls/socketpair/socketpair01.c | 16 +----
 .../kernel/syscalls/socketpair/socketpair02.c | 16 +----
 testcases/kernel/syscalls/splice/splice01.c   | 17 +----
 testcases/kernel/syscalls/splice/splice02.c   | 29 ++------
 testcases/kernel/syscalls/splice/splice03.c   | 13 +---
 testcases/kernel/syscalls/splice/splice04.c   | 21 +-----
 testcases/kernel/syscalls/splice/splice05.c   | 15 +---
 .../kernel/syscalls/switch/endian_switch01.c  | 14 +---
 testcases/kernel/syscalls/syscall/syscall01.c | 17 +----
 testcases/kernel/syscalls/sysctl/sysctl03.c   | 13 +---
 testcases/kernel/syscalls/sysctl/sysctl04.c   | 13 +---
 testcases/kernel/syscalls/tee/tee01.c         | 29 ++------
 testcases/kernel/syscalls/tee/tee02.c         | 13 +---
 testcases/kernel/syscalls/times/times03.c     | 17 +----
 testcases/kernel/syscalls/umask/umask01.c     | 17 +----
 testcases/kernel/syscalls/umount/umount01.c   | 23 ++----
 testcases/kernel/syscalls/umount/umount02.c   | 34 +++------
 testcases/kernel/syscalls/umount/umount03.c   | 21 ++----
 testcases/kernel/syscalls/uname/uname04.c     | 14 +---
 testcases/kernel/syscalls/unlink/unlink05.c   | 14 +---
 testcases/kernel/syscalls/unlink/unlink07.c   | 14 +---
 testcases/kernel/syscalls/unlink/unlink08.c   | 14 +---
 testcases/kernel/syscalls/utils/mq.h          | 14 +---
 testcases/kernel/syscalls/utimes/utimes01.c   | 15 +---
 .../kernel/syscalls/vmsplice/vmsplice01.c     | 29 ++------
 .../kernel/syscalls/vmsplice/vmsplice02.c     | 13 +---
 testcases/kernel/syscalls/wait4/wait401.c     | 17 +----
 testcases/kernel/syscalls/waitpid/waitpid01.c | 17 +----
 testcases/kernel/syscalls/waitpid/waitpid09.c | 21 +-----
 .../kernel/syscalls/waitpid/waitpid_common.h  | 15 +---
 testcases/kernel/syscalls/write/write01.c     | 20 +-----
 testcases/kernel/syscalls/write/write02.c     | 14 +---
 testcases/kernel/syscalls/write/write03.c     | 17 +----
 testcases/kernel/syscalls/write/write04.c     | 17 +----
 testcases/kernel/syscalls/write/write05.c     | 17 +----
 testcases/kernel/syscalls/writev/writev01.c   | 16 +----
 testcases/kernel/syscalls/writev/writev07.c   | 11 +--
 .../tracing/dynamic_debug/dynamic_debug01.sh  | 31 ++------
 testcases/lib/tst_checkpoint.c                | 15 +---
 testcases/lib/tst_device.c                    | 15 +---
 testcases/lib/tst_kvcmp.c                     | 15 +---
 testcases/lib/tst_net_iface_prefix.c          | 14 +---
 testcases/lib/tst_net_ip_prefix.c             | 14 +---
 testcases/lib/tst_net_vars.c                  | 14 +---
 testcases/lib/tst_test.sh                     | 22 +-----
 testcases/network/lib6/in6_01.c               | 21 +-----
 testcases/network/lib6/in6_02.c               | 18 +----
 testcases/network/netstress/netstress.c       | 16 +----
 .../network/nfs/nfs_stress/nfs05_make_tree.c  | 18 +----
 373 files changed, 754 insertions(+), 5731 deletions(-)
Signature · 1 line
2.21.0
author
#1 lore raw

PATCH 1/3 doc: Use SPDX license identifier

---
 doc/c-test-tutorial-simple.txt  | 30 +++---------------------------
 doc/test-writing-guidelines.txt | 27 ++++++++++-----------------
 2 files changed, 13 insertions(+), 44 deletions(-)
doc/c-test-tutorial-simple.txt +3 -27
index 48f3ed516..34b214252 100644
@@ -111,21 +111,9 @@ kernel version if necessary. I will explain what the code does below.
 
 [source,c]
 ------------------------------------------------------------------------------
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Instruction Ignorer <"can't"@be.bothered.com>
- *
- * 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/>.
  */
 
 /*
@@ -190,20 +178,8 @@ following contents.
 
 [source,make]
 ------------------------------------------------------------------------------
-# Copyright (c) 2017 Linux Test Project
-#
-# 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 would 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/>.
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) 2019 Linux Test Project
 
 top_srcdir		?= ../../../..
 
doc/test-writing-guidelines.txt +10 -17
index f1912dc12..74cde4c58 100644
@@ -153,7 +153,7 @@ separate patch.
 ~~~~~~~~~~~
 
 Code contributed to LTP should be licensed under GPLv2+ (GNU GPL version 2 or
-any later version).
+any later version). Use `SPDX-License-Identifier: GPL-2.0-or-later`.
 
 2. Writing a testcase
 ---------------------
@@ -1686,9 +1686,8 @@ WARNING: All identifiers starting with TST_ or tst_ are reserved for the
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # This is a basic test for true shell buildin
-#
 
 TST_TESTFUNC=do_test
 . tst_test.sh
@@ -1734,9 +1733,8 @@ starts the test.
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Example test with tests in separate functions
-#
 
 TST_TESTFUNC=test
 TST_CNT=2
@@ -1765,9 +1763,8 @@ found they are executed one by one. The test number is passed to it in the '$1'.
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Example test with tests in a single function
-#
 
 TST_TESTFUNC=do_test
 TST_CNT=2
@@ -1794,10 +1791,9 @@ to it in the '$1'.
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Example test with tests in a single function, using $TST_TEST_DATA and
 # $TST_TEST_DATA_IFS
-#
 
 TST_TESTFUNC=do_test
 TST_TEST_DATA="foo:bar:d dd"
@@ -1822,9 +1818,8 @@ It's possible to pass data for function with '$TST_TEST_DATA'. Optional
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Example test with tests in a single function, using $TST_TEST_DATA and $TST_CNT
-#
 
 TST_TESTFUNC=do_test
 TST_CNT=2
@@ -1924,9 +1919,8 @@ variable, if module wasn't found the test will exit with 'TCONF'.
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Optional test command line parameters
-#
 
 TST_OPTS="af:"
 TST_USAGE=usage
@@ -1978,9 +1972,8 @@ and, if option has argument, its value in the '$2'.
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Optional test positional parameters
-#
 
 TST_POS_ARGS=3
 TST_USAGE=usage
@@ -2294,9 +2287,9 @@ correct daemon name.
 [source,sh]
 -------------------------------------------------------------------------------
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0-or-later
 # Cron daemon restart example
-#
+
 TCID=cron01
 TST_COUNT=1
 . test.sh
Signature · 1 line
2.21.0
author
#2 lore raw

PATCH 2/3 c: Replace GPL verbose text by SPDX license identifier

In reply to Petr Vorel

in tests which use new C API.

Replaced by script, a few scripts manually fixed. Remove unused comments (e.g. "testing foo syscall" in foo01.c). Respect previous v2 only GPL version in inotify04.c.

---
 include/tst_taint.h                           | 14 +---
 include/tst_timer_test.h                      | 14 +---
 lib/newlib_tests/test01.c                     | 15 +---
 lib/newlib_tests/test02.c                     | 15 +---
 lib/newlib_tests/test03.c                     | 15 +---
 lib/newlib_tests/test04.c                     | 15 +---
 lib/newlib_tests/test05.c                     | 15 +---
 lib/newlib_tests/test06.c                     | 15 +---
 lib/newlib_tests/test07.c                     | 15 +---
 lib/newlib_tests/test08.c                     | 15 +---
 lib/newlib_tests/test09.c                     | 12 +---
 lib/newlib_tests/test10.c                     | 12 +---
 lib/newlib_tests/test11.c                     | 12 +---
 lib/newlib_tests/test12.c                     | 12 +---
 lib/newlib_tests/test13.c                     | 12 +---
 lib/newlib_tests/test14.c                     | 15 +---
 lib/newlib_tests/test15.c                     | 14 +---
 lib/newlib_tests/test16.c                     | 14 +---
 lib/newlib_tests/test17.c                     | 14 +---
 lib/newlib_tests/test18.c                     | 14 +---
 lib/newlib_tests/test19.c                     | 14 +---
 lib/newlib_tests/test_exec.c                  | 15 +---
 lib/newlib_tests/test_exec_child.c            | 15 +---
 lib/newlib_tests/tst_device.c                 | 14 +---
 lib/newlib_tests/tst_expiration_timer.c       | 15 +---
 lib/newlib_tests/tst_res_hexd.c               | 14 +---
 lib/newlib_tests/tst_safe_fileops.c           | 14 +---
 lib/newlib_tests/tst_strstatus.c              | 15 +---
 lib/safe_pthread.c                            | 14 +---
 lib/tst_crypto.c                              | 14 +---
 lib/tst_fill_fs.c                             | 14 +---
 lib/tst_safe_macros.c                         | 14 +---
 lib/tst_safe_sysv_ipc.c                       | 14 +---
 lib/tst_sig_proc.c                            | 11 +--
 lib/tst_status.c                              | 14 +---
 lib/tst_supported_fs_types.c                  | 14 +---
 lib/tst_test.c                                | 14 +---
 lib/tst_timer_test.c                          | 14 +---
 testcases/cve/cve-2014-0196.c                 | 14 +---
 testcases/cve/cve-2015-3290.c                 | 23 +-----
 testcases/cve/cve-2016-10044.c                | 14 +---
 testcases/cve/cve-2016-7042.c                 | 14 +---
 testcases/cve/cve-2016-7117.c                 | 14 +---
 testcases/cve/cve-2017-16939.c                | 14 +---
 testcases/cve/cve-2017-17052.c                | 14 +---
 testcases/cve/cve-2017-17053.c                | 14 +---
 testcases/cve/cve-2017-2618.c                 | 14 +---
 testcases/cve/cve-2017-2671.c                 | 14 +---
 testcases/cve/meltdown.c                      | 16 +----
 testcases/cve/stack_clash.c                   | 16 +----
 .../memcg/functional/memcg_process.c          | 26 ++-----
 .../memcg/regression/memcg_test_3.c           | 14 +---
 testcases/kernel/crypto/pcrypt_aead01.c       | 22 +-----
 testcases/kernel/fs/fs_fill/fs_fill.c         | 14 +---
 testcases/kernel/fs/read_all/read_all.c       | 14 +---
 testcases/kernel/lib/ksm_helper.c             | 14 +---
 testcases/kernel/logging/kmsg/kmsg01.c        | 21 +-----
 .../kernel/mem/hugetlb/hugemmap/hugemmap05.c  | 14 +---
 testcases/kernel/mem/hugetlb/lib/hugetlb.h    | 17 +----
 testcases/kernel/mem/ksm/ksm05.c              | 11 +--
 testcases/kernel/mem/ksm/ksm_common.h         | 11 +--
 .../kernel/mem/mmapstress/mmapstress04.c      | 14 +---
 testcases/kernel/mem/mtest06/mmap3.c          | 27 ++-----
 testcases/kernel/mem/mtest07/mallocstress.c   | 72 +++----------------
 testcases/kernel/mem/thp/thp01.c              | 11 +--
 testcases/kernel/pty/pty02.c                  | 14 +---
 .../kernel/sched/autogroup/autogroup01.c      | 14 +---
 testcases/kernel/security/dirtyc0w/dirtyc0w.c | 14 +---
 .../kernel/security/dirtyc0w/dirtyc0w_child.c | 14 +---
 .../security/integrity/ima/src/ima_mmap.c     | 13 +---
 testcases/kernel/syscalls/access/access01.c   | 21 +-----
 testcases/kernel/syscalls/access/access02.c   | 20 +-----
 testcases/kernel/syscalls/access/access03.c   | 21 +-----
 testcases/kernel/syscalls/access/access04.c   | 18 +----
 testcases/kernel/syscalls/add_key/add_key01.c | 27 ++-----
 testcases/kernel/syscalls/add_key/add_key02.c | 24 ++-----
 testcases/kernel/syscalls/add_key/add_key03.c | 14 +---
 testcases/kernel/syscalls/add_key/add_key04.c | 14 +---
 testcases/kernel/syscalls/alarm/alarm05.c     | 19 +----
 testcases/kernel/syscalls/alarm/alarm06.c     | 30 ++------
 testcases/kernel/syscalls/brk/brk01.c         | 14 +---
 testcases/kernel/syscalls/chdir/chdir03.c     | 17 +----
 testcases/kernel/syscalls/chmod/chmod06.c     | 19 +----
 .../syscalls/clock_getres/clock_getres01.c    | 35 +++------
 .../clock_nanosleep/clock_nanosleep01.c       | 15 +---
 .../clock_nanosleep2/clock_nanosleep2_01.c    | 24 ++-----
 testcases/kernel/syscalls/clone/clone08.c     | 12 +---
 testcases/kernel/syscalls/clone/clone09.c     | 14 +---
 testcases/kernel/syscalls/creat/creat01.c     | 19 +----
 testcases/kernel/syscalls/creat/creat03.c     | 19 +----
 testcases/kernel/syscalls/creat/creat04.c     | 19 +----
 testcases/kernel/syscalls/creat/creat05.c     | 19 +----
 testcases/kernel/syscalls/creat/creat06.c     | 19 +----
 testcases/kernel/syscalls/creat/creat07.c     | 17 +----
 .../kernel/syscalls/creat/creat07_child.c     | 17 +----
 .../syscalls/epoll_create1/epoll_create1_01.c | 21 +-----
 .../kernel/syscalls/epoll_ctl/epoll_ctl01.c   | 12 +---
 .../kernel/syscalls/epoll_ctl/epoll_ctl02.c   | 12 +---
 .../kernel/syscalls/epoll_wait/epoll_wait01.c | 14 +---
 testcases/kernel/syscalls/execl/execl01.c     | 15 +---
 .../kernel/syscalls/execl/execl01_child.c     | 14 +---
 testcases/kernel/syscalls/execle/execle01.c   | 15 +---
 .../kernel/syscalls/execle/execle01_child.c   | 14 +---
 testcases/kernel/syscalls/execlp/execlp01.c   | 16 +----
 .../kernel/syscalls/execlp/execlp01_child.c   | 14 +---
 testcases/kernel/syscalls/execv/execv01.c     | 15 +---
 .../kernel/syscalls/execv/execv01_child.c     | 15 +---
 testcases/kernel/syscalls/execve/execve01.c   | 15 +---
 .../kernel/syscalls/execve/execve01_child.c   | 14 +---
 testcases/kernel/syscalls/execve/execve02.c   | 18 +----
 testcases/kernel/syscalls/execve/execve03.c   | 28 ++------
 testcases/kernel/syscalls/execve/execve04.c   | 18 +----
 testcases/kernel/syscalls/execve/execve05.c   | 18 +----
 .../kernel/syscalls/execve/execve_child.c     | 16 +----
 .../kernel/syscalls/execveat/execveat03.c     | 44 ++++--------
 .../kernel/syscalls/execveat/execveat_child.c | 21 +-----
 testcases/kernel/syscalls/execvp/execvp01.c   | 15 +---
 .../kernel/syscalls/execvp/execvp01_child.c   | 14 +---
 testcases/kernel/syscalls/exit/exit02.c       | 19 +----
 .../kernel/syscalls/fallocate/fallocate04.c   | 18 +----
 .../kernel/syscalls/fallocate/fallocate05.c   | 14 +---
 testcases/kernel/syscalls/fchdir/fchdir03.c   | 17 +----
 testcases/kernel/syscalls/fchmod/fchmod06.c   | 17 +----
 testcases/kernel/syscalls/fcntl/fcntl02.c     | 30 +-------
 testcases/kernel/syscalls/fcntl/fcntl03.c     | 30 +-------
 testcases/kernel/syscalls/fcntl/fcntl04.c     | 30 +-------
 testcases/kernel/syscalls/fcntl/fcntl34.c     | 16 +----
 testcases/kernel/syscalls/fcntl/fcntl35.c     | 14 +---
 testcases/kernel/syscalls/fcntl/fcntl36.c     | 33 +++------
 .../kernel/syscalls/flistxattr/flistxattr01.c | 14 +---
 .../kernel/syscalls/flistxattr/flistxattr02.c | 12 +---
 .../kernel/syscalls/flistxattr/flistxattr03.c | 14 +---
 testcases/kernel/syscalls/fsync/fsync01.c     | 30 +-------
 testcases/kernel/syscalls/getcwd/getcwd01.c   | 16 +----
 testcases/kernel/syscalls/getcwd/getcwd02.c   | 16 +----
 testcases/kernel/syscalls/getcwd/getcwd03.c   | 16 +----
 testcases/kernel/syscalls/getcwd/getcwd04.c   | 11 +--
 .../syscalls/getpriority/getpriority01.c      | 18 +----
 .../syscalls/getpriority/getpriority02.c      | 18 +----
 .../kernel/syscalls/getrandom/getrandom01.c   | 27 +------
 .../kernel/syscalls/getrandom/getrandom02.c   | 29 ++------
 .../kernel/syscalls/getrandom/getrandom03.c   | 32 ++-------
 .../kernel/syscalls/getrandom/getrandom04.c   | 32 ++-------
 .../kernel/syscalls/getsockopt/getsockopt02.c | 14 +---
 .../syscalls/gettimeofday/gettimeofday02.c    | 15 +---
 .../kernel/syscalls/getxattr/getxattr04.c     | 14 +---
 testcases/kernel/syscalls/inotify/inotify01.c | 23 +-----
 testcases/kernel/syscalls/inotify/inotify02.c | 23 +-----
 testcases/kernel/syscalls/inotify/inotify03.c | 25 +------
 testcases/kernel/syscalls/inotify/inotify04.c | 28 +-------
 testcases/kernel/syscalls/inotify/inotify05.c | 19 +----
 testcases/kernel/syscalls/inotify/inotify06.c | 19 +----
 testcases/kernel/syscalls/inotify/inotify07.c | 23 +-----
 testcases/kernel/syscalls/inotify/inotify08.c | 24 +------
 testcases/kernel/syscalls/inotify/inotify09.c | 17 +----
 .../kernel/syscalls/io_destroy/io_destroy01.c | 15 +---
 .../kernel/syscalls/io_setup/io_setup01.c     | 15 +---
 .../kernel/syscalls/io_submit/io_submit01.c   | 15 +---
 testcases/kernel/syscalls/ioctl/ioctl03.c     | 34 ++-------
 testcases/kernel/syscalls/ioctl/ioctl04.c     | 14 +---
 testcases/kernel/syscalls/ioctl/ioctl05.c     | 14 +---
 testcases/kernel/syscalls/ioctl/ioctl06.c     | 14 +---
 testcases/kernel/syscalls/ioctl/ioctl07.c     | 14 +---
 .../kernel/syscalls/ipc/libnewipc/libnewipc.c | 14 +---
 .../kernel/syscalls/ipc/msgctl/msgctl01.c     | 17 +----
 .../kernel/syscalls/ipc/msgctl/msgctl02.c     | 17 +----
 .../kernel/syscalls/ipc/msgctl/msgctl03.c     | 12 +---
 .../kernel/syscalls/ipc/msgctl/msgctl04.c     | 17 +----
 .../kernel/syscalls/ipc/msgctl/msgctl12.c     | 12 +---
 .../kernel/syscalls/ipc/msgget/msgget01.c     | 16 +----
 .../kernel/syscalls/ipc/msgget/msgget02.c     | 16 +----
 .../kernel/syscalls/ipc/msgget/msgget03.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd01.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd02.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd05.c     | 16 +----
 .../kernel/syscalls/ipc/msgsnd/msgsnd06.c     | 16 +----
 testcases/kernel/syscalls/ipc/shmat/shmat01.c | 17 +----
 testcases/kernel/syscalls/ipc/shmat/shmat02.c | 16 +----
 testcases/kernel/syscalls/ipc/shmat/shmat03.c | 14 +---
 .../kernel/syscalls/ipc/shmctl/shmctl05.c     | 14 +---
 testcases/kernel/syscalls/kcmp/kcmp01.c       | 15 +---
 testcases/kernel/syscalls/kcmp/kcmp02.c       | 15 +---
 testcases/kernel/syscalls/kcmp/kcmp03.c       | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl01.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl02.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl03.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl04.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl05.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl06.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl07.c   | 14 +---
 testcases/kernel/syscalls/keyctl/keyctl08.c   | 14 +---
 .../kernel/syscalls/lgetxattr/lgetxattr01.c   | 12 +---
 .../kernel/syscalls/lgetxattr/lgetxattr02.c   | 13 +---
 testcases/kernel/syscalls/link/link08.c       | 15 +---
 .../kernel/syscalls/listxattr/listxattr01.c   | 14 +---
 .../kernel/syscalls/listxattr/listxattr02.c   | 14 +---
 .../kernel/syscalls/listxattr/listxattr03.c   | 14 +---
 .../kernel/syscalls/llistxattr/llistxattr01.c | 12 +---
 .../kernel/syscalls/llistxattr/llistxattr02.c | 12 +---
 .../kernel/syscalls/llistxattr/llistxattr03.c | 12 +---
 testcases/kernel/syscalls/lseek/lseek01.c     | 16 +----
 testcases/kernel/syscalls/lseek/lseek02.c     | 19 +----
 testcases/kernel/syscalls/lseek/lseek07.c     | 16 +----
 testcases/kernel/syscalls/lseek/lseek11.c     | 47 +++++-------
 testcases/kernel/syscalls/madvise/madvise01.c | 13 +---
 testcases/kernel/syscalls/madvise/madvise02.c | 13 +---
 testcases/kernel/syscalls/madvise/madvise05.c | 11 +--
 testcases/kernel/syscalls/madvise/madvise06.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise07.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise08.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise09.c | 14 +---
 testcases/kernel/syscalls/madvise/madvise10.c | 11 +--
 testcases/kernel/syscalls/mbind/mbind01.c     | 14 +---
 .../syscalls/memfd_create/memfd_create01.c    | 12 +---
 .../syscalls/memfd_create/memfd_create02.c    | 12 +---
 .../syscalls/memfd_create/memfd_create03.c    | 11 +--
 .../syscalls/memfd_create/memfd_create04.c    | 11 +--
 .../memfd_create/memfd_create_common.c        | 12 +---
 .../syscalls/migrate_pages/migrate_pages02.c  | 21 +-----
 .../syscalls/migrate_pages/migrate_pages03.c  | 14 +---
 testcases/kernel/syscalls/mkdir/mkdir02.c     | 16 +----
 testcases/kernel/syscalls/mkdir/mkdir03.c     | 19 +----
 testcases/kernel/syscalls/mkdir/mkdir04.c     | 16 +----
 testcases/kernel/syscalls/mkdir/mkdir05.c     | 18 +----
 testcases/kernel/syscalls/mkdirat/mkdirat02.c | 13 +---
 testcases/kernel/syscalls/mmap/mmap12.c       | 15 +---
 .../kernel/syscalls/mq_notify/mq_notify01.c   | 14 +---
 testcases/kernel/syscalls/mq_open/mq_open01.c | 15 +---
 .../kernel/syscalls/mq_unlink/mq_unlink01.c   | 15 +---
 testcases/kernel/syscalls/msync/msync04.c     | 14 +---
 testcases/kernel/syscalls/nice/nice01.c       | 19 +----
 testcases/kernel/syscalls/nice/nice02.c       | 19 +----
 testcases/kernel/syscalls/nice/nice03.c       | 19 +----
 testcases/kernel/syscalls/nice/nice04.c       | 19 +----
 testcases/kernel/syscalls/open/open01.c       | 19 +----
 testcases/kernel/syscalls/open/open02.c       | 19 +----
 testcases/kernel/syscalls/open/open08.c       | 15 +---
 testcases/kernel/syscalls/pause/pause01.c     | 13 +---
 testcases/kernel/syscalls/pipe/pipe01.c       | 14 +---
 testcases/kernel/syscalls/pipe/pipe02.c       | 16 +----
 testcases/kernel/syscalls/pipe/pipe03.c       | 16 +----
 testcases/kernel/syscalls/pipe/pipe11.c       | 19 +----
 testcases/kernel/syscalls/poll/poll01.c       | 19 +----
 testcases/kernel/syscalls/ppoll/ppoll01.c     | 11 +--
 testcases/kernel/syscalls/preadv/preadv01.c   | 12 +---
 testcases/kernel/syscalls/preadv/preadv02.c   | 12 +---
 testcases/kernel/syscalls/preadv/preadv03.c   | 14 +---
 testcases/kernel/syscalls/pselect/pselect03.c | 14 +---
 testcases/kernel/syscalls/ptrace/ptrace07.c   | 14 +---
 testcases/kernel/syscalls/pwrite/pwrite02.c   | 17 +----
 testcases/kernel/syscalls/pwrite/pwrite03.c   | 14 +---
 testcases/kernel/syscalls/pwritev/pwritev01.c | 12 +---
 testcases/kernel/syscalls/pwritev/pwritev02.c | 12 +---
 testcases/kernel/syscalls/pwritev/pwritev03.c | 14 +---
 .../kernel/syscalls/quotactl/quotactl01.c     | 18 +----
 .../kernel/syscalls/quotactl/quotactl02.c     | 13 +---
 .../kernel/syscalls/quotactl/quotactl03.c     | 14 +---
 testcases/kernel/syscalls/read/read01.c       | 29 +-------
 testcases/kernel/syscalls/read/read02.c       | 19 +----
 .../kernel/syscalls/readlink/readlink01.c     | 15 +---
 .../kernel/syscalls/readlink/readlink03.c     | 15 +---
 testcases/kernel/syscalls/recvmsg/recvmsg02.c | 14 +---
 testcases/kernel/syscalls/recvmsg/recvmsg03.c | 12 +---
 .../syscalls/request_key/request_key01.c      | 12 +---
 .../syscalls/request_key/request_key02.c      | 14 +---
 .../syscalls/request_key/request_key03.c      | 14 +---
 .../syscalls/request_key/request_key04.c      | 14 +---
 .../syscalls/request_key/request_key05.c      | 14 +---
 testcases/kernel/syscalls/rmdir/rmdir01.c     | 16 +----
 testcases/kernel/syscalls/rmdir/rmdir02.c     | 18 +----
 testcases/kernel/syscalls/rmdir/rmdir03.c     | 16 +----
 .../syscalls/rt_sigsuspend/rt_sigsuspend01.c  | 12 ++--
 testcases/kernel/syscalls/sbrk/sbrk03.c       | 14 +---
 .../sched_setscheduler/sched_setscheduler03.c | 14 +---
 testcases/kernel/syscalls/sendto/sendto02.c   | 12 +---
 .../syscalls/setpriority/setpriority01.c      | 16 +----
 .../syscalls/setpriority/setpriority02.c      | 16 +----
 .../kernel/syscalls/setrlimit/setrlimit02.c   | 19 +----
 .../kernel/syscalls/setrlimit/setrlimit03.c   | 17 +----
 .../kernel/syscalls/setrlimit/setrlimit04.c   | 30 +++-----
 .../kernel/syscalls/setrlimit/setrlimit05.c   | 11 +--
 .../kernel/syscalls/setsockopt/setsockopt02.c | 14 +---
 .../kernel/syscalls/setsockopt/setsockopt03.c | 14 +---
 testcases/kernel/syscalls/setuid/setuid01.c   | 16 +----
 testcases/kernel/syscalls/setuid/setuid03.c   | 16 +----
 testcases/kernel/syscalls/setuid/setuid04.c   | 16 +----
 .../kernel/syscalls/setxattr/setxattr01.c     | 21 +-----
 .../kernel/syscalls/setxattr/setxattr02.c     | 21 +-----
 testcases/kernel/syscalls/socket/socket01.c   | 16 +----
 testcases/kernel/syscalls/socket/socket02.c   | 16 +----
 .../kernel/syscalls/socketcall/socketcall01.c | 14 +---
 .../kernel/syscalls/socketpair/socketpair01.c | 16 +----
 .../kernel/syscalls/socketpair/socketpair02.c | 16 +----
 testcases/kernel/syscalls/splice/splice01.c   | 17 +----
 testcases/kernel/syscalls/splice/splice02.c   | 29 ++------
 testcases/kernel/syscalls/splice/splice03.c   | 13 +---
 testcases/kernel/syscalls/splice/splice04.c   | 21 +-----
 testcases/kernel/syscalls/splice/splice05.c   | 15 +---
 .../kernel/syscalls/switch/endian_switch01.c  | 14 +---
 testcases/kernel/syscalls/syscall/syscall01.c | 17 +----
 testcases/kernel/syscalls/sysctl/sysctl03.c   | 13 +---
 testcases/kernel/syscalls/sysctl/sysctl04.c   | 13 +---
 testcases/kernel/syscalls/tee/tee01.c         | 29 ++------
 testcases/kernel/syscalls/tee/tee02.c         | 13 +---
 testcases/kernel/syscalls/times/times03.c     | 17 +----
 testcases/kernel/syscalls/umask/umask01.c     | 17 +----
 testcases/kernel/syscalls/umount/umount01.c   | 23 ++----
 testcases/kernel/syscalls/umount/umount02.c   | 34 +++------
 testcases/kernel/syscalls/umount/umount03.c   | 21 ++----
 testcases/kernel/syscalls/uname/uname04.c     | 14 +---
 testcases/kernel/syscalls/unlink/unlink05.c   | 14 +---
 testcases/kernel/syscalls/unlink/unlink07.c   | 14 +---
 testcases/kernel/syscalls/unlink/unlink08.c   | 14 +---
 testcases/kernel/syscalls/utils/mq.h          | 14 +---
 testcases/kernel/syscalls/utimes/utimes01.c   | 15 +---
 .../kernel/syscalls/vmsplice/vmsplice01.c     | 29 ++------
 .../kernel/syscalls/vmsplice/vmsplice02.c     | 13 +---
 testcases/kernel/syscalls/wait4/wait401.c     | 17 +----
 testcases/kernel/syscalls/waitpid/waitpid01.c | 17 +----
 testcases/kernel/syscalls/waitpid/waitpid09.c | 21 +-----
 .../kernel/syscalls/waitpid/waitpid_common.h  | 15 +---
 testcases/kernel/syscalls/write/write01.c     | 20 +-----
 testcases/kernel/syscalls/write/write02.c     | 14 +---
 testcases/kernel/syscalls/write/write03.c     | 17 +----
 testcases/kernel/syscalls/write/write04.c     | 17 +----
 testcases/kernel/syscalls/write/write05.c     | 17 +----
 testcases/kernel/syscalls/writev/writev01.c   | 16 +----
 testcases/kernel/syscalls/writev/writev07.c   | 11 +--
 testcases/lib/tst_checkpoint.c                | 15 +---
 testcases/lib/tst_device.c                    | 15 +---
 testcases/lib/tst_kvcmp.c                     | 15 +---
 testcases/lib/tst_net_iface_prefix.c          | 14 +---
 testcases/lib/tst_net_ip_prefix.c             | 14 +---
 testcases/lib/tst_net_vars.c                  | 14 +---
 testcases/network/lib6/in6_01.c               | 21 +-----
 testcases/network/lib6/in6_02.c               | 18 +----
 testcases/network/netstress/netstress.c       | 16 +----
 .../network/nfs/nfs_stress/nfs05_make_tree.c  | 18 +----
 338 files changed, 610 insertions(+), 5032 deletions(-)
include/tst_taint.h +1 -13
index 1039e2ddc..0acc1140c 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Michael Moese <[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, see <http://www.gnu.org/licenses/>.
  */
 
 /* Usage example
include/tst_timer_test.h +1 -13
index 23fc0ba51..b825a4d1a 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
  /*
lib/newlib_tests/test01.c +1 -14
index 32bba1217..304c20514 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test02.c +1 -14
index b4ea0b685..f1b6a7ca4 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test03.c +1 -14
index 8ed78aac6..3b451241e 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test04.c +1 -14
index b23327905..7ecf2caed 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test05.c +1 -14
index 640abe4f0..9f5d898e4 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test06.c +1 -14
index cce176810..5499f4477 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test07.c +1 -14
index 8c0650695..de9c832b9 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test08.c +1 -14
index 5463b53aa..5099b08d3 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test09.c +1 -11
index 02911bd27..0f42bacc6 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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 would 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.
- *
  */
 
 /*
lib/newlib_tests/test10.c +1 -11
index d0ad7a291..df61908ac 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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 would 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.
- *
  */
 
 /*
lib/newlib_tests/test11.c +1 -11
index 211e7e651..fd9dbc6f3 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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 would 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.
- *
  */
 
 /*
lib/newlib_tests/test12.c +1 -11
index 47ca735b3..b4f0d6303 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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 would 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.
- *
  */
 
 /*
lib/newlib_tests/test13.c +1 -11
index e71af19ca..c447dc3dc 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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 would 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.
- *
  */
 
 /*
lib/newlib_tests/test14.c +1 -14
index 56d6d2fb1..171149d99 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include "tst_test.h"
lib/newlib_tests/test15.c +1 -13
index 7563cb778..3a2ac362e 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
lib/newlib_tests/test16.c +1 -13
index f453968cd..0d74e1eae 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[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, see <http://www.gnu.org/licenses/>.
  */
 /* Basic functionality test for tst_fuzzy_sync.h similar to the atomic tests
  * (test15.c). One thread writes to the odd indexes of an array while the
lib/newlib_tests/test17.c +1 -13
index f83c9edbf..c0fc0bc30 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[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, see <http://www.gnu.org/licenses/>.
  */
 /* Basic functionality test for tst_fuzzy_sync.h similar to the atomic tests
  * (test15.c). One thread writes to the odd indexes of an array while the
lib/newlib_tests/test18.c +1 -13
index 6615471a5..026435d7d 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018, Linux Test Project
- *
- * 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/>.
  */
 
 #include <stdlib.h>
lib/newlib_tests/test19.c +1 -13
index b15470f4f..78b5202d2 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018, Linux Test Project
- *
- * 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/>.
  */
 
 #include <stdlib.h>
lib/newlib_tests/test_exec.c +1 -14
index 2c865681b..75f1b03a4 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/test_exec_child.c +1 -14
index 696ff5be2..c572150d9 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #define TST_NO_DEFAULT_MAIN
lib/newlib_tests/tst_device.c +1 -13
index 3314901d1..6058b3928 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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/>.
  */
 
 #include <stdlib.h>
lib/newlib_tests/tst_expiration_timer.c +1 -14
index 2543d53ec..6cc73367d 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/newlib_tests/tst_res_hexd.c +1 -13
index bff9eddce..ac461c57e 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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/>.
  */
 
 #include <stdio.h>
lib/newlib_tests/tst_safe_fileops.c +1 -13
index 1b8d52319..e8419bd23 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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/>.
  */
 
 #include <stdio.h>
lib/newlib_tests/tst_strstatus.c +1 -14
index ca6be49cc..aeeeb77ed 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 /*
lib/safe_pthread.c +1 -13
index 6b4539258..2866aa594 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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/>.
  */
 
 #include <pthread.h>
lib/tst_crypto.c +1 -13
index 37d5eb731..685e0871e 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Richard Palethorpe <[email protected]>
  *                    Nicolai Stange <[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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <errno.h>
lib/tst_fill_fs.c +1 -13
index 2775a2c48..4003dce97 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <errno.h>
lib/tst_safe_macros.c +1 -13
index 0e59a3f98..f5413a18e 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 #define _GNU_SOURCE
lib/tst_safe_sysv_ipc.c +1 -13
index 86f2d934b..30b5f6ec7 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <sys/types.h>
lib/tst_sig_proc.c +1 -10
index 579047a4f..509418af4 100644
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Linux Test Project
- *
- * 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.
  */
 
 #include <stdlib.h>
lib/tst_status.c +1 -13
index bfe3b5fcc..f1affeac5 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <sys/types.h>
lib/tst_supported_fs_types.c +1 -13
index b7e647fc1..9babcc31a 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <stdio.h>
lib/tst_test.c +1 -13
index 95f389d2e..6cef673d9 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2015-2016 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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <stdio.h>
lib/tst_timer_test.c +1 -13
index 8ad831cab..4c16b59ad 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <sys/prctl.h>
testcases/cve/cve-2014-0196.c +1 -13
index 50a8b35a5..6997fffe4 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[email protected]>
  * Original POC by Matthew Daley <[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, see <http://www.gnu.org/licenses/>.
  */
 /*
  * This test attempts to cause a buffer overflow using the race condition
testcases/cve/cve-2015-3290.c +1 -22
index 435ed44ba..fe630e4af 100644
@@ -1,27 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Pavel Boldin <[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, see <http://www.gnu.org/licenses/>.
- *
- * Original exploit: http://www.openwall.com/lists/oss-security/2015/08/04/8
- *
- * Copyright (c) 2015 Andrew Lutomirski.
- * GPL v2
- *
- * Build with -O2.  Don't use -fno-omit-frame-pointer.
- *
- * Thanks to Petr Matousek for pointing out a bug in the exploit.
  */
 
 /*
testcases/cve/cve-2016-10044.c +1 -13
index 1659e6c28..c2e79df31 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[email protected]>
  * Copyright (c) 2016 Jan Horn <[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, see <http://www.gnu.org/licenses/>.
  */
 /*
  * Test for CVE-2016-10044, which was fixed in commit
testcases/cve/cve-2016-7042.c +1 -13
index 8719eba59..35950adc7 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/cve/cve-2016-7117.c +1 -13
index 9f04cca92..f0f6c22f1 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[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, see <http://www.gnu.org/licenses/>.
  */
 /*
  * CVE-2016-7117
testcases/cve/cve-2017-16939.c +1 -13
index 8101afc85..4ecc86337 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Michael Moese <[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, see <http://www.gnu.org/licenses/>.
  */
 /* Regression test for commit:
  * 1137b5e2529a ipsec: Fix aborted xfrm policy dump crash aka CVE-2017-16939
testcases/cve/cve-2017-17052.c +1 -13
index d7da7e919..d24520071 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Michael Moese <[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, see <http://www.gnu.org/licenses/>.
  */
 /*
  * Test for CVE-2017-17052, original reproducer taken from kernel commit:
testcases/cve/cve-2017-17053.c +1 -13
index e01db3d4f..646ec11cc 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Michael Moese <[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, see <http://www.gnu.org/licenses/>.
  */
 /* Regression test for CVE-2017-17053, original reproducer can be found
  * here:
testcases/cve/cve-2017-2618.c +1 -13
index e1e94f673..cf018d401 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 FUJITSU LIMITED
  * 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, if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/cve/cve-2017-2671.c +1 -13
index 5bdb37b69..b92c1d94b 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[email protected]>
  * Original POC by Daniel Jiang
- *
- * 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/>.
  */
 /*
  * Test for CVE-2017-2671 faulty locking on ping socket
testcases/cve/meltdown.c +1 -15
index a53ea9b8e..1a3303ec0 100644
@@ -1,20 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Pavel Boldin <[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, see <http://www.gnu.org/licenses/>.
- *
- * Original exploit: https://github.com/paboldin/meltdown-exploit.
  */
 
 #include "config.h"
testcases/cve/stack_clash.c +1 -15
index ac4a31af6..3ea3ec491 100644
@@ -1,20 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Pavel Boldin <[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, see <http://www.gnu.org/licenses/>.
- *
- * Adapted from code by Michal Hocko.
  */
 
 /* This is a regression test of the Stack Clash [1] vulnerability. This tests
testcases/kernel/controllers/memcg/functional/memcg_process.c +5 -21
index 29a535c14..0e671f566 100644
@@ -1,24 +1,8 @@
-/******************************************************************************/
-/*                                                                            */
-/* Copyright (c) 2009 FUJITSU LIMITED                                         */
-/*                                                                            */
-/* 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    */
-/*                                                                            */
-/* Author: Li Zefan <[email protected]>                                     */
-/*                                                                            */
-/******************************************************************************/
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (c) 2009 FUJITSU LIMITED
+ * Author: Li Zefan <[email protected]>
+ */
 
 #include <sys/types.h>
 #include <sys/mman.h>
testcases/kernel/controllers/memcg/regression/memcg_test_3.c +1 -13
index 9df43894d..75a6e1545 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 FUJITSU LIMITED. All rights reserved.
  * 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, if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/crypto/pcrypt_aead01.c +1 -21
index 92ce3b2d5..5d9a123c7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 SUSE
  * Author: Nicolai Stange <[email protected]>
@@ -5,27 +6,6 @@
  *
  * Originally found by syzkaller:
  * https://groups.google.com/forum/#!topic/syzkaller-bugs/NKn_ivoPOpk
- *
- * 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/>.
- *
- * Test for CVE-2017-5754 - pcrypt mishandles freeing instances.
- *
- * The test works by adding and then removing pcrypt-AEAD instances.
- * See commit d76c68109f37 crypto: pcrypt - fix freeing pcrypt instances.
- *
- * If the bug is present then this will probably crash the kernel, but also
- * sometimes the test simply times out.
  */
 
 #include <errno.h>
testcases/kernel/fs/fs_fill/fs_fill.c +1 -13
index bb07ede40..2604a1c63 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/fs/read_all/read_all.c +1 -13
index 1f0b315a1..3dac20e02 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Richard Palethorpe <[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, see <http://www.gnu.org/licenses/>.
  */
 /*
  * Perform a small read on every file in a directory tree.
testcases/kernel/lib/ksm_helper.c +1 -13
index eba28d4e3..586a0d1ee 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
  * Author(s): 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, if not, see <http://www.gnu.org/licenses/>.
  */
 
 #define TST_NO_DEFAULT_MAIN
testcases/kernel/logging/kmsg/kmsg01.c +1 -20
index 1c0095bb8..57eee949a 100644
@@ -1,25 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2013 Linux Test Project
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it
- * is free of the rightful claim of any third person regarding
- * infringement or the like.  Any license provided herein, whether
- * implied or otherwise, applies only to this software file.  Patent
- * licenses, if any, provided herein do not apply to combinations of
- * this program with other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
  */
 /*
  * Test /dev/kmsg based on kernel doc: Documentation/ABI/testing/dev-kmsg
testcases/kernel/mem/hugetlb/hugemmap/hugemmap05.c +1 -13
index 445b05fc8..d80a636c8 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2010-2017  Red Hat, 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.
- * overcommit hugetlbfs and check the statistics.
- *
- * Description:
- *
  * hugetlbfs allows to overcommit hugepages and there are tunables in
  * sysfs and procfs. The test here want to ensure it is possible to
  * overcommit by either mmap or shared memory. Also ensure those
testcases/kernel/mem/hugetlb/lib/hugetlb.h +2 -15
index baf643d2a..66ad324ab 100644
@@ -1,20 +1,7 @@
+// 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;  if not, write to the Free Software
- *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *   Copyright (c) International Business Machines Corp., 2001
  */
 
 /*
testcases/kernel/mem/ksm/ksm05.c +1 -10
index f715dc5aa..ca08f50ae 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2011-2017  Red Hat, 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.
- *
  * KSM - NULL pointer dereference in ksm_do_scan() (CVE-2011-2183)
  *
  * This is a testcase from upstream commit:
testcases/kernel/mem/ksm/ksm_common.h +1 -10
index a6e07473b..4cb569b61 100644
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2017  Red Hat, 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.
  */
 
  /*
testcases/kernel/mem/mmapstress/mmapstress04.c +1 -13
index 3925f48bb..ceede7eaa 100644
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Red Hat, Inc.
  * 01/02/2003	Port to LTP [email protected]
  * 06/30/2001	Port to Linux	[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 3 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/>.
  */
 /*
  * Mmap parts of a file, and then write to the file causing single
testcases/kernel/mem/mtest06/mmap3.c +5 -22
index d314ff8d1..c83dd6fcf 100644
@@ -1,26 +1,9 @@
-/******************************************************************************
- *									      *
- * Copyright (c) International Business Machines  Corp., 2001		      *
- *  2001 Created by Manoj Iyer, IBM Austin TX <[email protected]>          *
- * Copyright (C) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           *
- *									      *
- ******************************************************************************/
-
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
+ * Copyright (c) International Business Machines Corp., 2001
+ * Copyright (C) 2016 Cyril Hrubis <[email protected]>
+ * Author: Manoj Iyer, IBM Austin TX <[email protected]>, 2001
+ *
  * Tests the LINUX memory manager. The program is aimed at stressing the memory
  * manager by repeaded map/write/unmap of file/memory of random size (maximum
  * 1GB) this is done by multiple threads.
testcases/kernel/mem/mtest07/mallocstress.c +9 -63

75 lines not on this page · raw message

testcases/kernel/mem/thp/thp01.c +1 -10
index b2ad921c5..db7256050 100644
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2011-2017  Red Hat, 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.
  */
 
 /* Description:
testcases/kernel/pty/pty02.c +1 -13
index 3f34704fc..e2cafb3cd 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Google, 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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/sched/autogroup/autogroup01.c +1 -13
index 9c4e9112b..2360ec3b4 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Fujitsu Ltd.
  * Ported: 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; if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/security/dirtyc0w/dirtyc0w.c +1 -13
index 3da40a949..3a3aae1c3 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/security/dirtyc0w/dirtyc0w_child.c +1 -13
index bb93c62cb..5b68c0e92 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Cyril Hrubis <[email protected]>
  *  Based on: https://github.com/dirtycow/dirtycow.github.io
- *
- * 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/>.
  */
 
 #include <sys/mman.h>
testcases/kernel/security/integrity/ima/src/ima_mmap.c +2 -11
index 5bc688bd4..0875aaeaf 100644
@@ -1,18 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2009
+ * Copyright (c) International Business Machines Corp., 2009
  *
  * Authors:
  * Mimi Zohar <[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, version 2 of the
- * License.
- *
- * File: ima_mmap.c
- *
- * Open and mmap a file and sleep. Another process will open the
- * mmapped file in read mode, resulting in a open_writer violation.
  */
 
 #include "tst_test.h"
testcases/kernel/syscalls/access/access01.c +1 -20
index f36a9d273..1b73058d4 100644
@@ -1,26 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *   AUTHOR		: William Roske
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 /*
  * Basic test for access(2) using F_OK, R_OK, W_OK and X_OK
testcases/kernel/syscalls/access/access02.c +3 -17
index 5030288e8..db1d350bf 100644
@@ -1,20 +1,6 @@
+// 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;  if not, write to the Free Software
- *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *   Copyright (c) International Business Machines Corp., 2001
  */
 
 /*
@@ -28,7 +14,7 @@
  *  As well as verify that, these test files can be
  *  stat/read/written/executed indeed as root and nobody respectively.
  *
- *	07/2001 Ported by Wayne Boyera
+ * Ported to LTP: Wayne Boyer
  *	06/2016 Modified by Guangwen Feng <[email protected]>
  */
 
testcases/kernel/syscalls/access/access03.c +1 -20
index 13ee15fd0..612256c17 100644
@@ -1,25 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 
 /*
testcases/kernel/syscalls/access/access04.c +3 -15
index 401a348a4..68cbff509 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  * Copyright (c) 2013 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
@@ -31,7 +19,7 @@
  *  6) access() fails with -1 return value and sets errno to EROFS
  *     if write permission was requested for files on a read-only file system.
  *
- *  07/2001 Ported by Wayne Boyer
+ * Ported to LTP: Wayne Boyer
  *  11/2013 Ported by Xiaoguang Wang <[email protected]>
  *  11/2016 Modified by Guangwen Feng <[email protected]>
  */
testcases/kernel/syscalls/add_key/add_key01.c +5 -22
index e19cfe772..4fe97dac6 100644
@@ -1,27 +1,10 @@
-/******************************************************************************
- * Copyright (c) Crackerjack Project., 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           *
- *									      *
- ******************************************************************************/
-
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Basic test for the add_key() syscall.
+ * Copyright (c) Crackerjack Project., 2007
+ * Porting from Crackerjack to LTP is done by
+ * Manas Kumar Nayak [email protected]>
  *
- * History:   Porting from Crackerjack to LTP is done by
- *	      Manas Kumar Nayak [email protected]>
+ * Basic test for the add_key() syscall.
  */
 
 #include <errno.h>
testcases/kernel/syscalls/add_key/add_key02.c +4 -20
index 6d19ff2d8..4a5cf054a 100644
@@ -1,24 +1,8 @@
-/******************************************************************************
- * Copyright (c) Crackerjack Project., 2007				      *
- * Copyright (c) 2017 Google, 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           *
- *									      *
- ******************************************************************************/
-
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
+ * Copyright (c) Crackerjack Project., 2007
+ * Copyright (c) 2017 Google, Inc.
+ *
  * Test that the add_key() syscall correctly handles a NULL payload with nonzero
  * length.  Specifically, it should fail with EFAULT rather than oopsing the
  * kernel with a NULL pointer dereference or failing with EINVAL, as it did
testcases/kernel/syscalls/add_key/add_key03.c +1 -13
index 95ac2ee6e..962f1b925 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Google, 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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/syscalls/add_key/add_key04.c +1 -13
index 1872cd58f..28cc91f72 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Google, 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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/syscalls/alarm/alarm05.c +3 -16
index acb43c9a8..c60f98994 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001,2005
- *	07/2001 Ported by Wayne Boyer
+ * Copyright (c) International Business Machines Corp., 2001,2005
+ * Ported to LTP: Wayne Boyer
  *	06/2005 Test for alarm cleanup by Amos Waterland
  *
  * Copyright (c) 2018 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /*
testcases/kernel/syscalls/alarm/alarm06.c +7 -23
index b9e0f833c..eee9429a1 100644
@@ -1,33 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  * Copyright (C) 2017 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Ported to LTP: Wayne Boyer
  */
 
 /*
- * Test Description:
- *  Check the functionality of the Alarm system call when the time input
- *  parameter is zero.
+ * Check the functionality of the Alarm system call when the time input
+ * parameter is zero.
  *
  * Expected Result:
- *  The previously specified alarm request should be cancelled and the
- *  SIGALRM should not be received.
- *
- * HISTORY
- *	07/2001 Ported by Wayne Boyer
+ * The previously specified alarm request should be cancelled and the
+ * SIGALRM should not be received.
  */
 
 #include <stdio.h>
testcases/kernel/syscalls/brk/brk01.c +1 -13
index aee340e10..c50791d40 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <unistd.h>
testcases/kernel/syscalls/chdir/chdir03.c +2 -15
index d5f38190e..5beabdb1c 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  * Copyright (c) 2017 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /*
testcases/kernel/syscalls/chmod/chmod06.c +3 -16
index e5bb58fc5..d6b86af75 100644
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
- *  07/2001 Ported by Wayne Boyer
+ * Copyright (c) International Business Machines Corp., 2001
+ * Ported to LTP: Wayne Boyer
  * Copyright (c) 2014-2018 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /*
testcases/kernel/syscalls/clock_getres/clock_getres01.c +9 -26
index da37b8ae7..15f323108 100644
@@ -1,30 +1,13 @@
-/******************************************************************************
- * Copyright (c) Crackerjack Project., 2007-2008 ,Hitachi, Ltd                *
- *   Author(s): Takahiro Yasui <[email protected]>,               *
- *              Yumiko Sugita <[email protected]>,                 *
- *              Satoshi Fujiwara <[email protected]>                  *
- *   LTP authors:                                                             *
- *              Manas Kumar Nayak [email protected]>                        *
- *              Zeng Linggang <[email protected]>                      *
- *              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 Street, Fifth Floor, Boston, MA 02110-1301 USA           *
- *                                                                            *
- ******************************************************************************/
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Description: This tests the clock_getres() syscall
+ * Copyright (c) Crackerjack Project., 2007-2008 ,Hitachi, Ltd
+ * Authors: Takahiro Yasui <[email protected]>,
+ *              Yumiko Sugita <[email protected]>,
+ *              Satoshi Fujiwara <[email protected]>
+ * LTP authors:
+ *              Manas Kumar Nayak [email protected]>
+ *              Zeng Linggang <[email protected]>
+ *              Cyril Hrubis <[email protected]>
  */
 
 #include <errno.h>
testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep01.c +1 -14
index 2be211bd6..d1fb0ee66 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) Crackerjack Project., 2007-2008 ,Hitachi, Ltd
  *          Author(s): Takahiro Yasui <[email protected]>,
  *		       Yumiko Sugita <[email protected]>,
  *		       Satoshi Fujiwara <[email protected]>
  * Copyright (c) 2016 Linux Test Project
- *
- * 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 would 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 the Free Software Foundation,
- * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <limits.h>
testcases/kernel/syscalls/clock_nanosleep2/clock_nanosleep2_01.c +4 -20
index 244508e0c..d82d74d2d 100644
@@ -1,25 +1,9 @@
-/******************************************************************************
- * Copyright (c) M. Koehrer <[email protected]>, 2009                  *
- * Copyright (C) 2017 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           *
- *                                                                            *
- ******************************************************************************/
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * This tests the clock_nanosleep2() syscall.
+ * Copyright (c) M. Koehrer <[email protected]>, 2009
+ * Copyright (C) 2017 Cyril Hrubis <[email protected]>
  */
+
 #include <stdio.h>
 #include <time.h>
 #include <unistd.h>
testcases/kernel/syscalls/clone/clone08.c +1 -11
index a567340d1..aace30806 100644
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Oracle and/or its affiliates. All Rights Reserved.
  * Copyright (c) 2013 Fujitsu Ltd.
  * Author: Zeng Linggang <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program.
  */
 
 #define _GNU_SOURCE
testcases/kernel/syscalls/clone/clone09.c +1 -13
index b133c668b..e9e584564 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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 would 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/>.
  */
 
 #define _GNU_SOURCE
testcases/kernel/syscalls/creat/creat01.c +3 -16
index 5d0ffc6a7..6bd2c596f 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
- *  07/2001 Ported by Wayne Boyer
- *
- * 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
+ * Copyright (c) International Business Machines Corp., 2001
+ * Ported to LTP: Wayne Boyer
  */
 
 /*
testcases/kernel/syscalls/creat/creat03.c +3 -16
index f095fb69e..7580e58cf 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
- *  07/2001 Ported by Wayne Boyer
- *
- * 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
+ * Copyright (c) International Business Machines Corp., 2001
+ * Ported to LTP: Wayne Boyer
  */
 
 /*
testcases/kernel/syscalls/creat/creat04.c +3 -16
index 623ede0d9..043bd45ad 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
- *  07/2001 Ported by Wayne Boyer
- *
- * 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
+ * Copyright (c) International Business Machines Corp., 2001
+ * Ported to LTP: Wayne Boyer
  */
 
 /*
testcases/kernel/syscalls/creat/creat05.c +3 -16
index 037a1133d..bf4099439 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
- *  07/2001 Ported by Wayne Boyer
- *
- * 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
+ * Copyright (c) International Business Machines Corp., 2001
+ * Ported to LTP: Wayne Boyer
  */
 
 /*
testcases/kernel/syscalls/creat/creat06.c +3 -16
index 146d518ae..880159b3f 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
- *    Ported by Wayne Boyer
- *
- * 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
+ * Copyright (c) International Business Machines Corp., 2001
+ * Ported to LTP: Wayne Boyer
  */
 
 /*
testcases/kernel/syscalls/creat/creat07.c +2 -15
index 435e5d54c..1e9779476 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  * Copyright (c) 2012-2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /*
testcases/kernel/syscalls/creat/creat07_child.c +2 -15
index 802dde4be..2e36c4052 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  * Copyright (c) 2012 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <unistd.h>
testcases/kernel/syscalls/epoll_create1/epoll_create1_01.c +3 -18
index 85f14c4dc..41aa634e1 100644
@@ -1,24 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) Ulrich Drepper <[email protected]>
- * Copyright (c) International Business Machines  Corp., 2009
+ * 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;
- *
- * Test:        epoll_create1_01.c
- *
- * Description: This Program tests the new system call introduced in 2.6.27.
- *              Ulrich´s comment as in:
+ * Test system call introduced in 2.6.27.
  * http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a0998b50c3f0b8fdd265c63e0032f86ebe377dbf
  *
  * This patch adds the new epoll_create1 syscall.  It extends the old
testcases/kernel/syscalls/epoll_ctl/epoll_ctl01.c +1 -11
index 4df55b5e1..1f81c3a26 100644
@@ -1,17 +1,7 @@
+// 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 version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License
- * alone with this program.
  */
 
 /*
testcases/kernel/syscalls/epoll_ctl/epoll_ctl02.c +1 -11
index ce9b55ed9..280fd6724 100644
@@ -1,17 +1,7 @@
+// 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 version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License
- * alone with this program.
  */
 
 /*
testcases/kernel/syscalls/epoll_wait/epoll_wait01.c +1 -13
index 6099b84aa..9c13e2e5c 100644
@@ -1,19 +1,7 @@
+// 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.
  */
 
 /*
testcases/kernel/syscalls/execl/execl01.c +1 -14
index c81a194c2..4ec94b5f9 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (C) 2015 Cyril Hrubis <[email protected]>
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
  *    CO-PILOT		: Dave Fenner
- *    DATE STARTED	: 06/01/02
- *
- * 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/>.
  */
 
 #include <sys/types.h>
testcases/kernel/syscalls/execl/execl01_child.c +1 -13
index 8a6e5123f..fe96b3321 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * 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, see <http://www.gnu.org/licenses/>.
  */
 
 #define TST_NO_DEFAULT_MAIN
testcases/kernel/syscalls/execle/execle01.c +1 -14
index 00997899b..8df1cc649 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (C) 2015 Cyril Hrubis <[email protected]>
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
  *    CO-PILOT		: Dave Fenner
- *    DATE STARTED	: 06/01/02
- *
- * 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/>.
  */
 
 #include <sys/types.h>
testcases/kernel/syscalls/execle/execle01_child.c +1 -13
index 0ebfaa876..5846ca44f 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * 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, see <http://www.gnu.org/licenses/>.
  */
 
 #define TST_NO_DEFAULT_MAIN
testcases/kernel/syscalls/execlp/execlp01.c +1 -15
index 50ee87288..61a81c612 100644
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (C) 2015 Cyril Hrubis <[email protected]>
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
  *    CO-PILOT		: Dave Fenner
- *    DATE STARTED	: 06/01/02
- *
- * 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/>.
- *
  */
 
 #include <errno.h>
testcases/kernel/syscalls/execlp/execlp01_child.c +1 -13
index 8a6e5123f..fe96b3321 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * 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, see <http://www.gnu.org/licenses/>.
  */
 
 #define TST_NO_DEFAULT_MAIN
testcases/kernel/syscalls/execv/execv01.c +1 -14
index 5fa5b89b0..58c61a3e4 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (C) 2015 Cyril Hrubis <[email protected]>
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
  *    CO-PILOT		: Dave Fenner
- *    DATE STARTED	: 06/01/02
- *
- * 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/>.
  */
 
 #include <sys/types.h>
testcases/kernel/syscalls/execv/execv01_child.c +1 -14
index 307810c63..1beda704e 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (C) 2015 Cyril Hrubis <[email protected]>
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
  *    CO-PILOT		: Dave Fenner
- *    DATE STARTED	: 06/01/02
- *
- * 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/>.
  */
 
 #define TST_NO_DEFAULT_MAIN
testcases/kernel/syscalls/execve/execve01.c +1 -14
index c342eba12..9331c9480 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (C) 2015 Cyril Hrubis <[email protected]>
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
  *    CO-PILOT		: Dave Fenner
- *    DATE STARTED	: 06/01/02
- *
- * 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/>.
  */
 
 #include <errno.h>
testcases/kernel/syscalls/execve/execve01_child.c +1 -13
index 0ebfaa876..5846ca44f 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * 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, see <http://www.gnu.org/licenses/>.
  */
 
 #define TST_NO_DEFAULT_MAIN
testcases/kernel/syscalls/execve/execve02.c +3 -15
index 5b2a3a295..d9fb5b919 100644
@@ -1,23 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (c) 2015 Cyril Hrubis <[email protected]>
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  *
- *  07/2001 Ported by Wayne Boyer
+ * Ported to LTP: Wayne Boyer
  *  21/04/2008 Renaud Lottiaux ([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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/syscalls/execve/execve03.c +4 -24
index 0cb869946..3d7326577 100644
@@ -1,29 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
- * Copyright (c) International Business Machines  Corp., 2001
- *
- *  07/2001 Ported by Wayne Boyer
- *  21/04/2008 Renaud Lottiaux ([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, see <http://www.gnu.org/licenses/>.
+ * Copyright (c) International Business Machines Corp., 2001
+ * Copyright (c) Renaud Lottiaux <[email protected]>
+ * Ported to LTP: Wayne Boyer
  */
 
 /*
- * NAME
- *	execve03.c
- *
- * DESCRIPTION
  *	Testcase to check execve sets the following errnos correctly:
  *	1.	ENAMETOOLONG
  *	2.	ENOENT
@@ -50,9 +33,6 @@
  *
  *	6.	Attempt to execve(2) a zero length file with executable
  *		permissions - fails with ENOEXEC.
- *
- * HISTORY
- *	07/2001 Ported by Wayne Boyer
  */
 
 #ifndef _GNU_SOURCE
testcases/kernel/syscalls/execve/execve04.c +3 -15
index e3138f29e..c7b8c1614 100644
@@ -1,23 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (c) 2015 Cyril Hrubis <[email protected]>
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  *
- *  07/2001 Ported by Wayne Boyer
+ * Ported to LTP: Wayne Boyer
  *  04/2008 Roy Lee <[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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/syscalls/execve/execve05.c +3 -15
index d3961295b..63e597f6b 100644
@@ -1,22 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  *
- *  07/2001 Ported by Wayne Boyer
+ * Ported to LTP: Wayne Boyer
  *  21/04/2008 Renaud Lottiaux ([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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/syscalls/execve/execve_child.c +2 -14
index bcf8ccc69..131751134 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
- * 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/>.
+ * Copyright (c) International Business Machines Corp., 2001
  */
 
 /*
testcases/kernel/syscalls/execveat/execveat03.c +12 -32

53 lines not on this page · raw message

testcases/kernel/syscalls/execveat/execveat_child.c +1 -20
index 93bcd7196..d66e6275b 100644
@@ -1,25 +1,6 @@
+// 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 version 2 or any later of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 
 /*
testcases/kernel/syscalls/execvp/execvp01.c +1 -14
index 6489f7b79..09f488fbe 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * Copyright (C) 2015 Cyril Hrubis <[email protected]>
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  *    AUTHOR		: William Roske
  *    CO-PILOT		: Dave Fenner
- *    DATE STARTED	: 06/01/02
- *
- * 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/>.
  */
 
 #include <sys/types.h>
testcases/kernel/syscalls/execvp/execvp01_child.c +1 -13
index 8a6e5123f..fe96b3321 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2018 Linux Test Project
  * 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, see <http://www.gnu.org/licenses/>.
  */
 
 #define TST_NO_DEFAULT_MAIN
testcases/kernel/syscalls/exit/exit02.c +3 -16
index fa9639704..826ab1fb5 100644
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
- *    07/2001 Ported by Wayne Boyer
+ * Copyright (c) International Business Machines Corp., 2001
+ * Ported to LTP: Wayne Boyer
  * Copyright (c) 2018 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 /*
  * Fork a process that creates a file and writes a few bytes, and
testcases/kernel/syscalls/fallocate/fallocate04.c +2 -16
index e576d728d..936d0d1b0 100644
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2015 Oracle and/or its affiliates. All Rights Reserved.
+ * Author: Alexey Kodanev <[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 would 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/>.
- *
- * Description:
  * Test allocates a file with specified size then tests the following modes:
  * FALLOC_FL_PUNCH_HOLE, FALLOC_FL_ZERO_RANGE and FALLOC_FL_COLLAPSE_RANGE.
- *
- * Author: Alexey Kodanev <[email protected]>
  */
 
 #define _GNU_SOURCE
testcases/kernel/syscalls/fallocate/fallocate05.c +1 -13
index 49dc44b04..50c610c44 100644
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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, see <http://www.gnu.org/licenses/>.
  */
 
 /*
testcases/kernel/syscalls/fchdir/fchdir03.c +2 -15
index dd610e5ef..b09b84293 100644
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) Bull S.A. 2001
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  * Copyright (c) 2017 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /*
testcases/kernel/syscalls/fchmod/fchmod06.c +2 -15
index 02d5f9035..446865b1b 100644
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) International Business Machines  Corp., 2001
+ * Copyright (c) International Business Machines Corp., 2001
  * Author: Wayne Boyer
  * Copyright (c) 2018 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 /*
  * Test that fchmod() fails and sets the proper errno values.
testcases/kernel/syscalls/fcntl/fcntl02.c +1 -29
index 6d0d5a750..673c69193 100644
@@ -1,35 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) 2017 Cyril Hrubis <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
- * Mountain View, CA  94043, or:
- *
- * http://www.sgi.com
- *
- * For further information regarding this notice, see:
- *
- * http://oss.sgi.com/projects/GenInfo/NoticeExplan/
- *
  */
  /*
   * Basic test for fcntl(2) using F_DUPFD argument.
testcases/kernel/syscalls/fcntl/fcntl03.c +1 -29
index b2476bf5f..5cb76971d 100644
@@ -1,35 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) 2017 Cyril Hrubis <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
- * Mountain View, CA  94043, or:
- *
- * http://www.sgi.com
- *
- * For further information regarding this notice, see:
- *
- * http://oss.sgi.com/projects/GenInfo/NoticeExplan/
- *
  */
  /*
   * Basic test for fcntl(2) using F_GETFD argument.
testcases/kernel/syscalls/fcntl/fcntl04.c +1 -29
index 1fb978ffc..3fff2e85e 100644
@@ -1,35 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * Copyright (c) 2017 Cyril Hrubis <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
- * Mountain View, CA  94043, or:
- *
- * http://www.sgi.com
- *
- * For further information regarding this notice, see:
- *
- * http://oss.sgi.com/projects/GenInfo/NoticeExplan/
- *
  */
  /*
   * Basic test for fcntl(2) using F_GETFL argument.
testcases/kernel/syscalls/fcntl/fcntl34.c +1 -15
index 6c7dd8c03..3a68b51c8 100644
@@ -1,21 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 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 would 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/>.
- *
  * Author: Alexey Kodanev <[email protected]>
- *
  */
 
 #include <sys/types.h>
testcases/kernel/syscalls/fcntl/fcntl35.c +1 -13
index 675da716f..468c9559f 100644
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 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. If not, see <http://www.gnu.org/licenses/>.*
  */
 
 /*
testcases/kernel/syscalls/fcntl/fcntl36.c +9 -24
index 58a37e7bc..1d187c28b 100644
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2017 Red Hat 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 would 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/>.
- *
  * Author: Xiong Zhou <[email protected]>
  *
  * This is testing OFD locks racing with POSIX locks:
@@ -29,19 +16,17 @@
  *
  * For example:
  *
- *	Init an file with preset values.
- *
- *	Threads acquire OFD READ  locks to read  a 4k section start from 0;
- *		checking data read back, there should not be any surprise
- *		values and data should be consistent in a 1k block.
- *
- *	Threads acquire OFD WRITE locks to write a 4k section start from 1k,
- *		writing different values in different threads.
+ * Init an file with preset values.
  *
- *	Check file data after racing, there should not be any surprise values
- *		and data should be consistent in a 1k block.
+ * Threads acquire OFD READ  locks to read  a 4k section start from 0;
+ * checking data read back, there should not be any surprise
+ * values and data should be consistent in a 1k block.
  *
+ * Threads acquire OFD WRITE locks to write a 4k section start from 1k,
+ * writing different values in different threads.
  *
+ * Check file data after racing, there should not be any surprise values
+ * and data should be consistent in a 1k block.
  */
 
 #include <sys/types.h>
testcases/kernel/syscalls/flistxattr/flistxattr01.c +1 -13
index 278616e28..98a6fa254 100644
@@ -1,19 +1,7 @@
+// 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.
 */
 
 /*
testcases/kernel/syscalls/flistxattr/flistxattr02.c +1 -11
index 0b81b5151..13aa0b7e7 100644
@@ -1,17 +1,7 @@
+// 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 version 2 of the GNU General Public License as
-* published by the Free Software Foundation.
-*
-* This program is distributed in the hope that it would be useful, but
-* WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-*
-* You should have received a copy of the GNU General Public License
-* alone with this program.
 */
 
 /*
testcases/kernel/syscalls/flistxattr/flistxattr03.c +1 -13
index b9f75a865..49b463425 100644

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

testcases/kernel/syscalls/fsync/fsync01.c +1 -29
index f5e14185c..9af38dce0 100644

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

testcases/kernel/syscalls/getcwd/getcwd01.c +2 -14
index c1d8cb9ef..65d827873 100644

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

testcases/kernel/syscalls/getcwd/getcwd02.c +2 -14
index 1a2d30844..e843a4896 100644

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

testcases/kernel/syscalls/getcwd/getcwd03.c +2 -14
index 2711a2df1..97f4f3a33 100644

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

testcases/kernel/syscalls/getcwd/getcwd04.c +1 -10
index ba8c358f6..2fa65fb2c 100644

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

testcases/kernel/syscalls/getpriority/getpriority01.c +3 -15
index c7cccbc51..422df17ea 100644

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

testcases/kernel/syscalls/getpriority/getpriority02.c +3 -15
index b771780c4..6b161dc47 100644

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

testcases/kernel/syscalls/getrandom/getrandom01.c +3 -24
index d449fbd81..ccbd2864f 100644

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

testcases/kernel/syscalls/getrandom/getrandom02.c +4 -25
index e7d03e799..ee0193df9 100644

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

testcases/kernel/syscalls/getrandom/getrandom03.c +4 -28
index d7081fed8..705f9b288 100644

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

testcases/kernel/syscalls/getrandom/getrandom04.c +4 -28
index 26df42348..465e353e4 100644

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

testcases/kernel/syscalls/getsockopt/getsockopt02.c +1 -13
index edf9dd82f..47aef32af 100644

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

testcases/kernel/syscalls/gettimeofday/gettimeofday02.c +1 -14
index 8c221a2c2..1d60f448e 100644

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

testcases/kernel/syscalls/getxattr/getxattr04.c +1 -13
index 1dcb14da3..ad83e3ec6 100644

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

testcases/kernel/syscalls/inotify/inotify01.c +2 -21
index eee98b4fa..8f1547d46 100644

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

testcases/kernel/syscalls/inotify/inotify02.c +2 -21
index 21e7fb3e8..32855e082 100644

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

testcases/kernel/syscalls/inotify/inotify03.c +3 -22
index 7363df01b..1b4685204 100644

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

testcases/kernel/syscalls/inotify/inotify04.c +3 -25
index 2cc20fb61..fb9f5c293 100644

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

testcases/kernel/syscalls/inotify/inotify05.c +2 -17
index fa45d09bf..15dc5b569 100644

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

testcases/kernel/syscalls/inotify/inotify06.c +2 -17
index 8ea504952..96189b082 100644

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

testcases/kernel/syscalls/inotify/inotify07.c +2 -21
index 7099e8dbf..a4894ffc7 100644

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

testcases/kernel/syscalls/inotify/inotify08.c +2 -22
index 73fdf497f..41bb5157f 100644

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

testcases/kernel/syscalls/inotify/inotify09.c +2 -15
index e6fed7d9d..ff7379252 100644

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

testcases/kernel/syscalls/io_destroy/io_destroy01.c +1 -14
index e5ab18812..560d7b3fb 100644

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

testcases/kernel/syscalls/io_setup/io_setup01.c +1 -14
index 617689bac..4693f8fbb 100644

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

testcases/kernel/syscalls/io_submit/io_submit01.c +1 -14
index f4f9933f6..afa077c59 100644

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

testcases/kernel/syscalls/ioctl/ioctl03.c +7 -27
index bf3107f0a..3d4ac3e24 100644

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

testcases/kernel/syscalls/ioctl/ioctl04.c +1 -13
index 2a7005532..efbe9ce53 100644

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

testcases/kernel/syscalls/ioctl/ioctl05.c +1 -13
index 459efdbed..a53e8adbe 100644

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

testcases/kernel/syscalls/ioctl/ioctl06.c +1 -13
index 6fc6443d5..6e56beeef 100644

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

testcases/kernel/syscalls/ioctl/ioctl07.c +1 -13
index fb1117899..c1de7137c 100644

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

testcases/kernel/syscalls/ipc/libnewipc/libnewipc.c +1 -13
index 0369add4e..b909cb7e6 100644

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

testcases/kernel/syscalls/ipc/msgctl/msgctl01.c +2 -15
index df14264e5..75adcb229 100644

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

testcases/kernel/syscalls/ipc/msgctl/msgctl02.c +2 -15
index fca49f3dd..1ace62f11 100644

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

testcases/kernel/syscalls/ipc/msgctl/msgctl03.c +1 -11
index 707fe2b04..cc7abd4b9 100644

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

testcases/kernel/syscalls/ipc/msgctl/msgctl04.c +2 -15
index 8e4af8386..900b22244 100644

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

testcases/kernel/syscalls/ipc/msgctl/msgctl12.c +1 -11
index 403a57e89..73eead744 100644

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

testcases/kernel/syscalls/ipc/msgget/msgget01.c +2 -14
index ae9e0acdf..5b7c6e3af 100644

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

testcases/kernel/syscalls/ipc/msgget/msgget02.c +2 -14
index 00f7fa802..a8fac930b 100644

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

testcases/kernel/syscalls/ipc/msgget/msgget03.c +2 -14
index c117710cf..8fa620855 100644

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

testcases/kernel/syscalls/ipc/msgsnd/msgsnd01.c +2 -14
index e05df010d..fca7c6789 100644

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

testcases/kernel/syscalls/ipc/msgsnd/msgsnd02.c +2 -14
index 1b5f2e346..24ef6c562 100644

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

testcases/kernel/syscalls/ipc/msgsnd/msgsnd05.c +2 -14
index afadb1e98..e169831e0 100644

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

testcases/kernel/syscalls/ipc/msgsnd/msgsnd06.c +2 -14
index 56f75eb6c..e7855e844 100644

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

testcases/kernel/syscalls/ipc/shmat/shmat01.c +2 -15
index b46ba6831..aa9dfd4e5 100644

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

testcases/kernel/syscalls/ipc/shmat/shmat02.c +2 -14
index 046a940fc..08bb12267 100644

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

testcases/kernel/syscalls/ipc/shmat/shmat03.c +1 -13
index 083462675..13ea39c63 100644

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

testcases/kernel/syscalls/ipc/shmctl/shmctl05.c +1 -13
index ecae202e8..b24fd1d11 100644

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

testcases/kernel/syscalls/kcmp/kcmp01.c +1 -14
index f37fff1bd..31c2ef3b1 100644

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

testcases/kernel/syscalls/kcmp/kcmp02.c +1 -14
index 189518ff2..1885dc968 100644

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

testcases/kernel/syscalls/kcmp/kcmp03.c +1 -13
index a1154894e..30ac3ec9d 100644

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

testcases/kernel/syscalls/keyctl/keyctl01.c +1 -13
index d826a8c42..55e069c68 100644

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

testcases/kernel/syscalls/keyctl/keyctl02.c +1 -13
index be5ad85d4..b034275d2 100644

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

testcases/kernel/syscalls/keyctl/keyctl03.c +1 -13
index 90e00f8bc..fd8b30b62 100644

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

testcases/kernel/syscalls/keyctl/keyctl04.c +1 -13
index 6e1b4b3e3..d30d25b04 100644

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

testcases/kernel/syscalls/keyctl/keyctl05.c +1 -13
index e2ed8ad48..653b838f5 100644

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

testcases/kernel/syscalls/keyctl/keyctl06.c +1 -13
index bab26ee5c..065d482f3 100644

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

testcases/kernel/syscalls/keyctl/keyctl07.c +1 -13
index e067ac01d..69199af69 100644

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

testcases/kernel/syscalls/keyctl/keyctl08.c +1 -13
index fca5c34de..2ed9c901c 100644

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

testcases/kernel/syscalls/lgetxattr/lgetxattr01.c +1 -11
index 1165db00b..b9669b214 100644

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

testcases/kernel/syscalls/lgetxattr/lgetxattr02.c +1 -12
index c29d5c02a..183239a26 100644

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

testcases/kernel/syscalls/link/link08.c +1 -14
index 775c0c27b..d3e33d077 100644

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

testcases/kernel/syscalls/listxattr/listxattr01.c +1 -13
index a59547b19..62198b2a7 100644

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

testcases/kernel/syscalls/listxattr/listxattr02.c +1 -13
index 33f57d567..98a0985b3 100644

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

testcases/kernel/syscalls/listxattr/listxattr03.c +1 -13
index dcfb6b1c4..4c1e7f16c 100644

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

testcases/kernel/syscalls/llistxattr/llistxattr01.c +1 -11
index 98c1bdfce..f59413265 100644

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

testcases/kernel/syscalls/llistxattr/llistxattr02.c +1 -11
index d239e97bf..6974f013b 100644

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

testcases/kernel/syscalls/llistxattr/llistxattr03.c +1 -11
index a62bc214e..940851f40 100644

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

testcases/kernel/syscalls/lseek/lseek01.c +2 -14
index e7753fd29..22d9fbfd7 100644

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

testcases/kernel/syscalls/lseek/lseek02.c +1 -18
index 0387d63be..e651d58cc 100644

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

testcases/kernel/syscalls/lseek/lseek07.c +2 -14
index 50732854a..ae6f48f37 100644

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

testcases/kernel/syscalls/lseek/lseek11.c +16 -31

47 lines not on this page · raw message

testcases/kernel/syscalls/madvise/madvise01.c +2 -11
index ae08db67d..de5daf34a 100644

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

testcases/kernel/syscalls/madvise/madvise02.c +2 -11
index f0c1af991..bbc99e8af 100644

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

testcases/kernel/syscalls/madvise/madvise05.c +1 -10
index b38a12f79..0aa652052 100644

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

testcases/kernel/syscalls/madvise/madvise06.c +1 -13
index c40aef851..9a4b0829b 100644

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

testcases/kernel/syscalls/madvise/madvise07.c +1 -13
index 170642ada..ca76d237b 100644

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

testcases/kernel/syscalls/madvise/madvise08.c +1 -13
index a6fd9671c..04fcd1205 100644

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

testcases/kernel/syscalls/madvise/madvise09.c +1 -13
index f744405f2..01075f641 100644

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

testcases/kernel/syscalls/madvise/madvise10.c +1 -10
index ca0b9f39b..d73d9aabc 100644

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

testcases/kernel/syscalls/mbind/mbind01.c +1 -13
index 72345d07b..cd1027ce5 100644

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

testcases/kernel/syscalls/memfd_create/memfd_create01.c +1 -11
index 6a84899b5..fdd37f64b 100644

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

testcases/kernel/syscalls/memfd_create/memfd_create02.c +1 -11
index 80cd5c405..f547e1424 100644

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

testcases/kernel/syscalls/memfd_create/memfd_create03.c +1 -10
index d92033a24..0502a2d19 100644

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

testcases/kernel/syscalls/memfd_create/memfd_create04.c +1 -10
index cbbdc5ff7..659431cd9 100644

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

testcases/kernel/syscalls/memfd_create/memfd_create_common.c +1 -11
index 7a84eba05..a52b02a56 100644

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

testcases/kernel/syscalls/migrate_pages/migrate_pages02.c +1 -20
index f5623b12c..e6e2fdff3 100644

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

testcases/kernel/syscalls/migrate_pages/migrate_pages03.c +1 -13
index 7317b1128..f5d793f8b 100644

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

testcases/kernel/syscalls/mkdir/mkdir02.c +2 -14
index 000cdedab..f09e3c33d 100644

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

testcases/kernel/syscalls/mkdir/mkdir03.c +3 -16
index 8cadf9c21..5428cc70d 100644

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

testcases/kernel/syscalls/mkdir/mkdir04.c +2 -14
index 5b6519884..87512a4be 100644

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

testcases/kernel/syscalls/mkdir/mkdir05.c +3 -15
index bc029c3c7..5cd125dab 100644

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

testcases/kernel/syscalls/mkdirat/mkdirat02.c +1 -12
index fbe172e11..ebc0ed16b 100644

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

testcases/kernel/syscalls/mmap/mmap12.c +1 -14
index 05ace6a0c..2c0ebfb22 100644

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

testcases/kernel/syscalls/mq_notify/mq_notify01.c +1 -13
index c1d789d5b..9083e0de0 100644

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

testcases/kernel/syscalls/mq_open/mq_open01.c +1 -14
index 58067cfa4..cd2a229d8 100644

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

testcases/kernel/syscalls/mq_unlink/mq_unlink01.c +1 -14
index 8c9126de5..af79d9571 100644

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

testcases/kernel/syscalls/msync/msync04.c +1 -13
index 9dec3c1d9..04ad1379b 100644

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

testcases/kernel/syscalls/nice/nice01.c +3 -16
index 82791a52a..04ca17a1e 100644

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

testcases/kernel/syscalls/nice/nice02.c +3 -16
index 03fd17182..65c612265 100644

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

testcases/kernel/syscalls/nice/nice03.c +3 -16
index 17200179a..6047dd4cc 100644

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

testcases/kernel/syscalls/nice/nice04.c +3 -16
index 56d76f8c6..1d64311b3 100644

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

testcases/kernel/syscalls/open/open01.c +3 -16
index cecb77e0b..c689a4b9b 100644

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

testcases/kernel/syscalls/open/open02.c +3 -16
index 4b1f5b4db..7195b1b6c 100644

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

testcases/kernel/syscalls/open/open08.c +1 -14
index fb19a805d..29a23c2f7 100644

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

testcases/kernel/syscalls/pause/pause01.c +1 -12
index 3afa78927..d44e7972a 100644

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

testcases/kernel/syscalls/pipe/pipe01.c +1 -13
index 0c681b300..8767cf450 100644

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

testcases/kernel/syscalls/pipe/pipe02.c +2 -14
index 9afb8f8a7..204091163 100644

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

testcases/kernel/syscalls/pipe/pipe03.c +2 -14
index 77496b615..89c0911c1 100644

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

testcases/kernel/syscalls/pipe/pipe11.c +3 -16
index d71d87aee..771709161 100644

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

testcases/kernel/syscalls/poll/poll01.c +3 -16
index 4e82d0323..11665c404 100644

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

testcases/kernel/syscalls/ppoll/ppoll01.c +1 -10
index 5bfab254d..2fadd0653 100644

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

testcases/kernel/syscalls/preadv/preadv01.c +1 -11
index 2b4ad5e20..2452f216a 100644

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

testcases/kernel/syscalls/preadv/preadv02.c +1 -11
index 9935e3835..12d93da43 100644

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

testcases/kernel/syscalls/preadv/preadv03.c +1 -13
index f09325df5..c456d4105 100644

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

testcases/kernel/syscalls/pselect/pselect03.c +1 -13
index d93ee5dd2..b185373ed 100644

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

testcases/kernel/syscalls/ptrace/ptrace07.c +1 -13
index 9cbaefc3f..ab8983554 100644

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

testcases/kernel/syscalls/pwrite/pwrite02.c +2 -15
index 57aba4346..056d44da2 100644

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

testcases/kernel/syscalls/pwrite/pwrite03.c +1 -13
index efc7747b7..6f53f5c08 100644

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

testcases/kernel/syscalls/pwritev/pwritev01.c +1 -11
index 76fcc6e66..1ee783855 100644

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

testcases/kernel/syscalls/pwritev/pwritev02.c +1 -11
index 9d8ff8725..82792df27 100644

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

testcases/kernel/syscalls/pwritev/pwritev03.c +1 -13
index ad24124c2..f32c368c0 100644

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

testcases/kernel/syscalls/quotactl/quotactl01.c +1 -17
index 92b654eba..bcb1b842c 100644

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

testcases/kernel/syscalls/quotactl/quotactl02.c +1 -12
index d8b1784de..7e74840e4 100644

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

testcases/kernel/syscalls/quotactl/quotactl03.c +1 -13
index aea5735ee..32a281482 100644

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

testcases/kernel/syscalls/read/read01.c +1 -28
index 68aea0917..0bae2ee2f 100644

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

testcases/kernel/syscalls/read/read02.c +3 -16
index a92f95786..9199a95f6 100644

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

testcases/kernel/syscalls/readlink/readlink01.c +3 -12
index 0b7f52f29..389ba1fee 100644

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

testcases/kernel/syscalls/readlink/readlink03.c +3 -12
index d757cf7fc..01ff304d8 100644

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

testcases/kernel/syscalls/recvmsg/recvmsg02.c +1 -13
index c2c600924..a94f45bfe 100644

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

testcases/kernel/syscalls/recvmsg/recvmsg03.c +1 -11
index d85be878f..b641b95d8 100644

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

testcases/kernel/syscalls/request_key/request_key01.c +1 -11
index db7ff1537..251534efe 100644

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

testcases/kernel/syscalls/request_key/request_key02.c +2 -12
index e6123018e..89a78142e 100644

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

testcases/kernel/syscalls/request_key/request_key03.c +1 -13
index 9996a6f87..6f4a5630f 100644

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

testcases/kernel/syscalls/request_key/request_key04.c +1 -13
index 9e4c0bfac..6609517eb 100644

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

testcases/kernel/syscalls/request_key/request_key05.c +1 -13
index 028e25f1d..aa2f3a7c6 100644

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

testcases/kernel/syscalls/rmdir/rmdir01.c +2 -14
index c8544b76f..cf516cb98 100644

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

testcases/kernel/syscalls/rmdir/rmdir02.c +3 -15
index 3f3669213..cb0aec857 100644

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

testcases/kernel/syscalls/rmdir/rmdir03.c +2 -14
index d3ad5b5ef..526cf8ee3 100644

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

testcases/kernel/syscalls/rt_sigsuspend/rt_sigsuspend01.c +4 -8
index e577cf227..511d5fcb2 100644

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

testcases/kernel/syscalls/sbrk/sbrk03.c +1 -13
index 85686245f..761a01c9d 100644

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

testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler03.c +1 -13
index dd3853b1e..22f4e34f4 100644

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

testcases/kernel/syscalls/sendto/sendto02.c +1 -11
index 5c272d144..5c9f00125 100644

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

testcases/kernel/syscalls/setpriority/setpriority01.c +2 -14
index b93a42aa6..ffd7499c4 100644

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

testcases/kernel/syscalls/setpriority/setpriority02.c +2 -14
index 01a4c8108..85fb0dfab 100644

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

testcases/kernel/syscalls/setrlimit/setrlimit02.c +3 -16
index 77adaf082..260f1e00a 100644

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

testcases/kernel/syscalls/setrlimit/setrlimit03.c +2 -15
index 12455fe05..7525b877d 100644

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

testcases/kernel/syscalls/setrlimit/setrlimit04.c +10 -20
index 5b6c958c3..5648f5103 100644

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

testcases/kernel/syscalls/setrlimit/setrlimit05.c +1 -10
index 004a149a6..077399e83 100644

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

testcases/kernel/syscalls/setsockopt/setsockopt02.c +1 -13
index 474df245f..dc9db2d43 100644

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

testcases/kernel/syscalls/setsockopt/setsockopt03.c +1 -13
index 2d99865b7..14fdf400b 100644

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

testcases/kernel/syscalls/setuid/setuid01.c +2 -14
index 1b866a5e8..0a0a03a48 100644

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

testcases/kernel/syscalls/setuid/setuid03.c +2 -14
index 8e1bf7d56..f2e007f8d 100644

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

testcases/kernel/syscalls/setuid/setuid04.c +2 -14
index c37fac847..5f4ee1d47 100644

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

testcases/kernel/syscalls/setxattr/setxattr01.c +1 -20
index c1ac84846..8b84dfe0d 100644

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

testcases/kernel/syscalls/setxattr/setxattr02.c +1 -20
index b947990b6..9796f9a52 100644

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

testcases/kernel/syscalls/socket/socket01.c +2 -14
index 6107274cb..467154834 100644

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

testcases/kernel/syscalls/socket/socket02.c +2 -14
index 05841638c..afe9dc129 100644

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

testcases/kernel/syscalls/socketcall/socketcall01.c +1 -13
index f7128a734..a8f6649a6 100644

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

testcases/kernel/syscalls/socketpair/socketpair01.c +2 -14
index a61f268cc..7c301f681 100644

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

testcases/kernel/syscalls/socketpair/socketpair02.c +2 -14
index ca24915ee..72ca0e816 100644

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

testcases/kernel/syscalls/splice/splice01.c +2 -15
index a975ccb9a..e1c60f556 100644

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

testcases/kernel/syscalls/splice/splice02.c +6 -23
index a59703e76..b579667b9 100644

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

testcases/kernel/syscalls/splice/splice03.c +1 -12
index 12326d2a2..85bc1ba1c 100644

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

testcases/kernel/syscalls/splice/splice04.c +2 -19
index 852dd0569..ce3895185 100644

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

testcases/kernel/syscalls/splice/splice05.c +1 -14
index 3f6e85d75..a800adc02 100644

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

testcases/kernel/syscalls/switch/endian_switch01.c +1 -13
index 777280afb..5038fea94 100644

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

testcases/kernel/syscalls/syscall/syscall01.c +2 -15
index 1173c31ae..167e6ee86 100644

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

testcases/kernel/syscalls/sysctl/sysctl03.c +2 -11
index 820ab0bfe..ea41f9d09 100644

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

testcases/kernel/syscalls/sysctl/sysctl04.c +2 -11
index 059307082..9c620fad8 100644

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

testcases/kernel/syscalls/tee/tee01.c +5 -24
index 7e64779ba..db2ac1e0c 100644

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

testcases/kernel/syscalls/tee/tee02.c +1 -12
index 744d51a87..21296e968 100644

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

testcases/kernel/syscalls/times/times03.c +2 -15
index 7911c03ce..c73fc0e8a 100644

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

testcases/kernel/syscalls/umask/umask01.c +2 -15
index 87bfcdcf8..5d6aedaac 100644

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

testcases/kernel/syscalls/umount/umount01.c +5 -18
index b959356fb..fb5384434 100644

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

testcases/kernel/syscalls/umount/umount02.c +10 -24
index ad8783e29..cd67aa6d2 100644

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

testcases/kernel/syscalls/umount/umount03.c +4 -17
index 3042aeac2..28309a305 100644

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

testcases/kernel/syscalls/uname/uname04.c +1 -13
index e4d9e8f00..2d0851c8b 100644

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

testcases/kernel/syscalls/unlink/unlink05.c +1 -13
index 8d10052ce..adb90fa68 100644

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

testcases/kernel/syscalls/unlink/unlink07.c +1 -13
index 04cd78342..869bd5f51 100644

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

testcases/kernel/syscalls/unlink/unlink08.c +1 -13
index f1a778f9e..f3ce46ad8 100644

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

testcases/kernel/syscalls/utils/mq.h +1 -13
index b55228c88..da45d2daf 100644

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

testcases/kernel/syscalls/utimes/utimes01.c +1 -14
index c6ee75c59..2bfc1654b 100644

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

testcases/kernel/syscalls/vmsplice/vmsplice01.c +5 -24
index 882e198a6..833af239f 100644

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

testcases/kernel/syscalls/vmsplice/vmsplice02.c +1 -12
index ec9fb8239..978633d31 100644

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

testcases/kernel/syscalls/wait4/wait401.c +2 -15
index 77151ea85..fa0de693a 100644

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

testcases/kernel/syscalls/waitpid/waitpid01.c +2 -15
index efbc26e5a..6e03acef6 100644

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

testcases/kernel/syscalls/waitpid/waitpid09.c +2 -19
index 78119379f..ccff64c41 100644

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

testcases/kernel/syscalls/waitpid/waitpid_common.h +1 -14
index 1e600aef2..be52f2791 100644

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

testcases/kernel/syscalls/write/write01.c +1 -19
index 592920b6d..6e997bacd 100644

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

testcases/kernel/syscalls/write/write02.c +1 -13
index 34b9ae089..2f630ab65 100644

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

testcases/kernel/syscalls/write/write03.c +2 -15
index 7e3ec98df..538079fec 100644

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

testcases/kernel/syscalls/write/write04.c +2 -15
index 4ca8eca88..a765d91b7 100644

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

testcases/kernel/syscalls/write/write05.c +2 -15
index 023b04a68..79769621c 100644

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

testcases/kernel/syscalls/writev/writev01.c +2 -14
index 539b529b8..a59ce66b0 100644

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

testcases/kernel/syscalls/writev/writev07.c +1 -10
index ec883ed15..b725f08db 100644

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

testcases/lib/tst_checkpoint.c +1 -14
index 57c7bc1bb..c70c4e8e5 100644

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

testcases/lib/tst_device.c +1 -14
index 1cfdc962c..dc47d6f03 100644

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

testcases/lib/tst_kvcmp.c +1 -14
index 06632a278..0f5793ef1 100644

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

testcases/lib/tst_net_iface_prefix.c +1 -13
index a9e388244..a40a8edc2 100644

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

testcases/lib/tst_net_ip_prefix.c +1 -13
index 92f80e07e..2ac06e724 100644

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

testcases/lib/tst_net_vars.c +1 -13
index 43cd92bcf..e9f0c0404 100644

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

testcases/network/lib6/in6_01.c +3 -18
index cb1801191..2e4b5c563 100644

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

testcases/network/lib6/in6_02.c +2 -16
index 6cc0242f9..f6c99f7b2 100644

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

testcases/network/netstress/netstress.c +1 -15
index 06882b1b3..413f20a9d 100644

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

testcases/network/nfs/nfs_stress/nfs05_make_tree.c +2 -16
index c4cbd0566..25809e1a3 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.21.0

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

author
#3 lore raw

PATCH 3/3 sh: Replace GPL verbose text by SPDX license identifier

In reply to Petr Vorel

in tests which use new shell API.
+ other minor cleanup.

---
 testcases/commands/ar/ar01                    | 24 ++-------
 testcases/commands/cp/cp_tests.sh             | 27 ++--------
 testcases/commands/cpio/cpio_tests.sh         | 24 +--------
 testcases/commands/df/df01.sh                 | 13 +----
 testcases/commands/du/du01.sh                 | 17 +-----
 testcases/commands/eject/eject-tests.sh       | 26 ++-------
 testcases/commands/file/file01.sh             | 25 ++-------
 testcases/commands/gdb/gdb01.sh               | 23 ++------
 testcases/commands/gzip/gzip_tests.sh         | 34 +++---------
 testcases/commands/insmod/insmod01.sh         | 15 +-----
 testcases/commands/keyctl/keyctl01.sh         | 16 +-----
 testcases/commands/ld/ld01                    | 24 ++-------
 testcases/commands/ldd/ldd01                  | 30 ++---------
 testcases/commands/ln/ln_tests.sh             | 27 ++--------
 testcases/commands/lsmod/lsmod01.sh           | 16 ++----
 testcases/commands/mkdir/mkdir_tests.sh       | 25 ++-------
 testcases/commands/mkfs/mkfs01.sh             | 13 +----
 testcases/commands/mkswap/mkswap01.sh         | 13 +----
 testcases/commands/mv/mv_tests.sh             | 34 +++---------
 testcases/commands/nm/nm01                    | 24 ++-------
 testcases/commands/sysctl/sysctl01.sh         | 16 +-----
 testcases/commands/tar/tar_tests.sh           | 26 ++-------
 testcases/commands/unshare/unshare01.sh       | 13 +----
 testcases/commands/unzip/unzip01.sh           | 26 ++-------
 testcases/commands/wc/wc01.sh                 | 13 +----
 testcases/commands/which/which01.sh           | 13 +----
 .../kernel/controllers/cpuacct/cpuacct.sh     | 35 +++---------
 testcases/kernel/controllers/pids/pids.sh     | 29 ++--------
 testcases/kernel/mem/vma/vma05.sh             | 44 +++++----------
 testcases/kernel/numa/numa01.sh               | 53 ++++++-------------
 .../security/integrity/ima/tests/ima_setup.sh | 15 +-----
 .../tracing/dynamic_debug/dynamic_debug01.sh  | 31 +++--------
 testcases/lib/tst_test.sh                     | 22 ++------
 33 files changed, 131 insertions(+), 655 deletions(-)
testcases/commands/ar/ar01 +4 -20
index 0252c6d56..48b54c376 100644
@@ -1,27 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
-# Copyright (c) International Business Machines  Corp., 2000
-#  06/01 Robbie Williamson ([email protected])
+# Copyright (c) International Business Machines Corp., 2000
 # Copyright (c) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
-#
-#-----------------------------------------------------------------------
+# Author: Robbie Williamson <[email protected]>
 #
 # This is a basic ar command test.
-#
+
 AR="${AR:=ar}"
 TST_CNT=17
 TST_SETUP=setup
testcases/commands/cp/cp_tests.sh +5 -22
index 30bb183a7..952f3138c 100755
@@ -1,28 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-##  Author:       Manoj Iyer, [email protected]                           ##
-## Copyright (c) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Copyright (c) 2016 Cyril Hrubis <[email protected]>
+# Author: Manoj Iyer <[email protected]>
 #
 # Tests basic cp functionality
-#
+
 TST_CNT=5
 TST_TESTFUNC=do_test
 TST_SETUP=setup
testcases/commands/cpio/cpio_tests.sh +2 -22
index 9ebfb10ad..b110a550a 100755
@@ -1,28 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-##  Author: Manoj Iyer, [email protected]                                 ##
-## Copyright (c) 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
 #
 # Test basic functionality of cpio command
-#
+
 TST_TESTFUNC=cpio_test
 TST_NEEDS_TMPDIR=1
 TST_NEEDS_CMDS="cpio"
testcases/commands/df/df01.sh +1 -12
index 9b0be76fe..3b977801f 100755
@@ -1,20 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # Copyright (c) 2015 Fujitsu Ltd.
 # Author: Zhang Jin <[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.
-#
 # Test df command with some basic options.
-#
 
 TST_CNT=12
 TST_SETUP=setup
testcases/commands/du/du01.sh +1 -16
index c75068255..041fef16d 100755
@@ -1,24 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # Copyright (c) 2015 Fujitsu Ltd.
 # Author: Zeng Linggang <[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
-#
 # Test du command with some basic options.
-#
 
 TST_CNT=23
 TST_SETUP=setup
testcases/commands/eject/eject-tests.sh +4 -22
index c1dcd584f..af71d1b13 100755
@@ -1,28 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-##  Author: Manoj Iyer, [email protected]                                 ##
-## Copyright (c) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Copyright (c) 2016 Cyril Hrubis <[email protected]>
+# Author: Manoj Iyer <[email protected]>
 #
 # Tests basic functionality of eject command.
-#
 
 TST_CNT=4
 TST_SETUP=setup
testcases/commands/file/file01.sh +4 -21
index 55c043348..8df59dcbb 100755
@@ -1,29 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-## Copyright (c) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Copyright (c) 2016 Cyril Hrubis <[email protected]>
 #
 # This program tests the file command. The tests are aimed at
 # testing if the file command can recognize some of the commonly
 # used file formats like, tar, tar.gz, rpm, C, ASCII, ELF etc.
-#
+
 TST_CNT=20
 TST_SETUP=setup
 TST_TESTFUNC=do_test
testcases/commands/gdb/gdb01.sh +3 -20
index e3a5b5193..d52993982 100755
@@ -1,26 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-
 # Copyright (C) 2017 Red Hat, 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, see <http://www.gnu.org/licenses/>.
-#
-
-# Test description: See if gdb can successfully attach to a process and
-#                   this process exits normally.
-
-# Usage
-# ./gdb01.sh
+# Test if gdb can successfully attach to a process and
+# this process exits normally.
 
 TST_TESTFUNC=simple_test
 TST_NEEDS_CMDS="gdb /bin/cat"
testcases/commands/gzip/gzip_tests.sh +8 -26
index 05ecb6fcd..d276de473 100755
@@ -1,32 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-## Author:       Manoj Iyer, [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 Street, Fifth Floor, Boston, MA 02110-1301 USA    ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Author: Manoj Iyer <[email protected]>
 #
-# Description:  Test basic functionality of gzip and gunzip command
-#		- Test #1:  Test that gzip -r will travel directories and
-#			    compress all the files available.
-#
-#		- Test #2:  Test that gunzip -r will travel directories and
-#			    uncompress all the files available.
+# Test basic functionality of gzip and gunzip command
+# Test #1: Test that gzip -r will travel directories and
+#  compress all the files available.
 #
+# Test #2: Test that gunzip -r will travel directories and
+# uncompress all the files available.
 
 TST_CNT=2
 TST_TESTFUNC=test
testcases/commands/insmod/insmod01.sh +2 -13
index a7835f9b9..f96cce791 100755
@@ -1,20 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # 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.
-#
-# Test the basic functionality of insmod command.
-#
+# Test basic functionality of insmod command.
 
 TST_CLEANUP=cleanup
 TST_TESTFUNC=do_test
testcases/commands/keyctl/keyctl01.sh +1 -15
index 3fda3893b..3dea06714 100644
@@ -1,21 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # Copyright (c) 2017 Fujitsu Ltd.
 # Ported: 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 would 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/>.
-#
 # This is a regression test about potential uninitialized variable,
 # the test can crash the buggy kernel, and the bug has been fixed in:
 #
@@ -24,7 +11,6 @@
 #   Date:   Thu Jun 16 15:48:57 2016 +0100
 #
 #   KEYS: potential uninitialized variable
-#
 
 TST_SETUP=setup
 TST_CLEANUP=cleanup
testcases/commands/ld/ld01 +4 -20
index 986ad1e60..3aee8022c 100755
@@ -1,26 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
-# Copyright (c) International Business Machines  Corp., 2000
-#  06/01 Robbie Williamson ([email protected])
+# Copyright (c) International Business Machines Corp., 2000
 # Copyright (c) 2016 Cyril Hrubis <[email protected]>
+# Author: Robbie Williamson <[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 Street, Fifth Floor, Boston, MA 02110-1301 USA
-#---------------------------------------------------------------------------
-#
-# Test the basic functionality of the `ld` command.
-#
+# Test basic functionality of the `ld` command.
 
 CC=${CC:=gcc}
 LD=${LD:=ld}
testcases/commands/ldd/ldd01 +4 -26
index cf2aac3c1..2936034f3 100755
@@ -1,31 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
+# Copyright (c) International Business Machines Corp., 2000
+# Author: Robbie Williamson <[email protected]>
 #
-#   Copyright (c) International Business Machines  Corp., 2000
-#
-#   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
-#
-#
-#
-#  FILE   : ldd01
-#
-#  PURPOSE: To test the basic functionality of the `ldd` command.
-#
-#  HISTORY:
-#    06/01 Robbie Williamson ([email protected])
-#     -Ported
-#---------------------------------------------------------------------------
+# test basic functionality of the `ldd` command.
 
 TST_CNT=2
 TST_SETUP=setup
testcases/commands/ln/ln_tests.sh +5 -22
index bc48bedb3..2a579eddf 100755
@@ -1,28 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-##  Author:       Manoj Iyer, [email protected]                           ##
-## Copyright (c) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Copyright (c) 2016 Cyril Hrubis <[email protected]>
+# Author: Manoj Iyer <[email protected]>
 #
 # Basic test for ln
-#
+
 TST_CNT=6
 TST_TESTFUNC=do_test
 TST_SETUP=setup
testcases/commands/lsmod/lsmod01.sh +3 -13
index 132a446c9..84e105b06 100755
@@ -1,20 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # 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.
-#
-# Test the basic functionality of lsmod command.
-#
+# Test basic functionality of lsmod command.
+
 TST_TESTFUNC=lsmod_test
 TST_NEEDS_TMPDIR=1
 TST_NEEDS_CMDS="lsmod"
testcases/commands/mkdir/mkdir_tests.sh +4 -21
index 990162bdb..a92c36d0d 100755
@@ -1,27 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-##  Author:       Manoj Iyer, [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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Author: Manoj Iyer <[email protected]>
 #
 # Basic mkdir tests
-#
+
 TST_CNT=3
 TST_SETUP=setup
 TST_TESTFUNC=test
testcases/commands/mkfs/mkfs01.sh +1 -12
index 88f7f0baa..b1d58afb7 100755
@@ -1,20 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # 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.
-#
 # Test mkfs command with some basic options.
-#
 
 TST_CNT=5
 TST_SETUP=setup
testcases/commands/mkswap/mkswap01.sh +1 -12
index 0c59f0ec4..a5815737b 100755
@@ -1,20 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # 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.
-#
 # Test mkswap command with some basic options.
-#
 
 TST_CNT=10
 TST_SETUP=setup
testcases/commands/mv/mv_tests.sh +8 -26
index ed5506616..d8db1b6e7 100755
@@ -1,31 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-## Author:       Manoj Iyer, [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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
-#
-# Description:  Test basic functionality of mv command
-#		- Test #1:  mv <dir1> <dir2>
-#		  move dir1 to dir2 and all its contents.
-#		- Test #2:  mv -b <file1> <file2>
-#		  move file1 to file2 and backup the file2.
+# Copyright (c) International Business Machines Corp., 2001
+# Author: Manoj Iyer <[email protected]>
 #
+# Test basic functionality of mv command
+# Test #1:  mv <dir1> <dir2>
+# move dir1 to dir2 and all its contents.
+# Test #2:  mv -b <file1> <file2>
+# move file1 to file2 and backup the file2.
 
 TST_CNT=2
 TST_SETUP=setup
testcases/commands/nm/nm01 +4 -20
index 39d5c9a21..8e6c9defe 100755
@@ -1,27 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
-# Copyright (c) International Business Machines  Corp., 2000
-#  06/01 Robbie Williamson ([email protected])
+# Copyright (c) International Business Machines Corp., 2000
 # Copyright (c) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
-#
-#---------------------------------------------------------------------------
+# Author: Robbie Williamson <[email protected]>
 #
 # Tests the basic functionality of the `nm` command.
-#
+
 NM=${NM:=nm}
 
 TST_CNT=7
testcases/commands/sysctl/sysctl01.sh +1 -15
index 7522da53d..b30b69c2d 100755
@@ -1,22 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-
 # Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
 # 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; if not, see <http://www.gnu.org/licenses/>.
-#
-# Description:
 # This is a regression test for invalid value of sysctl_sched_time_avg.
 # System will hang if user set sysctl_sched_time_avg to 0 on buggy kernel.
 #
testcases/commands/tar/tar_tests.sh +4 -22
index 946e9c7b1..c60c928dd 100755
@@ -1,28 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-##  Author: Manoj Iyer, [email protected]                                 ##
-## Copyright (c) 2016 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Copyright (c) 2016 Cyril Hrubis <[email protected]>
+# Author: Manoj Iyer <[email protected]>
 #
 # Creates, lists and extracts an plain, gzip and bzip tar archive.
-#
 
 TST_CNT=6
 TST_TESTFUNC=do_test
testcases/commands/unshare/unshare01.sh +1 -12
index 075511fd7..ea607368f 100755
@@ -1,18 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # Copyright (c) 2017 FUJITSU LIMITED. All rights reserved.
 # 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.
-#
 # Test unshare command with some basic options.
 # 1) If we run unshare with "--user", UID in the newly created user namespace
 #    is set to 65534.
@@ -35,7 +25,6 @@
 #    Please see the following URL for detailed information:
 #    http://man7.org/linux/man-pages/man7/user_namespaces.7.html
 #    http://man7.org/linux/man-pages/man7/mount_namespaces.7.html
-#
 
 TST_CNT=8
 TST_SETUP=setup
testcases/commands/unzip/unzip01.sh +4 -22
index 532afc0ce..b34d8da83 100755
@@ -1,28 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #! /bin/sh
-################################################################################
-##                                                                            ##
-## Copyright (c) International Business Machines  Corp., 2001                 ##
-##  Author:        Manoj Iyer, [email protected]                          ##
-## Copyright (c) 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 Street, Fifth Floor, Boston, MA 02110-1301 USA           ##
-##                                                                            ##
-################################################################################
+# Copyright (c) International Business Machines Corp., 2001
+# Copyright (c) Cyril Hrubis <[email protected]>
+# Author: Manoj Iyer <[email protected]>
 #
 # Tests basic functionality of unzip command.
-#
 
 TST_SETUP=setup
 TST_TESTFUNC=do_test
testcases/commands/wc/wc01.sh +1 -12
index 74d69e254..3688ed8b6 100755
@@ -1,20 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # 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.
-#
 # Test wc command with some basic options.
-#
 
 TST_CNT=12
 TST_SETUP=setup
testcases/commands/which/which01.sh +1 -12
index 0bd698ed9..af2d3e065 100755
@@ -1,20 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # 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.
-#
 # Test which command with some basic options.
-#
 
 TST_CNT=10
 TST_SETUP=setup
testcases/kernel/controllers/cpuacct/cpuacct.sh +6 -29
index 5e90b05ad..b0f75a419 100755
@@ -1,39 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-
-################################################################################
-##                                                                            ##
-## Copyright (c) 2015 SUSE                                                    ##
-##                                                                            ##
-## 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                                                                        ##
-##                                                                            ##
-## Author: Cedric Hnyda <[email protected]>                                     ##
-##                                                                            ##
-################################################################################
-
+# Copyright (c) 2015 SUSE
+# Author: Cedric Hnyda <[email protected]>
+#
 # Usage
 # ./cpuacct.sh nbsubgroup nbprocess
-#
-# 1) nbsubgroup : number of subgroup to create
-# 2) nbprocess : number of process to attach to each subgroup
+# nbsubgroup: number of subgroup to create
+# nbprocess: number of process to attach to each subgroup
 #
 # Description
-#
 # 1) Find if cpuacct is mounted, if not mounted, cpuacct will be mounted
 # 2) Check that sum ltp_test/subgroup*/cpuacct.usage = ltp_test/cpuacct.usage
-#
 
 TST_SETUP=setup
 TST_CLEANUP=cleanup
testcases/kernel/controllers/pids/pids.sh +4 -25
index fab33c415..7c8b717dc 100755
@@ -1,31 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-
-################################################################################
-##                                                                            ##
-## Copyright (c) 2015 SUSE                                                    ##
-##                                                                            ##
-## 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                                                                        ##
-##                                                                            ##
-## Author: Cedric Hnyda <[email protected]>                                     ##
-##                                                                            ##
-################################################################################
-
+# Copyright (c) 2015 SUSE
+# Author: Cedric Hnyda <[email protected]>
 # Usage
 # ./pids.sh caseno max
-#
+
 TST_CLEANUP=cleanup
 TST_SETUP=setup
 TST_TESTFUNC=do_test
testcases/kernel/mem/vma/vma05.sh +13 -31

51 lines not on this page · raw message

testcases/kernel/numa/numa01.sh +16 -37

66 lines not on this page · raw message

testcases/kernel/security/integrity/ima/tests/ima_setup.sh +1 -14
index 52551190a..f7fb4d63c 100644
@@ -1,20 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
 # Copyright (c) 2009 IBM Corporation
 # Copyright (c) 2018 Petr Vorel <[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 would 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/>.
-#
 # Author: Mimi Zohar, [email protected]
 
 TST_TESTFUNC="test"
testcases/kernel/tracing/dynamic_debug/dynamic_debug01.sh +7 -24
index 4cd43baf2..bd0cffebb 100755
@@ -1,31 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-
 # Copyright (C) 2017 Red Hat, 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, see <http://www.gnu.org/licenses/>.
-#
-#
-# Test description: Test functionality of dynamic debug feature by enabling
-#                   and disabling traces with available flags. Check that these
-#                   settings don't cause issues by searching dmesg.
-#
-#                   This test handles changes of dynamic debug interface from
-#                   commits 5ca7d2a6 (dynamic_debug: describe_flags with
-#                   '=[pmflt_]*') and 8ba6ebf5 (Dynamic debug: Add more flags)
+# Test functionality of dynamic debug feature by enabling
+# and disabling traces with available flags. Check that these
+# settings don't cause issues by searching dmesg.
 #
-# Usage
-# ./dynamic_debug01.sh
+# This test handles changes of dynamic debug interface from
+# commits 5ca7d2a6 (dynamic_debug: describe_flags with
+# '=[pmflt_]*') and 8ba6ebf5 (Dynamic debug: Add more flags)
 
 TST_TESTFUNC=ddebug_test
 TST_NEEDS_CMDS="awk /bin/echo"
testcases/lib/tst_test.sh +3 -19
index 512732315..932a6dd63 100644
@@ -1,25 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
 #!/bin/sh
-#
 # Copyright (c) Linux Test Project, 2014-2018
+# Author: 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Written by Cyril Hrubis <[email protected]>
-#
-# This is a LTP test library for shell.
-#
+# LTP test library for shell.
 
 [ -n "$TST_LIB_LOADED" ] && return 0
 
Signature · 1 line
2.21.0
author
#4 lore raw

PATCH 3/3 sh: Replace GPL verbose text by SPDX license identifier

Hi,

This one is wrong, shebang should be before SPDX.

Kind regards,
Petr

#5 lore raw

PATCH 3/3 sh: Replace GPL verbose text by SPDX license identifier

Hi!

Quoted 1 line

This one is wrong, shebang should be before SPDX.

Just fix this and push the patchset, otherwise this is obviously Ok.

Signature · 2 lines
Cyril Hrubis
[email protected]
author
#6 lore raw

PATCH 3/3 sh: Replace GPL verbose text by SPDX license identifier

Hi Cyril,

Quoted 4 lines

Hi!

Quoted 1 line

This one is wrong, shebang should be before SPDX.

Just fix this and push the patchset, otherwise this is obviously Ok.

Thanks, merged with your ack.

Kind regards,
Petr