diff options
author | Ammar Faizi <ammarfaizi2@gnuweeb.org> | 2022-02-23 17:04:14 +0700 |
---|---|---|
committer | Ammar Faizi <ammarfaizi2@gnuweeb.org> | 2022-02-23 17:06:36 +0700 |
commit | d36db0b72b9399623dee12b61069845d8e1bfa05 (patch) | |
tree | 1edd9d897e25c20fe5b97bebcdee565eb1b72d97 | |
parent | f1c6277d4a6ea120c4800903ae0ba4c659c20bab (diff) | |
download | liburing-d36db0b72b9399623dee12b61069845d8e1bfa05.tar.gz liburing-d36db0b72b9399623dee12b61069845d8e1bfa05.tar.bz2 |
test: Add missing SPDX-License-Identifier
This adds missing SPDX-License-Identifier for:
test/ce593a6c480a-test.c
test/double-poll-crash.c
test/exec-target.c
test/lfs-openat-write.c
test/lfs-openat.c
test/pipe-eof.c
test/pollfree.c
test/sendmsg_fs_cve.c
test/skip-cqe.c
test/splice.c
test/sq-poll-kthread.c
test/sqpoll-cancel-hang.c
test/sqpoll-disable-exit.c
test/sqpoll-exit-hang.c
test/sqpoll-sleep.c
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
-rw-r--r-- | test/ce593a6c480a-test.c | 1 | ||||
-rw-r--r-- | test/double-poll-crash.c | 1 | ||||
-rw-r--r-- | test/exec-target.c | 2 | ||||
-rw-r--r-- | test/lfs-openat-write.c | 2 | ||||
-rw-r--r-- | test/lfs-openat.c | 2 | ||||
-rw-r--r-- | test/pipe-eof.c | 2 | ||||
-rw-r--r-- | test/pollfree.c | 1 | ||||
-rw-r--r-- | test/sendmsg_fs_cve.c | 1 | ||||
-rw-r--r-- | test/skip-cqe.c | 1 | ||||
-rw-r--r-- | test/splice.c | 1 | ||||
-rw-r--r-- | test/sq-poll-kthread.c | 1 | ||||
-rw-r--r-- | test/sqpoll-cancel-hang.c | 1 | ||||
-rw-r--r-- | test/sqpoll-disable-exit.c | 1 | ||||
-rw-r--r-- | test/sqpoll-exit-hang.c | 1 | ||||
-rw-r--r-- | test/sqpoll-sleep.c | 1 |
15 files changed, 19 insertions, 0 deletions
diff --git a/test/ce593a6c480a-test.c b/test/ce593a6c480a-test.c index c6949f0..47de128 100644 --- a/test/ce593a6c480a-test.c +++ b/test/ce593a6c480a-test.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Test 5.7 regression with task_work not being run while a task is * waiting on another event in the kernel. diff --git a/test/double-poll-crash.c b/test/double-poll-crash.c index e932bec..5bfce09 100644 --- a/test/double-poll-crash.c +++ b/test/double-poll-crash.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ // https://syzkaller.appspot.com/bug?id=5c9918d20f771265ad0ffae3c8f3859d24850692 // autogenerated by syzkaller (https://github.com/google/syzkaller) diff --git a/test/exec-target.c b/test/exec-target.c index 50bc2c9..2399c2d 100644 --- a/test/exec-target.c +++ b/test/exec-target.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + int main(int argc, char *argv[]) { return 0; diff --git a/test/lfs-openat-write.c b/test/lfs-openat-write.c index ac35e1b..6bbf78d 100644 --- a/test/lfs-openat-write.c +++ b/test/lfs-openat-write.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + #define _LARGEFILE_SOURCE #define _FILE_OFFSET_BITS 64 diff --git a/test/lfs-openat.c b/test/lfs-openat.c index b14238a..4823cc4 100644 --- a/test/lfs-openat.c +++ b/test/lfs-openat.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + #define _LARGEFILE_SOURCE #define _FILE_OFFSET_BITS 64 diff --git a/test/pipe-eof.c b/test/pipe-eof.c index 4c98de9..bf13517 100644 --- a/test/pipe-eof.c +++ b/test/pipe-eof.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + /* * Test that closed pipe reads returns 0, instead of waiting for more * data. diff --git a/test/pollfree.c b/test/pollfree.c index 10f842b..e2511df 100644 --- a/test/pollfree.c +++ b/test/pollfree.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ // https://syzkaller.appspot.com/bug?id=5f5a44abb4cba056fe24255c4fcb7e7bbe13de7a // autogenerated by syzkaller (https://github.com/google/syzkaller) diff --git a/test/sendmsg_fs_cve.c b/test/sendmsg_fs_cve.c index 13a1235..2ce3114 100644 --- a/test/sendmsg_fs_cve.c +++ b/test/sendmsg_fs_cve.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * repro-CVE-2020-29373 -- Reproducer for CVE-2020-29373. * diff --git a/test/skip-cqe.c b/test/skip-cqe.c index a01800a..99b882b 100644 --- a/test/skip-cqe.c +++ b/test/skip-cqe.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ #include <errno.h> #include <stdio.h> #include <unistd.h> diff --git a/test/splice.c b/test/splice.c index f4f0c9c..5e9b789 100644 --- a/test/splice.c +++ b/test/splice.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ #include <errno.h> #include <stdio.h> #include <unistd.h> diff --git a/test/sq-poll-kthread.c b/test/sq-poll-kthread.c index 4bbf131..3f4a07b 100644 --- a/test/sq-poll-kthread.c +++ b/test/sq-poll-kthread.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Description: test if io_uring SQ poll kthread is stopped when the userspace * process ended with or without closing the io_uring fd diff --git a/test/sqpoll-cancel-hang.c b/test/sqpoll-cancel-hang.c index e561478..ef62272 100644 --- a/test/sqpoll-cancel-hang.c +++ b/test/sqpoll-cancel-hang.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ #include <fcntl.h> #include <signal.h> #include <stdint.h> diff --git a/test/sqpoll-disable-exit.c b/test/sqpoll-disable-exit.c index 93bcf42..76b6cf5 100644 --- a/test/sqpoll-disable-exit.c +++ b/test/sqpoll-disable-exit.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ // https://syzkaller.appspot.com/bug?id=99f4ea77bb9b9ef24cefb66469be319f4aa9f162 // autogenerated by syzkaller (https://github.com/google/syzkaller) diff --git a/test/sqpoll-exit-hang.c b/test/sqpoll-exit-hang.c index e137c41..cde2115 100644 --- a/test/sqpoll-exit-hang.c +++ b/test/sqpoll-exit-hang.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Test that we exit properly with SQPOLL and having a request that * adds a circular reference to the ring itself. diff --git a/test/sqpoll-sleep.c b/test/sqpoll-sleep.c index 7ffd0e5..9d1cff6 100644 --- a/test/sqpoll-sleep.c +++ b/test/sqpoll-sleep.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Test that the sqthread goes to sleep around the specified time, and that * the NEED_WAKEUP flag is then set. |