From: Dmitry V. Levin Date: Tue, 16 Jul 2019 17:46:47 +0000 (+0000) Subject: Consistently define __NR_* constants X-Git-Tag: v5.3~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dfad9d841ad2996df1e1987c08dca2f3c3d5562;p=strace Consistently define __NR_* constants Include from "scno.h", include "scno.h" instead of , do not include where "scno.h" is already included. * scno.head: Include . * clone.c: Include "scno.h" instead of . * syscall.c: Likewise. * tests/_newselect.c: Likewise. * tests/accept.c: Likewise. * tests/accept_compat.h: Likewise. * tests/access.c: Likewise. * tests/acct.c: Likewise. * tests/aio.c: Likewise. * tests/alarm.c: Likewise. * tests/answer.c: Likewise. * tests/attach-f-p.c: Likewise. * tests/brk.c: Likewise. * tests/chmod.c: Likewise. * tests/chown.c: Likewise. * tests/chown32.c: Likewise. * tests/chroot.c: Likewise. * tests/clock_adjtime.c: Likewise. * tests/clock_nanosleep.c: Likewise. * tests/clock_xettime.c: Likewise. * tests/creat.c: Likewise. * tests/delay.c: Likewise. * tests/delete_module.c: Likewise. * tests/dev-yy.c: Likewise. * tests/dup2.c: Likewise. * tests/dup3.c: Likewise. * tests/epoll_create.c: Likewise. * tests/epoll_create1.c: Likewise. * tests/epoll_ctl.c: Likewise. * tests/epoll_pwait.c: Likewise. * tests/epoll_wait.c: Likewise. * tests/eventfd.c: Likewise. * tests/faccessat.c: Likewise. * tests/fadvise64.c: Likewise. * tests/fadvise64_64.c: Likewise. * tests/fallocate.c: Likewise. * tests/fanotify_init.c: Likewise. * tests/fanotify_mark.c: Likewise. * tests/fchdir.c: Likewise. * tests/fchmod.c: Likewise. * tests/fchmodat.c: Likewise. * tests/fchown.c: Likewise. * tests/fchown32.c: Likewise. * tests/fchownat.c: Likewise. * tests/fcntl.c: Likewise. * tests/fcntl64.c: Likewise. * tests/fdatasync.c: Likewise. * tests/file_handle.c: Likewise. * tests/flock.c: Likewise. * tests/fstat.c: Likewise. * tests/fstat64.c: Likewise. * tests/fstatat64.c: Likewise. * tests/fstatfs.c: Likewise. * tests/fstatfs64.c: Likewise. * tests/fsync.c: Likewise. * tests/ftruncate.c: Likewise. * tests/ftruncate64.c: Likewise. * tests/futex.c: Likewise. * tests/futimesat.c: Likewise. * tests/get_mempolicy.c: Likewise. * tests/get_sigset_size.c: Likewise. * tests/getcpu.c: Likewise. * tests/getcwd.c: Likewise. * tests/getdents.c: Likewise. * tests/getdents64.c: Likewise. * tests/getegid32.c: Likewise. * tests/geteuid32.c: Likewise. * tests/getgid.c: Likewise. * tests/getgid32.c: Likewise. * tests/getgroups.c: Likewise. * tests/getgroups32.c: Likewise. * tests/getpgrp.c: Likewise. * tests/getpid.c: Likewise. * tests/getrandom.c: Likewise. * tests/getresgid.c: Likewise. * tests/getresgid32.c: Likewise. * tests/getresuid.c: Likewise. * tests/getresuid32.c: Likewise. * tests/getrlimit.c: Likewise. * tests/getrusage.c: Likewise. * tests/gettid.c: Likewise. * tests/getuid.c: Likewise. * tests/getuid32.c: Likewise. * tests/getxxid.c: Likewise. * tests/init_module.c: Likewise. * tests/inject-nf.c: Likewise. * tests/inotify.c: Likewise. * tests/inotify_init1.c: Likewise. * tests/ioctl_inotify.c: Likewise. * tests/ioctl_loop.c: Likewise. * tests/ioctl_perf.c: Likewise. * tests/ioctl_uffdio.c: Likewise. * tests/ioperm.c: Likewise. * tests/iopl.c: Likewise. * tests/ioprio.c: Likewise. * tests/ipc.c: Likewise. * tests/ipc_msgbuf.c: Likewise. * tests/kexec_load.c: Likewise. * tests/keyctl.c: Likewise. * tests/kill.c: Likewise. * tests/ksysent.c: Likewise. * tests/lchown.c: Likewise. * tests/lchown32.c: Likewise. * tests/libmmsg.c: Likewise. * tests/libsocketcall.c: Likewise. * tests/link.c: Likewise. * tests/linkat.c: Likewise. * tests/llseek.c: Likewise. * tests/localtime.c: Likewise. * tests/lookup_dcookie.c: Likewise. * tests/lseek.c: Likewise. * tests/lstat.c: Likewise. * tests/lstat64.c: Likewise. * tests/madvise.c: Likewise. * tests/migrate_pages.c: Likewise. * tests/mkdir.c: Likewise. * tests/mkdirat.c: Likewise. * tests/mknod.c: Likewise. * tests/mknodat.c: Likewise. * tests/mlock.c: Likewise. * tests/modify_ldt.c: Likewise. * tests/move_pages.c: Likewise. * tests/mq_sendrecv.c: Likewise. * tests/newfstatat.c: Likewise. * tests/nsyscalls.c: Likewise. * tests/old_mmap.c: Likewise. * tests/oldfstat.c: Likewise. * tests/oldlstat.c: Likewise. * tests/oldselect-efault.c: Likewise. * tests/oldselect.c: Likewise. * tests/oldstat.c: Likewise. * tests/open.c: Likewise. * tests/openat.c: Likewise. * tests/osf_utimes.c: Likewise. * tests/pause.c: Likewise. * tests/perf_event_open.c: Likewise. * tests/perf_event_open_nonverbose.c: Likewise. * tests/pipe.c: Likewise. * tests/pipe2.c: Likewise. * tests/poll.c: Likewise. * tests/ppoll.c: Likewise. * tests/prctl-arg2-intptr.c: Likewise. * tests/prctl-dumpable.c: Likewise. * tests/prctl-no-args.c: Likewise. * tests/prctl-pdeathsig.c: Likewise. * tests/prctl-seccomp-filter-v.c: Likewise. * tests/prctl-seccomp-strict.c: Likewise. * tests/prctl-securebits.c: Likewise. * tests/prctl-spec-inject.c: Likewise. * tests/prctl-tid_address.c: Likewise. * tests/prctl-tsc.c: Likewise. * tests/prlimit64.c: Likewise. * tests/process_vm_readv.c: Likewise. * tests/process_vm_writev.c: Likewise. * tests/pselect6.c: Likewise. * tests/ptrace.c: Likewise. * tests/qual_inject-error-signal.c: Likewise. * tests/qual_inject-retval.c: Likewise. * tests/qual_inject-signal.c: Likewise. * tests/quotactl-xfs.c: Likewise. * tests/quotactl.c: Likewise. * tests/read-write.c: Likewise. * tests/readahead.c: Likewise. * tests/readdir.c: Likewise. * tests/readlink.c: Likewise. * tests/readlinkat.c: Likewise. * tests/reboot.c: Likewise. * tests/rename.c: Likewise. * tests/renameat.c: Likewise. * tests/request_key.c: Likewise. * tests/rmdir.c: Likewise. * tests/rt_sigpending.c: Likewise. * tests/rt_sigprocmask.c: Likewise. * tests/rt_sigsuspend.c: Likewise. * tests/rt_sigtimedwait.c: Likewise. * tests/rt_tgsigqueueinfo.c: Likewise. * tests/s390_guarded_storage.c: Likewise. * tests/s390_pci_mmio_read_write.c: Likewise. * tests/s390_runtime_instr.c: Likewise. * tests/s390_sthyi.c: Likewise. * tests/sched_get_priority_mxx.c: Likewise. * tests/sched_rr_get_interval.c: Likewise. * tests/sched_xetaffinity.c: Likewise. * tests/sched_xetattr.c: Likewise. * tests/sched_xetparam.c: Likewise. * tests/sched_xetscheduler.c: Likewise. * tests/sched_yield.c: Likewise. * tests/seccomp-filter-v.c: Likewise. * tests/seccomp-filter.c: Likewise. * tests/seccomp-strict.c: Likewise. * tests/seccomp_get_action_avail.c: Likewise. * tests/select.c: Likewise. * tests/sendfile.c: Likewise. * tests/sendfile64.c: Likewise. * tests/setdomainname.c: Likewise. * tests/setfsgid.c: Likewise. * tests/setfsgid32.c: Likewise. * tests/setfsuid.c: Likewise. * tests/setfsuid32.c: Likewise. * tests/setgid.c: Likewise. * tests/setgid32.c: Likewise. * tests/setgroups.c: Likewise. * tests/setgroups32.c: Likewise. * tests/sethostname.c: Likewise. * tests/setns.c: Likewise. * tests/setregid.c: Likewise. * tests/setregid32.c: Likewise. * tests/setresgid.c: Likewise. * tests/setresgid32.c: Likewise. * tests/setresuid.c: Likewise. * tests/setresuid32.c: Likewise. * tests/setreuid.c: Likewise. * tests/setreuid32.c: Likewise. * tests/setrlimit.c: Likewise. * tests/setuid.c: Likewise. * tests/setuid32.c: Likewise. * tests/sigaction.c: Likewise. * tests/signal.c: Likewise. * tests/signalfd4.c: Likewise. * tests/sigpending.c: Likewise. * tests/sigprocmask.c: Likewise. * tests/sigreturn.c: Likewise. * tests/sigsuspend.c: Likewise. * tests/socketcall.c: Likewise. * tests/splice.c: Likewise. * tests/stack-fcall-3.c: Likewise. * tests/stat.c: Likewise. * tests/stat64.c: Likewise. * tests/statfs.c: Likewise. * tests/statfs64.c: Likewise. * tests/status-none-threads.c: Likewise. * tests/status-unfinished-threads.c: Likewise. * tests/statx.c: Likewise. * tests/swap.c: Likewise. * tests/sxetmask.c: Likewise. * tests/symlink.c: Likewise. * tests/symlinkat.c: Likewise. * tests/sync.c: Likewise. * tests/sync_file_range.c: Likewise. * tests/sync_file_range2.c: Likewise. * tests/syslog.c: Likewise. * tests/tee.c: Likewise. * tests/threads-execve.c: Likewise. * tests/time.c: Likewise. * tests/timer_create.c: Likewise. * tests/timer_xettime.c: Likewise. * tests/timerfd_xettime.c: Likewise. * tests/times-fail.c: Likewise. * tests/times.c: Likewise. * tests/truncate.c: Likewise. * tests/truncate64.c: Likewise. * tests/ugetrlimit.c: Likewise. * tests/umount.c: Likewise. * tests/umount2.c: Likewise. * tests/umoven-illptr.c: Likewise. * tests/umovestr-illptr.c: Likewise. * tests/uname.c: Likewise. * tests/unix-pair-send-recv.c: Likewise. * tests/unlink.c: Likewise. * tests/unlinkat.c: Likewise. * tests/unshare.c: Likewise. * tests/ustat.c: Likewise. * tests/utime.c: Likewise. * tests/utimensat.c: Likewise. * tests/utimes.c: Likewise. * tests/vhangup.c: Likewise. * tests/vmsplice.c: Likewise. * tests/waitid.c: Likewise. * tests/waitpid.c: Likewise. * tests/xet_robust_list.c: Likewise. * tests/xet_thread_area_x86.c: Likewise. * tests/xetitimer.c: Likewise. * tests/xetpgid.c: Likewise. * tests/xetpriority.c: Likewise. * tests/xettimeofday.c: Likewise. * strace.c: Do not include . * ucopy.c: Likewise. * tests/add_key.c: Likewise. * tests/aio_pgetevents.c: Likewise. * tests/bpf-obj_get_info_by_fd.c: Likewise. * tests/bpf.c: Likewise. * tests/copy_file_range.c: Likewise. * tests/execveat.c: Likewise. * tests/finit_module.c: Likewise. * tests/fsconfig.c: Likewise. * tests/fsmount.c: Likewise. * tests/fsopen.c: Likewise. * tests/fspick.c: Likewise. * tests/getegid.c: Likewise. * tests/geteuid.c: Likewise. * tests/getppid.c: Likewise. * tests/inotify_init.c: Likewise. * tests/io_uring_enter.c: Likewise. * tests/io_uring_register.c: Likewise. * tests/io_uring_setup.c: Likewise. * tests/kcmp.c: Likewise. * tests/kern_features.c: Likewise. * tests/kernel_version.c: Likewise. * tests/kexec_file_load.c: Likewise. * tests/maybe_switch_current_tcp.c: Likewise. * tests/mbind.c: Likewise. * tests/membarrier.c: Likewise. * tests/memfd_create.c: Likewise. * tests/mlock2.c: Likewise. * tests/move_mount.c: Likewise. * tests/open_tree.c: Likewise. * tests/pidfd_send_signal.c: Likewise. * tests/pkey_alloc.c: Likewise. * tests/pkey_free.c: Likewise. * tests/pkey_mprotect.c: Likewise. * tests/preadv2-pwritev2.c: Likewise. * tests/ptrace_syscall_info.c: Likewise. * tests/remap_file_pages.c: Likewise. * tests/renameat2.c: Likewise. * tests/riscv_flush_icache.c: Likewise. * tests/set_mempolicy.c: Likewise. * tests/test_printstrn.c: Likewise. * tests/test_ucopy.c: Likewise. * tests/userfaultfd.c: Likewise. --- diff --git a/clone.c b/clone.c index 3da54a2a..91d515de 100644 --- a/clone.c +++ b/clone.c @@ -12,7 +12,7 @@ #include "defs.h" #include -#include +#include "scno.h" #ifndef CSIGNAL # define CSIGNAL 0x000000ff diff --git a/scno.head b/scno.head index 11814b15..8e2e6e38 100644 --- a/scno.head +++ b/scno.head @@ -5,6 +5,8 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ +#include + #if defined __X32_SYSCALL_BIT && defined __NR_read \ && (__X32_SYSCALL_BIT & __NR_read) == __X32_SYSCALL_BIT # define SYSCALL_BIT __X32_SYSCALL_BIT diff --git a/strace.c b/strace.c index 4f03a4c9..afa841a7 100644 --- a/strace.c +++ b/strace.c @@ -28,7 +28,6 @@ #ifdef HAVE_PRCTL # include #endif -#include #include "kill_save_errno.h" #include "largefile_wrappers.h" diff --git a/syscall.c b/syscall.c index e020b180..8203ef06 100644 --- a/syscall.c +++ b/syscall.c @@ -28,7 +28,7 @@ #include /* for __X32_SYSCALL_BIT */ -#include +#include "scno.h" #include "regs.h" diff --git a/tests/_newselect.c b/tests/_newselect.c index bfba2edb..753befcc 100644 --- a/tests/_newselect.c +++ b/tests/_newselect.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR__newselect diff --git a/tests/accept.c b/tests/accept.c index df5dee80..4dc554f7 100644 --- a/tests/accept.c +++ b/tests/accept.c @@ -12,7 +12,7 @@ #include -#include +#include "scno.h" #if defined __NR_accept diff --git a/tests/accept_compat.h b/tests/accept_compat.h index 0fbdc690..9ce6f6c2 100644 --- a/tests/accept_compat.h +++ b/tests/accept_compat.h @@ -10,7 +10,7 @@ # include # include -# include +#include "scno.h" # if defined __NR_socketcall && defined __sparc__ /* diff --git a/tests/access.c b/tests/access.c index cbdde6a2..0d79ccac 100644 --- a/tests/access.c +++ b/tests/access.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_access diff --git a/tests/acct.c b/tests/acct.c index 2127df60..ab253dbb 100644 --- a/tests/acct.c +++ b/tests/acct.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_acct diff --git a/tests/add_key.c b/tests/add_key.c index c1014927..2c187c1a 100644 --- a/tests/add_key.c +++ b/tests/add_key.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_add_key diff --git a/tests/aio.c b/tests/aio.c index ff82c41e..58204ac6 100644 --- a/tests/aio.c +++ b/tests/aio.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "scno.h" #if defined __NR_io_setup \ && defined __NR_io_submit \ diff --git a/tests/aio_pgetevents.c b/tests/aio_pgetevents.c index 8bea0b7b..fba0b761 100644 --- a/tests/aio_pgetevents.c +++ b/tests/aio_pgetevents.c @@ -10,7 +10,6 @@ #include "tests.h" #include -#include #include "scno.h" #if defined __NR_io_setup && defined __NR_io_pgetevents diff --git a/tests/alarm.c b/tests/alarm.c index f9fe29a5..b13e8453 100644 --- a/tests/alarm.c +++ b/tests/alarm.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_alarm diff --git a/tests/answer.c b/tests/answer.c index a69adc39..7e92a5ca 100644 --- a/tests/answer.c +++ b/tests/answer.c @@ -9,7 +9,7 @@ #include "tests.h" #include -#include +#include "scno.h" int main(void) diff --git a/tests/attach-f-p.c b/tests/attach-f-p.c index 3b7aed85..728e3949 100644 --- a/tests/attach-f-p.c +++ b/tests/attach-f-p.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include "scno.h" #include #define N 3 diff --git a/tests/bpf-obj_get_info_by_fd.c b/tests/bpf-obj_get_info_by_fd.c index 2bbebc30..c4db572e 100644 --- a/tests/bpf-obj_get_info_by_fd.c +++ b/tests/bpf-obj_get_info_by_fd.c @@ -21,7 +21,6 @@ #include #include #include -#include #include "print_fields.h" #include "scno.h" diff --git a/tests/bpf.c b/tests/bpf.c index da6da0e8..2643f740 100644 --- a/tests/bpf.c +++ b/tests/bpf.c @@ -16,7 +16,6 @@ #include #include -#include #include "scno.h" #ifdef HAVE_LINUX_BPF_H diff --git a/tests/brk.c b/tests/brk.c index caf40e13..05c9a257 100644 --- a/tests/brk.c +++ b/tests/brk.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_brk diff --git a/tests/chmod.c b/tests/chmod.c index d7c9fbab..5c342e6e 100644 --- a/tests/chmod.c +++ b/tests/chmod.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_chmod diff --git a/tests/chown.c b/tests/chown.c index 05fe9af1..2df14778 100644 --- a/tests/chown.c +++ b/tests/chown.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_chown diff --git a/tests/chown32.c b/tests/chown32.c index f2726203..2b12a5c5 100644 --- a/tests/chown32.c +++ b/tests/chown32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_chown32 diff --git a/tests/chroot.c b/tests/chroot.c index 3fc441e3..14ce7779 100644 --- a/tests/chroot.c +++ b/tests/chroot.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_chroot diff --git a/tests/clock_adjtime.c b/tests/clock_adjtime.c index 8e5a12fb..7e6b3d10 100644 --- a/tests/clock_adjtime.c +++ b/tests/clock_adjtime.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_clock_adjtime diff --git a/tests/clock_nanosleep.c b/tests/clock_nanosleep.c index 258c3ac1..1ad03f48 100644 --- a/tests/clock_nanosleep.c +++ b/tests/clock_nanosleep.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include "scno.h" static void handler(int signo) diff --git a/tests/clock_xettime.c b/tests/clock_xettime.c index c25240da..2a67a819 100644 --- a/tests/clock_xettime.c +++ b/tests/clock_xettime.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include "scno.h" #if defined __NR_clock_getres \ && defined __NR_clock_gettime \ diff --git a/tests/copy_file_range.c b/tests/copy_file_range.c index c1f142c6..a850d714 100644 --- a/tests/copy_file_range.c +++ b/tests/copy_file_range.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #if defined __NR_copy_file_range diff --git a/tests/creat.c b/tests/creat.c index 71819d5b..039eb9ee 100644 --- a/tests/creat.c +++ b/tests/creat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_creat diff --git a/tests/delay.c b/tests/delay.c index fb19b157..82544336 100644 --- a/tests/delay.c +++ b/tests/delay.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include "scno.h" static int64_t usecs_from_tv(const struct timeval *const tv) diff --git a/tests/delete_module.c b/tests/delete_module.c index 3b2614c1..09682bcf 100644 --- a/tests/delete_module.c +++ b/tests/delete_module.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_delete_module) diff --git a/tests/dev-yy.c b/tests/dev-yy.c index b9f55fa4..c161ff8f 100644 --- a/tests/dev-yy.c +++ b/tests/dev-yy.c @@ -12,7 +12,7 @@ #include #include -#include +#include "scno.h" #include diff --git a/tests/dup2.c b/tests/dup2.c index fba8fca5..fa7a1b85 100644 --- a/tests/dup2.c +++ b/tests/dup2.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_dup2 diff --git a/tests/dup3.c b/tests/dup3.c index 741e06f8..b18f36d2 100644 --- a/tests/dup3.c +++ b/tests/dup3.c @@ -7,7 +7,7 @@ #include "tests.h" #include -#include +#include "scno.h" #if defined __NR_dup3 && defined O_CLOEXEC diff --git a/tests/epoll_create.c b/tests/epoll_create.c index 42cc8d04..55a01ffd 100644 --- a/tests/epoll_create.c +++ b/tests/epoll_create.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_epoll_create diff --git a/tests/epoll_create1.c b/tests/epoll_create1.c index 81b33825..30d4e624 100644 --- a/tests/epoll_create1.c +++ b/tests/epoll_create1.c @@ -7,7 +7,7 @@ #include "tests.h" #include -#include +#include "scno.h" #if defined __NR_epoll_create1 && defined O_CLOEXEC diff --git a/tests/epoll_ctl.c b/tests/epoll_ctl.c index 85a288cd..fe4f6274 100644 --- a/tests/epoll_ctl.c +++ b/tests/epoll_ctl.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_epoll_ctl diff --git a/tests/epoll_pwait.c b/tests/epoll_pwait.c index ce95e6dc..fa86b495 100644 --- a/tests/epoll_pwait.c +++ b/tests/epoll_pwait.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_epoll_pwait diff --git a/tests/epoll_wait.c b/tests/epoll_wait.c index 3981905d..3c37d8fd 100644 --- a/tests/epoll_wait.c +++ b/tests/epoll_wait.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_epoll_wait diff --git a/tests/eventfd.c b/tests/eventfd.c index 75d33dd7..73e3703e 100644 --- a/tests/eventfd.c +++ b/tests/eventfd.c @@ -8,7 +8,7 @@ #include "tests.h" #include #include -#include +#include "scno.h" #if defined __NR_eventfd2 && defined O_CLOEXEC diff --git a/tests/execveat.c b/tests/execveat.c index 629a69ab..1f7cc160 100644 --- a/tests/execveat.c +++ b/tests/execveat.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_execveat diff --git a/tests/faccessat.c b/tests/faccessat.c index 6d95555a..5b3ff05e 100644 --- a/tests/faccessat.c +++ b/tests/faccessat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_faccessat diff --git a/tests/fadvise64.c b/tests/fadvise64.c index 1d7b6681..dcdc88f4 100644 --- a/tests/fadvise64.c +++ b/tests/fadvise64.c @@ -11,7 +11,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fadvise64 diff --git a/tests/fadvise64_64.c b/tests/fadvise64_64.c index 1520b7e4..220b63a2 100644 --- a/tests/fadvise64_64.c +++ b/tests/fadvise64_64.c @@ -11,7 +11,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __arm__ # ifdef __NR_arm_fadvise64_64 diff --git a/tests/fallocate.c b/tests/fallocate.c index 0e2284de..eb4063c0 100644 --- a/tests/fallocate.c +++ b/tests/fallocate.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_fallocate) && defined(HAVE_FALLOCATE) && HAVE_FALLOCATE diff --git a/tests/fanotify_init.c b/tests/fanotify_init.c index a3eeff53..62320078 100644 --- a/tests/fanotify_init.c +++ b/tests/fanotify_init.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined __NR_fanotify_init diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c index 33d18253..aade6437 100644 --- a/tests/fanotify_mark.c +++ b/tests/fanotify_mark.c @@ -11,7 +11,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK && \ defined __NR_fanotify_mark diff --git a/tests/fchdir.c b/tests/fchdir.c index 118e5fea..f5c09600 100644 --- a/tests/fchdir.c +++ b/tests/fchdir.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fchdir diff --git a/tests/fchmod.c b/tests/fchmod.c index 4fa06727..0fe5bba9 100644 --- a/tests/fchmod.c +++ b/tests/fchmod.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fchmod diff --git a/tests/fchmodat.c b/tests/fchmodat.c index f2fa5dd0..2df79691 100644 --- a/tests/fchmodat.c +++ b/tests/fchmodat.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fchmodat diff --git a/tests/fchown.c b/tests/fchown.c index 98bfd9de..9f83ddf9 100644 --- a/tests/fchown.c +++ b/tests/fchown.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fchown diff --git a/tests/fchown32.c b/tests/fchown32.c index 9d52f9a8..6ad4734a 100644 --- a/tests/fchown32.c +++ b/tests/fchown32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fchown32 diff --git a/tests/fchownat.c b/tests/fchownat.c index 32167bc7..5a1590d5 100644 --- a/tests/fchownat.c +++ b/tests/fchownat.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #if defined __NR_fchownat && defined AT_FDCWD && defined AT_SYMLINK_NOFOLLOW diff --git a/tests/fcntl.c b/tests/fcntl.c index bd9ffbdd..cb31cd0d 100644 --- a/tests/fcntl.c +++ b/tests/fcntl.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fcntl diff --git a/tests/fcntl64.c b/tests/fcntl64.c index 97277b2f..2e461daa 100644 --- a/tests/fcntl64.c +++ b/tests/fcntl64.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fcntl64 diff --git a/tests/fdatasync.c b/tests/fdatasync.c index f4c8d55f..ab434cc5 100644 --- a/tests/fdatasync.c +++ b/tests/fdatasync.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fdatasync diff --git a/tests/file_handle.c b/tests/file_handle.c index 38cd5af8..58002da8 100644 --- a/tests/file_handle.c +++ b/tests/file_handle.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_name_to_handle_at && defined __NR_open_by_handle_at diff --git a/tests/finit_module.c b/tests/finit_module.c index 64e6df02..220fcdfa 100644 --- a/tests/finit_module.c +++ b/tests/finit_module.c @@ -10,7 +10,6 @@ #include "tests.h" -#include #include "scno.h" #if defined(__NR_finit_module) diff --git a/tests/flock.c b/tests/flock.c index 4f044409..99a376a1 100644 --- a/tests/flock.c +++ b/tests/flock.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_flock diff --git a/tests/fsconfig.c b/tests/fsconfig.c index e5ece516..2399a6a1 100644 --- a/tests/fsconfig.c +++ b/tests/fsconfig.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_fsconfig diff --git a/tests/fsmount.c b/tests/fsmount.c index 5996173c..28b14a40 100644 --- a/tests/fsmount.c +++ b/tests/fsmount.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_fsmount diff --git a/tests/fsopen.c b/tests/fsopen.c index 2b0baf74..1d8af8bb 100644 --- a/tests/fsopen.c +++ b/tests/fsopen.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_fsopen diff --git a/tests/fspick.c b/tests/fspick.c index 35a75f6b..3f7f9d70 100644 --- a/tests/fspick.c +++ b/tests/fspick.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_fspick diff --git a/tests/fstat.c b/tests/fstat.c index 7a52e0cc..e454fe0f 100644 --- a/tests/fstat.c +++ b/tests/fstat.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fstat diff --git a/tests/fstat64.c b/tests/fstat64.c index 5d30ca41..222728e0 100644 --- a/tests/fstat64.c +++ b/tests/fstat64.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fstat64 diff --git a/tests/fstatat64.c b/tests/fstatat64.c index 949463c9..51625fba 100644 --- a/tests/fstatat64.c +++ b/tests/fstatat64.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fstatat64 diff --git a/tests/fstatfs.c b/tests/fstatfs.c index f1609405..22b7995e 100644 --- a/tests/fstatfs.c +++ b/tests/fstatfs.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fstatfs diff --git a/tests/fstatfs64.c b/tests/fstatfs64.c index 14da042a..45441c0a 100644 --- a/tests/fstatfs64.c +++ b/tests/fstatfs64.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fstatfs64 diff --git a/tests/fsync.c b/tests/fsync.c index 5624096b..e88a4c56 100644 --- a/tests/fsync.c +++ b/tests/fsync.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_fsync diff --git a/tests/ftruncate.c b/tests/ftruncate.c index 6c77d4b1..cae9536b 100644 --- a/tests/ftruncate.c +++ b/tests/ftruncate.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_ftruncate diff --git a/tests/ftruncate64.c b/tests/ftruncate64.c index b7e350b4..083e287c 100644 --- a/tests/ftruncate64.c +++ b/tests/ftruncate64.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_ftruncate64 diff --git a/tests/futex.c b/tests/futex.c index 47191f27..d93a9d72 100644 --- a/tests/futex.c +++ b/tests/futex.c @@ -8,7 +8,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_futex diff --git a/tests/futimesat.c b/tests/futimesat.c index 8024f87b..b4976eec 100644 --- a/tests/futimesat.c +++ b/tests/futimesat.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_futimesat diff --git a/tests/get_mempolicy.c b/tests/get_mempolicy.c index 5f5dee11..c2e9fa69 100644 --- a/tests/get_mempolicy.c +++ b/tests/get_mempolicy.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_get_mempolicy diff --git a/tests/get_sigset_size.c b/tests/get_sigset_size.c index f58d1f51..b29b1f54 100644 --- a/tests/get_sigset_size.c +++ b/tests/get_sigset_size.c @@ -10,7 +10,7 @@ #include "tests.h" #include #include -#include +#include "scno.h" /* * If the sigset size specified to rt_sigprocmask is not equal to the size diff --git a/tests/getcpu.c b/tests/getcpu.c index ecbaf0dc..e508d11d 100644 --- a/tests/getcpu.c +++ b/tests/getcpu.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getcpu diff --git a/tests/getcwd.c b/tests/getcwd.c index 5f9a7293..5338ad8d 100644 --- a/tests/getcwd.c +++ b/tests/getcwd.c @@ -7,7 +7,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getcwd diff --git a/tests/getdents.c b/tests/getdents.c index 998e667f..3f5ff393 100644 --- a/tests/getdents.c +++ b/tests/getdents.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getdents diff --git a/tests/getdents64.c b/tests/getdents64.c index e0575cf4..27049c7f 100644 --- a/tests/getdents64.c +++ b/tests/getdents64.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getdents64 diff --git a/tests/getegid.c b/tests/getegid.c index 89fc15c5..bed9aa62 100644 --- a/tests/getegid.c +++ b/tests/getegid.c @@ -6,7 +6,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_getegid diff --git a/tests/getegid32.c b/tests/getegid32.c index b7f5cb08..c029af90 100644 --- a/tests/getegid32.c +++ b/tests/getegid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getegid32 diff --git a/tests/geteuid.c b/tests/geteuid.c index ff0c2edb..0ab3c461 100644 --- a/tests/geteuid.c +++ b/tests/geteuid.c @@ -6,7 +6,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_geteuid diff --git a/tests/geteuid32.c b/tests/geteuid32.c index 94174f32..9c5eac56 100644 --- a/tests/geteuid32.c +++ b/tests/geteuid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_geteuid32 diff --git a/tests/getgid.c b/tests/getgid.c index c407ec1f..e6819c88 100644 --- a/tests/getgid.c +++ b/tests/getgid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_getgid && (!defined __NR_getxgid || __NR_getxgid != __NR_getgid) diff --git a/tests/getgid32.c b/tests/getgid32.c index c6859cf4..d8fca6e8 100644 --- a/tests/getgid32.c +++ b/tests/getgid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getgid32 diff --git a/tests/getgroups.c b/tests/getgroups.c index 36c095df..c5738a5d 100644 --- a/tests/getgroups.c +++ b/tests/getgroups.c @@ -17,7 +17,7 @@ #else # include "tests.h" -# include +#include "scno.h" # ifdef __NR_getgroups diff --git a/tests/getgroups32.c b/tests/getgroups32.c index d005792d..5f1aa576 100644 --- a/tests/getgroups32.c +++ b/tests/getgroups32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getgroups32 diff --git a/tests/getpgrp.c b/tests/getpgrp.c index 3d45f718..7c277595 100644 --- a/tests/getpgrp.c +++ b/tests/getpgrp.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getpgrp diff --git a/tests/getpid.c b/tests/getpid.c index 7af628c0..b818a1ac 100644 --- a/tests/getpid.c +++ b/tests/getpid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_getpid && (!defined __NR_getxpid || __NR_getxpid != __NR_getpid) diff --git a/tests/getppid.c b/tests/getppid.c index 974ff536..4e3a2632 100644 --- a/tests/getppid.c +++ b/tests/getppid.c @@ -6,7 +6,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_getppid diff --git a/tests/getrandom.c b/tests/getrandom.c index eb6cdb1b..01b74958 100644 --- a/tests/getrandom.c +++ b/tests/getrandom.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getrandom diff --git a/tests/getresgid.c b/tests/getresgid.c index 3ad2c190..17b2b04d 100644 --- a/tests/getresgid.c +++ b/tests/getresgid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getresgid diff --git a/tests/getresgid32.c b/tests/getresgid32.c index b78afaed..48230369 100644 --- a/tests/getresgid32.c +++ b/tests/getresgid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getresgid32 diff --git a/tests/getresuid.c b/tests/getresuid.c index 5bb2e301..7d096440 100644 --- a/tests/getresuid.c +++ b/tests/getresuid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getresuid diff --git a/tests/getresuid32.c b/tests/getresuid32.c index 13acc695..6d21665c 100644 --- a/tests/getresuid32.c +++ b/tests/getresuid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getresuid32 diff --git a/tests/getrlimit.c b/tests/getrlimit.c index 6d3b4cd5..bf815db5 100644 --- a/tests/getrlimit.c +++ b/tests/getrlimit.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getrlimit diff --git a/tests/getrusage.c b/tests/getrusage.c index 412d8a00..583db8cd 100644 --- a/tests/getrusage.c +++ b/tests/getrusage.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getrusage diff --git a/tests/gettid.c b/tests/gettid.c index 24947e89..e038ff52 100644 --- a/tests/gettid.c +++ b/tests/gettid.c @@ -8,7 +8,7 @@ #include "tests.h" #include #include -#include +#include "scno.h" int main(void) diff --git a/tests/getuid.c b/tests/getuid.c index 3691ced0..8876bce1 100644 --- a/tests/getuid.c +++ b/tests/getuid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_getuid && (!defined __NR_getxuid || __NR_getxuid != __NR_getuid) diff --git a/tests/getuid32.c b/tests/getuid32.c index 1222dbcb..8ef49b29 100644 --- a/tests/getuid32.c +++ b/tests/getuid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_getuid32 diff --git a/tests/getxxid.c b/tests/getxxid.c index 864cea5b..1a6fddfe 100644 --- a/tests/getxxid.c +++ b/tests/getxxid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_getxpid && defined __NR_getxuid && defined __NR_getxgid diff --git a/tests/init_module.c b/tests/init_module.c index 601f7f92..46a74d71 100644 --- a/tests/init_module.c +++ b/tests/init_module.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_init_module) diff --git a/tests/inject-nf.c b/tests/inject-nf.c index b419984f..37ba7471 100644 --- a/tests/inject-nf.c +++ b/tests/inject-nf.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "scno.h" #include "raw_syscall.h" diff --git a/tests/inotify.c b/tests/inotify.c index db751d4e..1a47a590 100644 --- a/tests/inotify.c +++ b/tests/inotify.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_inotify_add_watch) && defined(__NR_inotify_rm_watch) diff --git a/tests/inotify_init.c b/tests/inotify_init.c index 7b5e74af..9537a7d5 100644 --- a/tests/inotify_init.c +++ b/tests/inotify_init.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_inotify_init diff --git a/tests/inotify_init1.c b/tests/inotify_init1.c index ea3cf732..efff52ec 100644 --- a/tests/inotify_init1.c +++ b/tests/inotify_init1.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_inotify_init1) diff --git a/tests/io_uring_enter.c b/tests/io_uring_enter.c index 3284ebac..bc741cd4 100644 --- a/tests/io_uring_enter.c +++ b/tests/io_uring_enter.c @@ -9,7 +9,6 @@ #include "tests.h" #include -#include #include "scno.h" #ifdef __NR_io_uring_enter diff --git a/tests/io_uring_register.c b/tests/io_uring_register.c index a0327ed8..8efcfeb8 100644 --- a/tests/io_uring_register.c +++ b/tests/io_uring_register.c @@ -9,7 +9,6 @@ #include "tests.h" #include -#include #include "scno.h" #ifdef __NR_io_uring_register diff --git a/tests/io_uring_setup.c b/tests/io_uring_setup.c index f48095bb..fead773a 100644 --- a/tests/io_uring_setup.c +++ b/tests/io_uring_setup.c @@ -9,7 +9,6 @@ #include "tests.h" #include -#include #include "scno.h" #if defined HAVE_LINUX_IO_URING_H && defined __NR_io_uring_setup diff --git a/tests/ioctl_inotify.c b/tests/ioctl_inotify.c index 6be0c0ee..037f1dbb 100644 --- a/tests/ioctl_inotify.c +++ b/tests/ioctl_inotify.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include "scno.h" #include #ifndef INOTIFY_IOC_SETNEXTWD diff --git a/tests/ioctl_loop.c b/tests/ioctl_loop.c index 53665603..4f8f3053 100644 --- a/tests/ioctl_loop.c +++ b/tests/ioctl_loop.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include "scno.h" #include #include #include "print_fields.h" diff --git a/tests/ioctl_perf.c b/tests/ioctl_perf.c index 30cb35f6..cd976baa 100644 --- a/tests/ioctl_perf.c +++ b/tests/ioctl_perf.c @@ -16,7 +16,7 @@ # include # include # include -# include +#include "scno.h" # include /* diff --git a/tests/ioctl_uffdio.c b/tests/ioctl_uffdio.c index 19104442..58978e2d 100644 --- a/tests/ioctl_uffdio.c +++ b/tests/ioctl_uffdio.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_userfaultfd && defined HAVE_LINUX_USERFAULTFD_H diff --git a/tests/ioperm.c b/tests/ioperm.c index 3f99b2db..d66e94da 100644 --- a/tests/ioperm.c +++ b/tests/ioperm.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_ioperm diff --git a/tests/iopl.c b/tests/iopl.c index f8904030..063e18a5 100644 --- a/tests/iopl.c +++ b/tests/iopl.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_iopl diff --git a/tests/ioprio.c b/tests/ioprio.c index 65775963..2b9541e1 100644 --- a/tests/ioprio.c +++ b/tests/ioprio.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_ioprio_get) && defined(__NR_ioprio_set) diff --git a/tests/ipc.c b/tests/ipc.c index 5c86f207..25486720 100644 --- a/tests/ipc.c +++ b/tests/ipc.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_ipc && defined HAVE_LINUX_IPC_H diff --git a/tests/ipc_msgbuf.c b/tests/ipc_msgbuf.c index 92525f94..07f32ee2 100644 --- a/tests/ipc_msgbuf.c +++ b/tests/ipc_msgbuf.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include "scno.h" #include #include #include diff --git a/tests/kcmp.c b/tests/kcmp.c index 4e3433ee..d1e89d85 100644 --- a/tests/kcmp.c +++ b/tests/kcmp.c @@ -10,7 +10,6 @@ #include "tests.h" -#include #include "scno.h" #ifdef __NR_kcmp diff --git a/tests/kern_features.c b/tests/kern_features.c index 4814414d..5ca4957b 100644 --- a/tests/kern_features.c +++ b/tests/kern_features.c @@ -9,7 +9,6 @@ #include "tests.h" -#include #include "raw_syscall.h" #include "scno.h" diff --git a/tests/kernel_version.c b/tests/kernel_version.c index 6055a299..9f55210c 100644 --- a/tests/kernel_version.c +++ b/tests/kernel_version.c @@ -15,7 +15,6 @@ #include #include -#include #include "scno.h" #ifdef HAVE_LINUX_BPF_H diff --git a/tests/kexec_file_load.c b/tests/kexec_file_load.c index 5e5d91ed..2160d7f3 100644 --- a/tests/kexec_file_load.c +++ b/tests/kexec_file_load.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_kexec_file_load diff --git a/tests/kexec_load.c b/tests/kexec_load.c index ae7a72c0..5b235888 100644 --- a/tests/kexec_load.c +++ b/tests/kexec_load.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_kexec_load diff --git a/tests/keyctl.c b/tests/keyctl.c index ccfd3b44..1486c302 100644 --- a/tests/keyctl.c +++ b/tests/keyctl.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_keyctl diff --git a/tests/kill.c b/tests/kill.c index 4ef9b628..dc2d5358 100644 --- a/tests/kill.c +++ b/tests/kill.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_kill diff --git a/tests/ksysent.c b/tests/ksysent.c index 4319bdb2..68d8db3e 100644 --- a/tests/ksysent.c +++ b/tests/ksysent.c @@ -12,7 +12,7 @@ #include "sysent.h" #include #include -#include +#include "scno.h" #include "sysent_shorthand_defs.h" diff --git a/tests/lchown.c b/tests/lchown.c index c9008219..3227a53d 100644 --- a/tests/lchown.c +++ b/tests/lchown.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_lchown diff --git a/tests/lchown32.c b/tests/lchown32.c index 1a505e1f..53035c2a 100644 --- a/tests/lchown32.c +++ b/tests/lchown32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_lchown32 diff --git a/tests/libmmsg.c b/tests/libmmsg.c index 0f23597d..363bad1a 100644 --- a/tests/libmmsg.c +++ b/tests/libmmsg.c @@ -9,7 +9,7 @@ #include "tests.h" #include -#include +#include "scno.h" #ifndef __NR_recvmmsg # define __NR_recvmmsg -1 diff --git a/tests/libsocketcall.c b/tests/libsocketcall.c index 34f65478..4874033a 100644 --- a/tests/libsocketcall.c +++ b/tests/libsocketcall.c @@ -10,7 +10,7 @@ #include "tests.h" #include #include -#include +#include "scno.h" /* * Invoke a socket syscall, either directly or via __NR_socketcall. diff --git a/tests/link.c b/tests/link.c index 357eb0be..4a50f52b 100644 --- a/tests/link.c +++ b/tests/link.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_link diff --git a/tests/linkat.c b/tests/linkat.c index 3b2db63d..7e348f12 100644 --- a/tests/linkat.c +++ b/tests/linkat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_linkat diff --git a/tests/llseek.c b/tests/llseek.c index 169fa913..ef297577 100644 --- a/tests/llseek.c +++ b/tests/llseek.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR__llseek diff --git a/tests/localtime.c b/tests/localtime.c index 652d3e6a..e5109069 100644 --- a/tests/localtime.c +++ b/tests/localtime.c @@ -14,7 +14,7 @@ #include #include -#include +#include "scno.h" int main(void) diff --git a/tests/lookup_dcookie.c b/tests/lookup_dcookie.c index 430ae135..5fda832d 100644 --- a/tests/lookup_dcookie.c +++ b/tests/lookup_dcookie.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_lookup_dcookie diff --git a/tests/lseek.c b/tests/lseek.c index 0e12bf9c..ec955d58 100644 --- a/tests/lseek.c +++ b/tests/lseek.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_lseek diff --git a/tests/lstat.c b/tests/lstat.c index 1a200fe7..ca12a0a4 100644 --- a/tests/lstat.c +++ b/tests/lstat.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_lstat diff --git a/tests/lstat64.c b/tests/lstat64.c index 0c0cf879..9bc9d6f7 100644 --- a/tests/lstat64.c +++ b/tests/lstat64.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_lstat64 diff --git a/tests/madvise.c b/tests/madvise.c index 33a7abbe..7562d12c 100644 --- a/tests/madvise.c +++ b/tests/madvise.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include "scno.h" static const char *errstr; diff --git a/tests/maybe_switch_current_tcp.c b/tests/maybe_switch_current_tcp.c index bb3c266a..e2cdad81 100644 --- a/tests/maybe_switch_current_tcp.c +++ b/tests/maybe_switch_current_tcp.c @@ -12,7 +12,6 @@ #include #include #include -#include #include "scno.h" static pid_t leader; diff --git a/tests/mbind.c b/tests/mbind.c index 243705d2..321defb9 100644 --- a/tests/mbind.c +++ b/tests/mbind.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_mbind diff --git a/tests/membarrier.c b/tests/membarrier.c index 0e55497b..c6686d61 100644 --- a/tests/membarrier.c +++ b/tests/membarrier.c @@ -7,7 +7,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_membarrier diff --git a/tests/memfd_create.c b/tests/memfd_create.c index 2658a1ba..3ecd2f1a 100644 --- a/tests/memfd_create.c +++ b/tests/memfd_create.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_memfd_create diff --git a/tests/migrate_pages.c b/tests/migrate_pages.c index e8e66ece..8786d822 100644 --- a/tests/migrate_pages.c +++ b/tests/migrate_pages.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_migrate_pages diff --git a/tests/mkdir.c b/tests/mkdir.c index e6e62ef6..59b1699e 100644 --- a/tests/mkdir.c +++ b/tests/mkdir.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_mkdir diff --git a/tests/mkdirat.c b/tests/mkdirat.c index 91bf06be..626e56f8 100644 --- a/tests/mkdirat.c +++ b/tests/mkdirat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_mkdirat diff --git a/tests/mknod.c b/tests/mknod.c index 94d80284..1c07bcf0 100644 --- a/tests/mknod.c +++ b/tests/mknod.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_mknod diff --git a/tests/mknodat.c b/tests/mknodat.c index 34b34d80..421eb5a2 100644 --- a/tests/mknodat.c +++ b/tests/mknodat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_mknodat diff --git a/tests/mlock.c b/tests/mlock.c index 0f31d20c..37445d86 100644 --- a/tests/mlock.c +++ b/tests/mlock.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_mlock && defined __NR_munlock diff --git a/tests/mlock2.c b/tests/mlock2.c index 23f1cd9a..2765caed 100644 --- a/tests/mlock2.c +++ b/tests/mlock2.c @@ -6,7 +6,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_mlock2 diff --git a/tests/modify_ldt.c b/tests/modify_ldt.c index 78e370e4..d0333a7e 100644 --- a/tests/modify_ldt.c +++ b/tests/modify_ldt.c @@ -9,7 +9,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined __NR_modify_ldt && defined HAVE_STRUCT_USER_DESC diff --git a/tests/move_mount.c b/tests/move_mount.c index 6df39491..b6ebfdac 100644 --- a/tests/move_mount.c +++ b/tests/move_mount.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_move_mount diff --git a/tests/move_pages.c b/tests/move_pages.c index 895c7c6f..e00fd1ac 100644 --- a/tests/move_pages.c +++ b/tests/move_pages.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_move_pages diff --git a/tests/mq_sendrecv.c b/tests/mq_sendrecv.c index 7af0f36e..febe262b 100644 --- a/tests/mq_sendrecv.c +++ b/tests/mq_sendrecv.c @@ -11,7 +11,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined __NR_mq_open && __NR_mq_timedsend && __NR_mq_timedreceive && \ __NR_mq_notify && __NR_mq_unlink diff --git a/tests/newfstatat.c b/tests/newfstatat.c index 955dce6d..ffdcae26 100644 --- a/tests/newfstatat.c +++ b/tests/newfstatat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_newfstatat diff --git a/tests/nsyscalls.c b/tests/nsyscalls.c index 529f50ee..cc7be840 100644 --- a/tests/nsyscalls.c +++ b/tests/nsyscalls.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include "scno.h" #include "sysent_shorthand_defs.h" diff --git a/tests/old_mmap.c b/tests/old_mmap.c index 216ecca5..9217e243 100644 --- a/tests/old_mmap.c +++ b/tests/old_mmap.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" /* * On s390x and m68k, this is the mmap syscall used by glibc, so, diff --git a/tests/oldfstat.c b/tests/oldfstat.c index c2624777..450ae0aa 100644 --- a/tests/oldfstat.c +++ b/tests/oldfstat.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_oldfstat && HAVE_STRUCT___OLD_KERNEL_STAT diff --git a/tests/oldlstat.c b/tests/oldlstat.c index 0444b17f..6edeecf3 100644 --- a/tests/oldlstat.c +++ b/tests/oldlstat.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_oldlstat && HAVE_STRUCT___OLD_KERNEL_STAT diff --git a/tests/oldselect-efault.c b/tests/oldselect-efault.c index 4e927521..56d803bc 100644 --- a/tests/oldselect-efault.c +++ b/tests/oldselect-efault.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_select && defined __NR__newselect \ && __NR_select != __NR__newselect \ diff --git a/tests/oldselect.c b/tests/oldselect.c index 0af35541..faacdeee 100644 --- a/tests/oldselect.c +++ b/tests/oldselect.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_select && defined __NR__newselect \ && __NR_select != __NR__newselect \ diff --git a/tests/oldstat.c b/tests/oldstat.c index 03b40335..a032fbfc 100644 --- a/tests/oldstat.c +++ b/tests/oldstat.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_oldstat && HAVE_STRUCT___OLD_KERNEL_STAT diff --git a/tests/open.c b/tests/open.c index 43a3ae68..cb44b3c5 100644 --- a/tests/open.c +++ b/tests/open.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_open diff --git a/tests/open_tree.c b/tests/open_tree.c index 4bc86959..bdce09ea 100644 --- a/tests/open_tree.c +++ b/tests/open_tree.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_open_tree diff --git a/tests/openat.c b/tests/openat.c index d4a74178..49bdf092 100644 --- a/tests/openat.c +++ b/tests/openat.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_openat diff --git a/tests/osf_utimes.c b/tests/osf_utimes.c index d721e394..d00bd87e 100644 --- a/tests/osf_utimes.c +++ b/tests/osf_utimes.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_osf_utimes diff --git a/tests/pause.c b/tests/pause.c index 0260a6bc..6c4cc4be 100644 --- a/tests/pause.c +++ b/tests/pause.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_pause diff --git a/tests/perf_event_open.c b/tests/perf_event_open.c index ae38b6de..9b3115cc 100644 --- a/tests/perf_event_open.c +++ b/tests/perf_event_open.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_perf_event_open) && defined(HAVE_LINUX_PERF_EVENT_H) diff --git a/tests/perf_event_open_nonverbose.c b/tests/perf_event_open_nonverbose.c index b87cb2c6..4508b4ae 100644 --- a/tests/perf_event_open_nonverbose.c +++ b/tests/perf_event_open_nonverbose.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_perf_event_open) && defined(HAVE_LINUX_PERF_EVENT_H) diff --git a/tests/pidfd_send_signal.c b/tests/pidfd_send_signal.c index 014e43de..5cbc6df6 100644 --- a/tests/pidfd_send_signal.c +++ b/tests/pidfd_send_signal.c @@ -9,7 +9,6 @@ #include "tests.h" #include -#include #include "scno.h" #ifdef __NR_pidfd_send_signal diff --git a/tests/pipe.c b/tests/pipe.c index bdfc7565..d1df9cb3 100644 --- a/tests/pipe.c +++ b/tests/pipe.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_pipe diff --git a/tests/pipe2.c b/tests/pipe2.c index d948a1c6..3229bc61 100644 --- a/tests/pipe2.c +++ b/tests/pipe2.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_pipe2 diff --git a/tests/pkey_alloc.c b/tests/pkey_alloc.c index 6a92be40..61a6e632 100644 --- a/tests/pkey_alloc.c +++ b/tests/pkey_alloc.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_pkey_alloc diff --git a/tests/pkey_free.c b/tests/pkey_free.c index 7bcb3f9a..fcfacecf 100644 --- a/tests/pkey_free.c +++ b/tests/pkey_free.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_pkey_free diff --git a/tests/pkey_mprotect.c b/tests/pkey_mprotect.c index c9c96daa..f3bf8c74 100644 --- a/tests/pkey_mprotect.c +++ b/tests/pkey_mprotect.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_pkey_mprotect diff --git a/tests/poll.c b/tests/poll.c index c08bee8e..7b72497b 100644 --- a/tests/poll.c +++ b/tests/poll.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_poll diff --git a/tests/ppoll.c b/tests/ppoll.c index e7a4474f..14b0eec6 100644 --- a/tests/ppoll.c +++ b/tests/ppoll.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_ppoll diff --git a/tests/prctl-arg2-intptr.c b/tests/prctl-arg2-intptr.c index be894270..05497f1f 100644 --- a/tests/prctl-arg2-intptr.c +++ b/tests/prctl-arg2-intptr.c @@ -11,7 +11,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_prctl diff --git a/tests/prctl-dumpable.c b/tests/prctl-dumpable.c index 7740d52a..70e871d4 100644 --- a/tests/prctl-dumpable.c +++ b/tests/prctl-dumpable.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #if defined __NR_prctl && defined PR_GET_DUMPABLE && defined PR_SET_DUMPABLE \ diff --git a/tests/prctl-no-args.c b/tests/prctl-no-args.c index 8ce13d80..b036c560 100644 --- a/tests/prctl-no-args.c +++ b/tests/prctl-no-args.c @@ -11,7 +11,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_prctl diff --git a/tests/prctl-pdeathsig.c b/tests/prctl-pdeathsig.c index 6ffbbad7..37d922a8 100644 --- a/tests/prctl-pdeathsig.c +++ b/tests/prctl-pdeathsig.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #if defined __NR_prctl && defined PR_GET_PDEATHSIG && defined PR_SET_PDEATHSIG diff --git a/tests/prctl-seccomp-filter-v.c b/tests/prctl-seccomp-filter-v.c index f29cfad6..6e1affc0 100644 --- a/tests/prctl-seccomp-filter-v.c +++ b/tests/prctl-seccomp-filter-v.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include "scno.h" #ifdef HAVE_PRCTL # include diff --git a/tests/prctl-seccomp-strict.c b/tests/prctl-seccomp-strict.c index 0573126e..31d27ac7 100644 --- a/tests/prctl-seccomp-strict.c +++ b/tests/prctl-seccomp-strict.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef HAVE_PRCTL # include #endif diff --git a/tests/prctl-securebits.c b/tests/prctl-securebits.c index 5b32f5b5..f0fa5b53 100644 --- a/tests/prctl-securebits.c +++ b/tests/prctl-securebits.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #if defined __NR_prctl && defined PR_GET_SECUREBITS && defined PR_SET_SECUREBITS diff --git a/tests/prctl-spec-inject.c b/tests/prctl-spec-inject.c index 3fa2df2d..c37c4e71 100644 --- a/tests/prctl-spec-inject.c +++ b/tests/prctl-spec-inject.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_prctl diff --git a/tests/prctl-tid_address.c b/tests/prctl-tid_address.c index 9652f00d..5db0e871 100644 --- a/tests/prctl-tid_address.c +++ b/tests/prctl-tid_address.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #if defined __NR_prctl && defined __NR_set_tid_address && \ diff --git a/tests/prctl-tsc.c b/tests/prctl-tsc.c index 0ac27ecd..9db9f736 100644 --- a/tests/prctl-tsc.c +++ b/tests/prctl-tsc.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC diff --git a/tests/preadv2-pwritev2.c b/tests/preadv2-pwritev2.c index 1266562e..d6be10a8 100644 --- a/tests/preadv2-pwritev2.c +++ b/tests/preadv2-pwritev2.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #if defined __NR_preadv2 && defined __NR_pwritev2 diff --git a/tests/prlimit64.c b/tests/prlimit64.c index 688ca75f..fc0646af 100644 --- a/tests/prlimit64.c +++ b/tests/prlimit64.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_prlimit64 diff --git a/tests/process_vm_readv.c b/tests/process_vm_readv.c index 422000b8..981bce96 100644 --- a/tests/process_vm_readv.c +++ b/tests/process_vm_readv.c @@ -7,7 +7,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_process_vm_readv diff --git a/tests/process_vm_writev.c b/tests/process_vm_writev.c index 848a9e91..84cba6b3 100644 --- a/tests/process_vm_writev.c +++ b/tests/process_vm_writev.c @@ -7,7 +7,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_process_vm_writev diff --git a/tests/pselect6.c b/tests/pselect6.c index c8122e27..6c992afc 100644 --- a/tests/pselect6.c +++ b/tests/pselect6.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include "scno.h" #include #ifdef __NR_pselect6 diff --git a/tests/ptrace.c b/tests/ptrace.c index 63435a76..59b83095 100644 --- a/tests/ptrace.c +++ b/tests/ptrace.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #include "ptrace.h" diff --git a/tests/ptrace_syscall_info.c b/tests/ptrace_syscall_info.c index ea29d22e..70373637 100644 --- a/tests/ptrace_syscall_info.c +++ b/tests/ptrace_syscall_info.c @@ -10,7 +10,6 @@ #include "tests.h" #include "ptrace.h" -#include #include "scno.h" #include diff --git a/tests/qual_inject-error-signal.c b/tests/qual_inject-error-signal.c index 4c89d78a..b889de0d 100644 --- a/tests/qual_inject-error-signal.c +++ b/tests/qual_inject-error-signal.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include "scno.h" static struct stat before, after; diff --git a/tests/qual_inject-retval.c b/tests/qual_inject-retval.c index 16419a49..f352584b 100644 --- a/tests/qual_inject-retval.c +++ b/tests/qual_inject-retval.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_chdir diff --git a/tests/qual_inject-signal.c b/tests/qual_inject-signal.c index c09b8322..63e7829c 100644 --- a/tests/qual_inject-signal.c +++ b/tests/qual_inject-signal.c @@ -10,7 +10,7 @@ #include "tests.h" #include #include -#include +#include "scno.h" static void handler(int sig) diff --git a/tests/quotactl-xfs.c b/tests/quotactl-xfs.c index 1fae566d..2924fd5d 100644 --- a/tests/quotactl-xfs.c +++ b/tests/quotactl-xfs.c @@ -11,7 +11,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_quotactl) && \ (defined(HAVE_LINUX_QUOTA_H) || defined(HAVE_SYS_QUOTA_H)) && \ diff --git a/tests/quotactl.c b/tests/quotactl.c index 3a995276..9b90c1ca 100644 --- a/tests/quotactl.c +++ b/tests/quotactl.c @@ -11,7 +11,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_quotactl) && \ (defined(HAVE_LINUX_QUOTA_H) || defined(HAVE_SYS_QUOTA_H)) diff --git a/tests/read-write.c b/tests/read-write.c index 0217670b..16604a5c 100644 --- a/tests/read-write.c +++ b/tests/read-write.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include "scno.h" static void dump_str_ex(const char *str, const unsigned int len, const int idx_w) diff --git a/tests/readahead.c b/tests/readahead.c index 1b21fe59..c9ae53ee 100644 --- a/tests/readahead.c +++ b/tests/readahead.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef HAVE_READAHEAD /* Check for glibc readahead argument passing bugs. */ diff --git a/tests/readdir.c b/tests/readdir.c index 284c221e..c3ac2f2f 100644 --- a/tests/readdir.c +++ b/tests/readdir.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_readdir diff --git a/tests/readlink.c b/tests/readlink.c index c2a9b22c..3c90511e 100644 --- a/tests/readlink.c +++ b/tests/readlink.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_readlink diff --git a/tests/readlinkat.c b/tests/readlinkat.c index 6909ac0b..cde5ec13 100644 --- a/tests/readlinkat.c +++ b/tests/readlinkat.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_readlinkat diff --git a/tests/reboot.c b/tests/reboot.c index 8bc9c6b0..893a6bf4 100644 --- a/tests/reboot.c +++ b/tests/reboot.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_reboot diff --git a/tests/remap_file_pages.c b/tests/remap_file_pages.c index 2a2bfc6e..19e53a3b 100644 --- a/tests/remap_file_pages.c +++ b/tests/remap_file_pages.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_remap_file_pages diff --git a/tests/rename.c b/tests/rename.c index 3d77573c..1b795461 100644 --- a/tests/rename.c +++ b/tests/rename.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_rename diff --git a/tests/renameat.c b/tests/renameat.c index 7f11893f..192e16ad 100644 --- a/tests/renameat.c +++ b/tests/renameat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_renameat diff --git a/tests/renameat2.c b/tests/renameat2.c index 663c0638..18c0a9c6 100644 --- a/tests/renameat2.c +++ b/tests/renameat2.c @@ -8,7 +8,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_renameat2 diff --git a/tests/request_key.c b/tests/request_key.c index 20ae12f6..7b537ef0 100644 --- a/tests/request_key.c +++ b/tests/request_key.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_request_key diff --git a/tests/riscv_flush_icache.c b/tests/riscv_flush_icache.c index 27abf75b..ff050c49 100644 --- a/tests/riscv_flush_icache.c +++ b/tests/riscv_flush_icache.c @@ -9,7 +9,6 @@ #include "tests.h" -#include #include "scno.h" diff --git a/tests/rmdir.c b/tests/rmdir.c index 505303ad..80bc502f 100644 --- a/tests/rmdir.c +++ b/tests/rmdir.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_rmdir diff --git a/tests/rt_sigpending.c b/tests/rt_sigpending.c index 06b15db2..95ebe5bb 100644 --- a/tests/rt_sigpending.c +++ b/tests/rt_sigpending.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_rt_sigpending diff --git a/tests/rt_sigprocmask.c b/tests/rt_sigprocmask.c index e6f513da..ae914438 100644 --- a/tests/rt_sigprocmask.c +++ b/tests/rt_sigprocmask.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_rt_sigprocmask diff --git a/tests/rt_sigsuspend.c b/tests/rt_sigsuspend.c index 55ae6239..799a9c24 100644 --- a/tests/rt_sigsuspend.c +++ b/tests/rt_sigsuspend.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_rt_sigsuspend diff --git a/tests/rt_sigtimedwait.c b/tests/rt_sigtimedwait.c index 56144f52..8cb807a2 100644 --- a/tests/rt_sigtimedwait.c +++ b/tests/rt_sigtimedwait.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_rt_sigtimedwait diff --git a/tests/rt_tgsigqueueinfo.c b/tests/rt_tgsigqueueinfo.c index e3ad0e22..ef2aa88c 100644 --- a/tests/rt_tgsigqueueinfo.c +++ b/tests/rt_tgsigqueueinfo.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_rt_tgsigqueueinfo diff --git a/tests/s390_guarded_storage.c b/tests/s390_guarded_storage.c index a84c1413..0310773a 100644 --- a/tests/s390_guarded_storage.c +++ b/tests/s390_guarded_storage.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_s390_guarded_storage && defined HAVE_ASM_GUARDED_STORAGE_H diff --git a/tests/s390_pci_mmio_read_write.c b/tests/s390_pci_mmio_read_write.c index 0cd160c6..28481a47 100644 --- a/tests/s390_pci_mmio_read_write.c +++ b/tests/s390_pci_mmio_read_write.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_s390_pci_mmio_read && defined __NR_s390_pci_mmio_write diff --git a/tests/s390_runtime_instr.c b/tests/s390_runtime_instr.c index db31719b..c4e9b70b 100644 --- a/tests/s390_runtime_instr.c +++ b/tests/s390_runtime_instr.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_s390_runtime_instr diff --git a/tests/s390_sthyi.c b/tests/s390_sthyi.c index 5186fdc9..d71f7ff7 100644 --- a/tests/s390_sthyi.c +++ b/tests/s390_sthyi.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined HAVE_ICONV_H && defined HAVE_ICONV_OPEN && defined __NR_s390_sthyi diff --git a/tests/sched_get_priority_mxx.c b/tests/sched_get_priority_mxx.c index 7715d286..5218eea4 100644 --- a/tests/sched_get_priority_mxx.c +++ b/tests/sched_get_priority_mxx.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined(__NR_sched_get_priority_min) \ && defined(__NR_sched_get_priority_max) diff --git a/tests/sched_rr_get_interval.c b/tests/sched_rr_get_interval.c index b1117f3b..abc1b927 100644 --- a/tests/sched_rr_get_interval.c +++ b/tests/sched_rr_get_interval.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sched_rr_get_interval diff --git a/tests/sched_xetaffinity.c b/tests/sched_xetaffinity.c index 4e6fbe20..89fc3909 100644 --- a/tests/sched_xetaffinity.c +++ b/tests/sched_xetaffinity.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #if defined __NR_sched_getaffinity && defined __NR_sched_setaffinity \ diff --git a/tests/sched_xetattr.c b/tests/sched_xetattr.c index 3440876b..da7f8aba 100644 --- a/tests/sched_xetattr.c +++ b/tests/sched_xetattr.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_sched_getattr && defined __NR_sched_setattr diff --git a/tests/sched_xetparam.c b/tests/sched_xetparam.c index e1325a6f..1f94cafe 100644 --- a/tests/sched_xetparam.c +++ b/tests/sched_xetparam.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_sched_getparam && defined __NR_sched_setparam diff --git a/tests/sched_xetscheduler.c b/tests/sched_xetscheduler.c index bc48085a..0ea71db5 100644 --- a/tests/sched_xetscheduler.c +++ b/tests/sched_xetscheduler.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_sched_getscheduler && defined __NR_sched_setscheduler diff --git a/tests/sched_yield.c b/tests/sched_yield.c index 40b55617..e61db40d 100644 --- a/tests/sched_yield.c +++ b/tests/sched_yield.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sched_yield diff --git a/tests/seccomp-filter-v.c b/tests/seccomp-filter-v.c index 98eaeee5..f3adce44 100644 --- a/tests/seccomp-filter-v.c +++ b/tests/seccomp-filter-v.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include "scno.h" #include #ifdef HAVE_PRCTL diff --git a/tests/seccomp-filter.c b/tests/seccomp-filter.c index 5e28ffca..d62aec66 100644 --- a/tests/seccomp-filter.c +++ b/tests/seccomp-filter.c @@ -11,7 +11,7 @@ #include "tests.h" #include -#include +#include "scno.h" #include #ifdef HAVE_LINUX_SECCOMP_H diff --git a/tests/seccomp-strict.c b/tests/seccomp-strict.c index 1d088109..0ee19551 100644 --- a/tests/seccomp-strict.c +++ b/tests/seccomp-strict.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_seccomp && defined __NR_exit diff --git a/tests/seccomp_get_action_avail.c b/tests/seccomp_get_action_avail.c index e61678f4..6ae23b96 100644 --- a/tests/seccomp_get_action_avail.c +++ b/tests/seccomp_get_action_avail.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_seccomp diff --git a/tests/select.c b/tests/select.c index 7935032b..98aa75ca 100644 --- a/tests/select.c +++ b/tests/select.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_select && !defined __NR__newselect diff --git a/tests/sendfile.c b/tests/sendfile.c index 6ef3232e..b498aa5c 100644 --- a/tests/sendfile.c +++ b/tests/sendfile.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sendfile diff --git a/tests/sendfile64.c b/tests/sendfile64.c index c318ace8..eae4d8d4 100644 --- a/tests/sendfile64.c +++ b/tests/sendfile64.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sendfile64 diff --git a/tests/set_mempolicy.c b/tests/set_mempolicy.c index f1e4f66f..ee65c4c9 100644 --- a/tests/set_mempolicy.c +++ b/tests/set_mempolicy.c @@ -9,7 +9,6 @@ */ #include "tests.h" -#include #include "scno.h" #ifdef __NR_set_mempolicy diff --git a/tests/setdomainname.c b/tests/setdomainname.c index 177c0fd7..b95d6e1c 100644 --- a/tests/setdomainname.c +++ b/tests/setdomainname.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setdomainname diff --git a/tests/setfsgid.c b/tests/setfsgid.c index 496b2679..cce0d1e6 100644 --- a/tests/setfsgid.c +++ b/tests/setfsgid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setfsgid diff --git a/tests/setfsgid32.c b/tests/setfsgid32.c index a931602c..1f735e13 100644 --- a/tests/setfsgid32.c +++ b/tests/setfsgid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setfsgid32 diff --git a/tests/setfsuid.c b/tests/setfsuid.c index 269d38f2..59f8cb7c 100644 --- a/tests/setfsuid.c +++ b/tests/setfsuid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setfsuid diff --git a/tests/setfsuid32.c b/tests/setfsuid32.c index cfcc0f83..7445effa 100644 --- a/tests/setfsuid32.c +++ b/tests/setfsuid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setfsuid32 diff --git a/tests/setgid.c b/tests/setgid.c index 3374924a..73e22170 100644 --- a/tests/setgid.c +++ b/tests/setgid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setgid diff --git a/tests/setgid32.c b/tests/setgid32.c index 427c77b0..6903f8f0 100644 --- a/tests/setgid32.c +++ b/tests/setgid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setgid32 diff --git a/tests/setgroups.c b/tests/setgroups.c index a47f1024..6045ef70 100644 --- a/tests/setgroups.c +++ b/tests/setgroups.c @@ -17,7 +17,7 @@ #else # include "tests.h" -# include +#include "scno.h" # ifdef __NR_setgroups diff --git a/tests/setgroups32.c b/tests/setgroups32.c index 935b73a9..f15c708a 100644 --- a/tests/setgroups32.c +++ b/tests/setgroups32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setgroups32 diff --git a/tests/sethostname.c b/tests/sethostname.c index c9b89c12..39a02e68 100644 --- a/tests/sethostname.c +++ b/tests/sethostname.c @@ -10,7 +10,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sethostname diff --git a/tests/setns.c b/tests/setns.c index 8ef7a19b..a99d1411 100644 --- a/tests/setns.c +++ b/tests/setns.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setns diff --git a/tests/setregid.c b/tests/setregid.c index 68639e6a..d5972905 100644 --- a/tests/setregid.c +++ b/tests/setregid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setregid diff --git a/tests/setregid32.c b/tests/setregid32.c index 6291bc58..4f62a6fa 100644 --- a/tests/setregid32.c +++ b/tests/setregid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setregid32 diff --git a/tests/setresgid.c b/tests/setresgid.c index f3a160e3..98fce148 100644 --- a/tests/setresgid.c +++ b/tests/setresgid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setresgid diff --git a/tests/setresgid32.c b/tests/setresgid32.c index e05ae8f8..78a4ee31 100644 --- a/tests/setresgid32.c +++ b/tests/setresgid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setresgid32 diff --git a/tests/setresuid.c b/tests/setresuid.c index 855a9bf7..595b7185 100644 --- a/tests/setresuid.c +++ b/tests/setresuid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setresuid diff --git a/tests/setresuid32.c b/tests/setresuid32.c index ccfc2a51..00a5dfd8 100644 --- a/tests/setresuid32.c +++ b/tests/setresuid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setresuid32 diff --git a/tests/setreuid.c b/tests/setreuid.c index 1e34dd18..13f95538 100644 --- a/tests/setreuid.c +++ b/tests/setreuid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setreuid diff --git a/tests/setreuid32.c b/tests/setreuid32.c index c0345db7..35ce7c71 100644 --- a/tests/setreuid32.c +++ b/tests/setreuid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setreuid32 diff --git a/tests/setrlimit.c b/tests/setrlimit.c index 099e2402..4e2c1ca9 100644 --- a/tests/setrlimit.c +++ b/tests/setrlimit.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setrlimit diff --git a/tests/setuid.c b/tests/setuid.c index 4a8243e8..92e6c38c 100644 --- a/tests/setuid.c +++ b/tests/setuid.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setuid diff --git a/tests/setuid32.c b/tests/setuid32.c index ba1b2e2d..cb549db0 100644 --- a/tests/setuid32.c +++ b/tests/setuid32.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_setuid32 diff --git a/tests/sigaction.c b/tests/sigaction.c index fe6280ce..8a1acf79 100644 --- a/tests/sigaction.c +++ b/tests/sigaction.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sigaction diff --git a/tests/signal.c b/tests/signal.c index 40cd77f5..3ff95030 100644 --- a/tests/signal.c +++ b/tests/signal.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_signal diff --git a/tests/signalfd4.c b/tests/signalfd4.c index 71df2dcc..8d17a658 100644 --- a/tests/signalfd4.c +++ b/tests/signalfd4.c @@ -10,7 +10,7 @@ #include "tests.h" #include -#include +#include "scno.h" #if defined HAVE_SYS_SIGNALFD_H \ && defined HAVE_SIGNALFD \ diff --git a/tests/sigpending.c b/tests/sigpending.c index f065c873..8c2e38ac 100644 --- a/tests/sigpending.c +++ b/tests/sigpending.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sigpending diff --git a/tests/sigprocmask.c b/tests/sigprocmask.c index 566b8346..9980ac23 100644 --- a/tests/sigprocmask.c +++ b/tests/sigprocmask.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sigprocmask diff --git a/tests/sigreturn.c b/tests/sigreturn.c index 5dece0a4..c5f2bd77 100644 --- a/tests/sigreturn.c +++ b/tests/sigreturn.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __powerpc64__ \ || (defined __sparc__ && defined __arch64__) diff --git a/tests/sigsuspend.c b/tests/sigsuspend.c index 11ffae83..12b54a60 100644 --- a/tests/sigsuspend.c +++ b/tests/sigsuspend.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sigsuspend diff --git a/tests/socketcall.c b/tests/socketcall.c index 7e282f92..31cae641 100644 --- a/tests/socketcall.c +++ b/tests/socketcall.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_socketcall && !defined __ARM_EABI__ diff --git a/tests/splice.c b/tests/splice.c index 2acdde7f..d41a8b5b 100644 --- a/tests/splice.c +++ b/tests/splice.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_splice diff --git a/tests/stack-fcall-3.c b/tests/stack-fcall-3.c index d027e326..39df5fe2 100644 --- a/tests/stack-fcall-3.c +++ b/tests/stack-fcall-3.c @@ -7,7 +7,7 @@ #include #include -#include +#include "scno.h" #include "stack-fcall.h" diff --git a/tests/stat.c b/tests/stat.c index 8c8daad1..7d09d851 100644 --- a/tests/stat.c +++ b/tests/stat.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_stat diff --git a/tests/stat64.c b/tests/stat64.c index 12ded432..b0ba112a 100644 --- a/tests/stat64.c +++ b/tests/stat64.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_stat64 diff --git a/tests/statfs.c b/tests/statfs.c index 5672a7fc..70d672ca 100644 --- a/tests/statfs.c +++ b/tests/statfs.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_statfs diff --git a/tests/statfs64.c b/tests/statfs64.c index 1e0a4b24..4f1b007e 100644 --- a/tests/statfs64.c +++ b/tests/statfs64.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_statfs64 diff --git a/tests/status-none-threads.c b/tests/status-none-threads.c index 8ba9857d..ae939601 100644 --- a/tests/status-none-threads.c +++ b/tests/status-none-threads.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "scno.h" static pid_t leader; diff --git a/tests/status-unfinished-threads.c b/tests/status-unfinished-threads.c index 098096c6..2f5df1e6 100644 --- a/tests/status-unfinished-threads.c +++ b/tests/status-unfinished-threads.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "scno.h" static pid_t leader; diff --git a/tests/statx.c b/tests/statx.c index e0815b74..b964b05a 100644 --- a/tests/statx.c +++ b/tests/statx.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_statx && defined HAVE_STRUCT_STATX diff --git a/tests/swap.c b/tests/swap.c index a854182e..f3e91a23 100644 --- a/tests/swap.c +++ b/tests/swap.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_swapon && defined __NR_swapoff diff --git a/tests/sxetmask.c b/tests/sxetmask.c index 3ad2368e..85f86a5f 100644 --- a/tests/sxetmask.c +++ b/tests/sxetmask.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_sgetmask && defined __NR_ssetmask diff --git a/tests/symlink.c b/tests/symlink.c index 8283a8e2..e1e92006 100644 --- a/tests/symlink.c +++ b/tests/symlink.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_symlink diff --git a/tests/symlinkat.c b/tests/symlinkat.c index be36b941..4fb0b226 100644 --- a/tests/symlinkat.c +++ b/tests/symlinkat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_symlinkat diff --git a/tests/sync.c b/tests/sync.c index e0b654d0..80253b5d 100644 --- a/tests/sync.c +++ b/tests/sync.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_sync diff --git a/tests/sync_file_range.c b/tests/sync_file_range.c index 9eba7815..c2af43fd 100644 --- a/tests/sync_file_range.c +++ b/tests/sync_file_range.c @@ -9,7 +9,7 @@ #include "tests.h" #include -#include +#include "scno.h" #if defined HAVE_SYNC_FILE_RANGE && defined __NR_sync_file_range diff --git a/tests/sync_file_range2.c b/tests/sync_file_range2.c index 03af1005..75d1879a 100644 --- a/tests/sync_file_range2.c +++ b/tests/sync_file_range2.c @@ -9,7 +9,7 @@ #include "tests.h" #include -#include +#include "scno.h" #if defined HAVE_SYNC_FILE_RANGE && defined __NR_sync_file_range2 diff --git a/tests/syslog.c b/tests/syslog.c index 88acfdc8..8cb1f47f 100644 --- a/tests/syslog.c +++ b/tests/syslog.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_syslog diff --git a/tests/tee.c b/tests/tee.c index 2137c351..b8366103 100644 --- a/tests/tee.c +++ b/tests/tee.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_tee diff --git a/tests/test_printstrn.c b/tests/test_printstrn.c index 09c438d1..8715857b 100644 --- a/tests/test_printstrn.c +++ b/tests/test_printstrn.c @@ -13,7 +13,6 @@ #include #include #include -#include #include "scno.h" #include "test_ucopy.h" diff --git a/tests/test_ucopy.c b/tests/test_ucopy.c index 78d393b2..01d97d9e 100644 --- a/tests/test_ucopy.c +++ b/tests/test_ucopy.c @@ -22,7 +22,6 @@ #ifndef HAVE_PROCESS_VM_READV -# include # include "scno.h" static ssize_t strace_process_vm_readv(pid_t pid, diff --git a/tests/threads-execve.c b/tests/threads-execve.c index 56fab529..9499729e 100644 --- a/tests/threads-execve.c +++ b/tests/threads-execve.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #include #include #include diff --git a/tests/time.c b/tests/time.c index 330c8846..782f5b4a 100644 --- a/tests/time.c +++ b/tests/time.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_time diff --git a/tests/timer_create.c b/tests/timer_create.c index c9c64813..6c80e3b0 100644 --- a/tests/timer_create.c +++ b/tests/timer_create.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_timer_create diff --git a/tests/timer_xettime.c b/tests/timer_xettime.c index 17390c2d..f52f0a38 100644 --- a/tests/timer_xettime.c +++ b/tests/timer_xettime.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_timer_create \ && defined __NR_timer_gettime \ diff --git a/tests/timerfd_xettime.c b/tests/timerfd_xettime.c index 73616677..ce3c1b57 100644 --- a/tests/timerfd_xettime.c +++ b/tests/timerfd_xettime.c @@ -8,7 +8,7 @@ #include "tests.h" #include -#include +#include "scno.h" #if defined __NR_timerfd_create \ && defined __NR_timerfd_gettime \ diff --git a/tests/times-fail.c b/tests/times-fail.c index 551803df..096d76f6 100644 --- a/tests/times-fail.c +++ b/tests/times-fail.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include "scno.h" int main(void) diff --git a/tests/times.c b/tests/times.c index a390dde4..73150c85 100644 --- a/tests/times.c +++ b/tests/times.c @@ -19,7 +19,7 @@ #include #include -#include +#include "scno.h" #include #include diff --git a/tests/truncate.c b/tests/truncate.c index bfb6299b..3cd6daff 100644 --- a/tests/truncate.c +++ b/tests/truncate.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_truncate diff --git a/tests/truncate64.c b/tests/truncate64.c index 1dceb414..d0cbb68e 100644 --- a/tests/truncate64.c +++ b/tests/truncate64.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_truncate64 diff --git a/tests/ugetrlimit.c b/tests/ugetrlimit.c index 49627c1f..05a413cb 100644 --- a/tests/ugetrlimit.c +++ b/tests/ugetrlimit.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_ugetrlimit diff --git a/tests/umount.c b/tests/umount.c index cd89aa0b..74450bc1 100644 --- a/tests/umount.c +++ b/tests/umount.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include "scno.h" #include #ifdef __NR_oldumount diff --git a/tests/umount2.c b/tests/umount2.c index 2d07e11e..8114d098 100644 --- a/tests/umount2.c +++ b/tests/umount2.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include "scno.h" #if defined __NR_umount2 && (!defined __NR_umount || __NR_umount2 != __NR_umount) # define TEST_SYSCALL_NR __NR_umount2 diff --git a/tests/umoven-illptr.c b/tests/umoven-illptr.c index 25839f77..30261ef0 100644 --- a/tests/umoven-illptr.c +++ b/tests/umoven-illptr.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include "scno.h" int main(void) diff --git a/tests/umovestr-illptr.c b/tests/umovestr-illptr.c index 5a24357a..f4a5abe4 100644 --- a/tests/umovestr-illptr.c +++ b/tests/umovestr-illptr.c @@ -10,7 +10,7 @@ #include "tests.h" #include #include -#include +#include "scno.h" int main(void) diff --git a/tests/uname.c b/tests/uname.c index 386fd99b..35c4eaf8 100644 --- a/tests/uname.c +++ b/tests/uname.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_uname diff --git a/tests/unix-pair-send-recv.c b/tests/unix-pair-send-recv.c index 73ddd1e0..a66cb929 100644 --- a/tests/unix-pair-send-recv.c +++ b/tests/unix-pair-send-recv.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "scno.h" #ifndef __NR_send # define __NR_send -1 diff --git a/tests/unlink.c b/tests/unlink.c index 9c33b624..b7b0c117 100644 --- a/tests/unlink.c +++ b/tests/unlink.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_unlink diff --git a/tests/unlinkat.c b/tests/unlinkat.c index 67056d86..6fcf1332 100644 --- a/tests/unlinkat.c +++ b/tests/unlinkat.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_unlinkat diff --git a/tests/unshare.c b/tests/unshare.c index a49f9ef9..d3e5c98d 100644 --- a/tests/unshare.c +++ b/tests/unshare.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_unshare diff --git a/tests/userfaultfd.c b/tests/userfaultfd.c index 9e59c0fe..6cebf267 100644 --- a/tests/userfaultfd.c +++ b/tests/userfaultfd.c @@ -7,7 +7,6 @@ #include "tests.h" #include -#include #include "scno.h" #if defined __NR_userfaultfd && defined O_CLOEXEC diff --git a/tests/ustat.c b/tests/ustat.c index 0945a70d..ebe14855 100644 --- a/tests/ustat.c +++ b/tests/ustat.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_ustat diff --git a/tests/utime.c b/tests/utime.c index 151b31a9..7b73804d 100644 --- a/tests/utime.c +++ b/tests/utime.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_utime diff --git a/tests/utimensat.c b/tests/utimensat.c index b2ba6ba6..4aa83c81 100644 --- a/tests/utimensat.c +++ b/tests/utimensat.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include "scno.h" #if defined __NR_utimensat && defined UTIME_NOW && defined UTIME_OMIT diff --git a/tests/utimes.c b/tests/utimes.c index 1aee6db3..6715da21 100644 --- a/tests/utimes.c +++ b/tests/utimes.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_utimes diff --git a/tests/vhangup.c b/tests/vhangup.c index 1a786cc3..84c003fb 100644 --- a/tests/vhangup.c +++ b/tests/vhangup.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_vhangup diff --git a/tests/vmsplice.c b/tests/vmsplice.c index b986dafa..530edba1 100644 --- a/tests/vmsplice.c +++ b/tests/vmsplice.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_vmsplice diff --git a/tests/waitid.c b/tests/waitid.c index f4e4a0a8..8dd462c1 100644 --- a/tests/waitid.c +++ b/tests/waitid.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include "scno.h" static const char * sprint_rusage(const struct rusage *const ru) diff --git a/tests/waitpid.c b/tests/waitpid.c index 7069bec8..00bbcf63 100644 --- a/tests/waitpid.c +++ b/tests/waitpid.c @@ -8,7 +8,7 @@ */ #include "tests.h" -#include +#include "scno.h" #ifdef __NR_waitpid diff --git a/tests/xet_robust_list.c b/tests/xet_robust_list.c index cf4f2234..7cde3f63 100644 --- a/tests/xet_robust_list.c +++ b/tests/xet_robust_list.c @@ -7,7 +7,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_get_robust_list && defined __NR_set_robust_list diff --git a/tests/xet_thread_area_x86.c b/tests/xet_thread_area_x86.c index a1efd319..bf107739 100644 --- a/tests/xet_thread_area_x86.c +++ b/tests/xet_thread_area_x86.c @@ -10,7 +10,7 @@ #include "tests.h" -#include +#include "scno.h" #if defined __NR_get_thread_area && defined __NR_set_thread_area \ && defined HAVE_STRUCT_USER_DESC diff --git a/tests/xetitimer.c b/tests/xetitimer.c index 8d758974..68f2c8f2 100644 --- a/tests/xetitimer.c +++ b/tests/xetitimer.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "scno.h" int main(void) diff --git a/tests/xetpgid.c b/tests/xetpgid.c index 46dd332d..c2f91a92 100644 --- a/tests/xetpgid.c +++ b/tests/xetpgid.c @@ -9,7 +9,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_getpgid && defined __NR_setpgid diff --git a/tests/xetpriority.c b/tests/xetpriority.c index 5cd97ea9..7ba72494 100644 --- a/tests/xetpriority.c +++ b/tests/xetpriority.c @@ -6,7 +6,7 @@ */ #include "tests.h" -#include +#include "scno.h" #if defined __NR_getpriority && defined __NR_setpriority diff --git a/tests/xettimeofday.c b/tests/xettimeofday.c index 9c811262..44ed129a 100644 --- a/tests/xettimeofday.c +++ b/tests/xettimeofday.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "scno.h" int main(void) diff --git a/ucopy.c b/ucopy.c index 7db49c4a..b335c229 100644 --- a/ucopy.c +++ b/ucopy.c @@ -14,7 +14,6 @@ #include "defs.h" #include -#include #include "scno.h" #include "ptrace.h"