Browse Source

Consistently define __NR_* constants

Include <asm/unistd.h> from "scno.h", include "scno.h" instead of
<asm/unistd.h>, do not include <asm/unistd.h> where "scno.h" is already
included.

* scno.head: Include <asm/unistd.h>.
* clone.c: Include "scno.h" instead of <asm/unistd.h>.
* 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 <asm/unistd.h>.
* 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.
Dmitry V. Levin 4 months ago
parent
commit
9dfad9d841
100 changed files with 85 additions and 98 deletions
  1. 1
    1
      clone.c
  2. 2
    0
      scno.head
  3. 0
    1
      strace.c
  4. 1
    1
      syscall.c
  5. 1
    1
      tests/_newselect.c
  6. 1
    1
      tests/accept.c
  7. 1
    1
      tests/accept_compat.h
  8. 1
    1
      tests/access.c
  9. 1
    1
      tests/acct.c
  10. 0
    1
      tests/add_key.c
  11. 1
    1
      tests/aio.c
  12. 0
    1
      tests/aio_pgetevents.c
  13. 1
    1
      tests/alarm.c
  14. 1
    1
      tests/answer.c
  15. 1
    1
      tests/attach-f-p.c
  16. 0
    1
      tests/bpf-obj_get_info_by_fd.c
  17. 0
    1
      tests/bpf.c
  18. 1
    1
      tests/brk.c
  19. 1
    1
      tests/chmod.c
  20. 1
    1
      tests/chown.c
  21. 1
    1
      tests/chown32.c
  22. 1
    1
      tests/chroot.c
  23. 1
    1
      tests/clock_adjtime.c
  24. 1
    1
      tests/clock_nanosleep.c
  25. 1
    1
      tests/clock_xettime.c
  26. 0
    1
      tests/copy_file_range.c
  27. 1
    1
      tests/creat.c
  28. 1
    1
      tests/delay.c
  29. 1
    1
      tests/delete_module.c
  30. 1
    1
      tests/dev-yy.c
  31. 1
    1
      tests/dup2.c
  32. 1
    1
      tests/dup3.c
  33. 1
    1
      tests/epoll_create.c
  34. 1
    1
      tests/epoll_create1.c
  35. 1
    1
      tests/epoll_ctl.c
  36. 1
    1
      tests/epoll_pwait.c
  37. 1
    1
      tests/epoll_wait.c
  38. 1
    1
      tests/eventfd.c
  39. 0
    1
      tests/execveat.c
  40. 1
    1
      tests/faccessat.c
  41. 1
    1
      tests/fadvise64.c
  42. 1
    1
      tests/fadvise64_64.c
  43. 1
    1
      tests/fallocate.c
  44. 1
    1
      tests/fanotify_init.c
  45. 1
    1
      tests/fanotify_mark.c
  46. 1
    1
      tests/fchdir.c
  47. 1
    1
      tests/fchmod.c
  48. 1
    1
      tests/fchmodat.c
  49. 1
    1
      tests/fchown.c
  50. 1
    1
      tests/fchown32.c
  51. 1
    1
      tests/fchownat.c
  52. 1
    1
      tests/fcntl.c
  53. 1
    1
      tests/fcntl64.c
  54. 1
    1
      tests/fdatasync.c
  55. 1
    1
      tests/file_handle.c
  56. 0
    1
      tests/finit_module.c
  57. 1
    1
      tests/flock.c
  58. 0
    1
      tests/fsconfig.c
  59. 0
    1
      tests/fsmount.c
  60. 0
    1
      tests/fsopen.c
  61. 0
    1
      tests/fspick.c
  62. 1
    1
      tests/fstat.c
  63. 1
    1
      tests/fstat64.c
  64. 1
    1
      tests/fstatat64.c
  65. 1
    1
      tests/fstatfs.c
  66. 1
    1
      tests/fstatfs64.c
  67. 1
    1
      tests/fsync.c
  68. 1
    1
      tests/ftruncate.c
  69. 1
    1
      tests/ftruncate64.c
  70. 1
    1
      tests/futex.c
  71. 1
    1
      tests/futimesat.c
  72. 1
    1
      tests/get_mempolicy.c
  73. 1
    1
      tests/get_sigset_size.c
  74. 1
    1
      tests/getcpu.c
  75. 1
    1
      tests/getcwd.c
  76. 1
    1
      tests/getdents.c
  77. 1
    1
      tests/getdents64.c
  78. 0
    1
      tests/getegid.c
  79. 1
    1
      tests/getegid32.c
  80. 0
    1
      tests/geteuid.c
  81. 1
    1
      tests/geteuid32.c
  82. 1
    1
      tests/getgid.c
  83. 1
    1
      tests/getgid32.c
  84. 1
    1
      tests/getgroups.c
  85. 1
    1
      tests/getgroups32.c
  86. 1
    1
      tests/getpgrp.c
  87. 1
    1
      tests/getpid.c
  88. 0
    1
      tests/getppid.c
  89. 1
    1
      tests/getrandom.c
  90. 1
    1
      tests/getresgid.c
  91. 1
    1
      tests/getresgid32.c
  92. 1
    1
      tests/getresuid.c
  93. 1
    1
      tests/getresuid32.c
  94. 1
    1
      tests/getrlimit.c
  95. 1
    1
      tests/getrusage.c
  96. 1
    1
      tests/gettid.c
  97. 1
    1
      tests/getuid.c
  98. 1
    1
      tests/getuid32.c
  99. 1
    1
      tests/getxxid.c
  100. 0
    0
      tests/init_module.c

+ 1
- 1
clone.c View File

@@ -12,7 +12,7 @@
12 12
 
13 13
 #include "defs.h"
14 14
 #include <sched.h>
15
-#include <asm/unistd.h>
15
+#include "scno.h"
16 16
 
17 17
 #ifndef CSIGNAL
18 18
 # define CSIGNAL 0x000000ff

+ 2
- 0
scno.head View File

@@ -5,6 +5,8 @@
5 5
  * SPDX-License-Identifier: LGPL-2.1-or-later
6 6
  */
7 7
 
8
+#include <asm/unistd.h>
9
+
8 10
 #if defined __X32_SYSCALL_BIT && defined __NR_read \
9 11
  && (__X32_SYSCALL_BIT & __NR_read) == __X32_SYSCALL_BIT
10 12
 # define SYSCALL_BIT __X32_SYSCALL_BIT

+ 0
- 1
strace.c View File

@@ -28,7 +28,6 @@
28 28
 #ifdef HAVE_PRCTL
29 29
 # include <sys/prctl.h>
30 30
 #endif
31
-#include <asm/unistd.h>
32 31
 
33 32
 #include "kill_save_errno.h"
34 33
 #include "largefile_wrappers.h"

+ 1
- 1
syscall.c View File

@@ -28,7 +28,7 @@
28 28
 #include <sys/uio.h>
29 29
 
30 30
 /* for __X32_SYSCALL_BIT */
31
-#include <asm/unistd.h>
31
+#include "scno.h"
32 32
 
33 33
 #include "regs.h"
34 34
 

+ 1
- 1
tests/_newselect.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR__newselect
12 12
 

+ 1
- 1
tests/accept.c View File

@@ -12,7 +12,7 @@
12 12
 
13 13
 #include <unistd.h>
14 14
 
15
-#include <asm/unistd.h>
15
+#include "scno.h"
16 16
 
17 17
 #if defined __NR_accept
18 18
 

+ 1
- 1
tests/accept_compat.h View File

@@ -10,7 +10,7 @@
10 10
 
11 11
 # include <unistd.h>
12 12
 # include <sys/socket.h>
13
-# include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 # if defined __NR_socketcall && defined __sparc__
16 16
 /*

+ 1
- 1
tests/access.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_access
12 12
 

+ 1
- 1
tests/acct.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_acct
12 12
 

+ 0
- 1
tests/add_key.c View File

@@ -9,7 +9,6 @@
9 9
  */
10 10
 
11 11
 #include "tests.h"
12
-#include <asm/unistd.h>
13 12
 #include "scno.h"
14 13
 
15 14
 #ifdef __NR_add_key

+ 1
- 1
tests/aio.c View File

@@ -12,7 +12,7 @@
12 12
 #include <stdio.h>
13 13
 #include <time.h>
14 14
 #include <unistd.h>
15
-#include <asm/unistd.h>
15
+#include "scno.h"
16 16
 
17 17
 #if defined __NR_io_setup \
18 18
  && defined __NR_io_submit \

+ 0
- 1
tests/aio_pgetevents.c View File

@@ -10,7 +10,6 @@
10 10
 
11 11
 #include "tests.h"
12 12
 #include <unistd.h>
13
-#include <asm/unistd.h>
14 13
 #include "scno.h"
15 14
 
16 15
 #if defined __NR_io_setup && defined __NR_io_pgetevents

+ 1
- 1
tests/alarm.c View File

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #ifdef __NR_alarm
14 14
 

+ 1
- 1
tests/answer.c View File

@@ -9,7 +9,7 @@
9 9
 
10 10
 #include "tests.h"
11 11
 #include <unistd.h>
12
-#include <asm/unistd.h>
12
+#include "scno.h"
13 13
 
14 14
 int
15 15
 main(void)

+ 1
- 1
tests/attach-f-p.c View File

@@ -14,7 +14,7 @@
14 14
 #include <stdio.h>
15 15
 #include <stdlib.h>
16 16
 #include <sys/stat.h>
17
-#include <asm/unistd.h>
17
+#include "scno.h"
18 18
 #include <unistd.h>
19 19
 
20 20
 #define N 3

+ 0
- 1
tests/bpf-obj_get_info_by_fd.c View File

@@ -21,7 +21,6 @@
21 21
 #include <string.h>
22 22
 #include <unistd.h>
23 23
 #include <sys/sysmacros.h>
24
-#include <asm/unistd.h>
25 24
 
26 25
 #include "print_fields.h"
27 26
 #include "scno.h"

+ 0
- 1
tests/bpf.c View File

@@ -16,7 +16,6 @@
16 16
 #include <string.h>
17 17
 #include <unistd.h>
18 18
 
19
-#include <asm/unistd.h>
20 19
 #include "scno.h"
21 20
 
22 21
 #ifdef HAVE_LINUX_BPF_H

+ 1
- 1
tests/brk.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_brk
12 12
 

+ 1
- 1
tests/chmod.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #if defined __NR_chmod
13 13
 

+ 1
- 1
tests/chown.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_chown
12 12
 

+ 1
- 1
tests/chown32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_chown32
12 12
 

+ 1
- 1
tests/chroot.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_chroot
12 12
 

+ 1
- 1
tests/clock_adjtime.c View File

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #ifdef __NR_clock_adjtime
14 14
 

+ 1
- 1
tests/clock_nanosleep.c View File

@@ -16,7 +16,7 @@
16 16
 #include <time.h>
17 17
 #include <unistd.h>
18 18
 #include <sys/time.h>
19
-#include <asm/unistd.h>
19
+#include "scno.h"
20 20
 
21 21
 static void
22 22
 handler(int signo)

+ 1
- 1
tests/clock_xettime.c View File

@@ -11,7 +11,7 @@
11 11
 #include <stdint.h>
12 12
 #include <time.h>
13 13
 #include <unistd.h>
14
-#include <asm/unistd.h>
14
+#include "scno.h"
15 15
 
16 16
 #if defined __NR_clock_getres \
17 17
  && defined __NR_clock_gettime \

+ 0
- 1
tests/copy_file_range.c View File

@@ -9,7 +9,6 @@
9 9
  */
10 10
 
11 11
 #include "tests.h"
12
-#include <asm/unistd.h>
13 12
 #include "scno.h"
14 13
 
15 14
 #if defined __NR_copy_file_range

+ 1
- 1
tests/creat.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_creat
12 12
 

+ 1
- 1
tests/delay.c View File

@@ -16,7 +16,7 @@
16 16
 #include <time.h>
17 17
 #include <sys/time.h>
18 18
 #include <sys/wait.h>
19
-#include <asm/unistd.h>
19
+#include "scno.h"
20 20
 
21 21
 static int64_t
22 22
 usecs_from_tv(const struct timeval *const tv)

+ 1
- 1
tests/delete_module.c View File

@@ -10,7 +10,7 @@
10 10
 
11 11
 #include "tests.h"
12 12
 
13
-#include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 #if defined(__NR_delete_module)
16 16
 

+ 1
- 1
tests/dev-yy.c View File

@@ -12,7 +12,7 @@
12 12
 #include <stdio.h>
13 13
 #include <unistd.h>
14 14
 
15
-#include <asm/unistd.h>
15
+#include "scno.h"
16 16
 
17 17
 #include <linux/fcntl.h>
18 18
 

+ 1
- 1
tests/dup2.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_dup2
12 12
 

+ 1
- 1
tests/dup3.c View File

@@ -7,7 +7,7 @@
7 7
 
8 8
 #include "tests.h"
9 9
 #include <fcntl.h>
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #if defined __NR_dup3 && defined O_CLOEXEC
13 13
 

+ 1
- 1
tests/epoll_create.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_epoll_create
12 12
 

+ 1
- 1
tests/epoll_create1.c View File

@@ -7,7 +7,7 @@
7 7
 
8 8
 #include "tests.h"
9 9
 #include <fcntl.h>
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #if defined __NR_epoll_create1 && defined O_CLOEXEC
13 13
 

+ 1
- 1
tests/epoll_ctl.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_epoll_ctl
12 12
 

+ 1
- 1
tests/epoll_pwait.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_epoll_pwait
12 12
 

+ 1
- 1
tests/epoll_wait.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_epoll_wait
12 12
 

+ 1
- 1
tests/eventfd.c View File

@@ -8,7 +8,7 @@
8 8
 #include "tests.h"
9 9
 #include <fcntl.h>
10 10
 #include <unistd.h>
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #if defined __NR_eventfd2 && defined O_CLOEXEC
14 14
 

+ 0
- 1
tests/execveat.c View File

@@ -9,7 +9,6 @@
9 9
  */
10 10
 
11 11
 #include "tests.h"
12
-#include <asm/unistd.h>
13 12
 #include "scno.h"
14 13
 
15 14
 #ifdef __NR_execveat

+ 1
- 1
tests/faccessat.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_faccessat
12 12
 

+ 1
- 1
tests/fadvise64.c View File

@@ -11,7 +11,7 @@
11 11
 
12 12
 #include "tests.h"
13 13
 
14
-#include <asm/unistd.h>
14
+#include "scno.h"
15 15
 
16 16
 #ifdef __NR_fadvise64
17 17
 

+ 1
- 1
tests/fadvise64_64.c View File

@@ -11,7 +11,7 @@
11 11
 
12 12
 #include "tests.h"
13 13
 
14
-#include <asm/unistd.h>
14
+#include "scno.h"
15 15
 
16 16
 #ifdef __arm__
17 17
 # ifdef __NR_arm_fadvise64_64

+ 1
- 1
tests/fallocate.c View File

@@ -10,7 +10,7 @@
10 10
 
11 11
 #include "tests.h"
12 12
 
13
-#include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 #if defined(__NR_fallocate) && defined(HAVE_FALLOCATE) && HAVE_FALLOCATE
16 16
 

+ 1
- 1
tests/fanotify_init.c View File

@@ -10,7 +10,7 @@
10 10
 
11 11
 #include "tests.h"
12 12
 
13
-#include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 #if defined __NR_fanotify_init
16 16
 

+ 1
- 1
tests/fanotify_mark.c View File

@@ -11,7 +11,7 @@
11 11
 
12 12
 #include "tests.h"
13 13
 
14
-#include <asm/unistd.h>
14
+#include "scno.h"
15 15
 
16 16
 #if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK && \
17 17
 	defined __NR_fanotify_mark

+ 1
- 1
tests/fchdir.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_fchdir
12 12
 

+ 1
- 1
tests/fchmod.c View File

@@ -10,7 +10,7 @@
10 10
  */
11 11
 
12 12
 #include "tests.h"
13
-#include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 #ifdef __NR_fchmod
16 16
 

+ 1
- 1
tests/fchmodat.c View File

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #ifdef __NR_fchmodat
14 14
 

+ 1
- 1
tests/fchown.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_fchown
12 12
 

+ 1
- 1
tests/fchown32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_fchown32
12 12
 

+ 1
- 1
tests/fchownat.c View File

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 #include <fcntl.h>
13 13
 
14 14
 #if defined __NR_fchownat && defined AT_FDCWD && defined AT_SYMLINK_NOFOLLOW

+ 1
- 1
tests/fcntl.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_fcntl
13 13
 

+ 1
- 1
tests/fcntl64.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_fcntl64
13 13
 

+ 1
- 1
tests/fdatasync.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_fdatasync
12 12
 

+ 1
- 1
tests/file_handle.c View File

@@ -10,7 +10,7 @@
10 10
  */
11 11
 
12 12
 #include "tests.h"
13
-#include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 #if defined __NR_name_to_handle_at && defined __NR_open_by_handle_at
16 16
 

+ 0
- 1
tests/finit_module.c View File

@@ -10,7 +10,6 @@
10 10
 
11 11
 #include "tests.h"
12 12
 
13
-#include <asm/unistd.h>
14 13
 #include "scno.h"
15 14
 
16 15
 #if defined(__NR_finit_module)

+ 1
- 1
tests/flock.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_flock
12 12
 

+ 0
- 1
tests/fsconfig.c View File

@@ -8,7 +8,6 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
12 11
 #include "scno.h"
13 12
 
14 13
 #ifdef __NR_fsconfig

+ 0
- 1
tests/fsmount.c View File

@@ -8,7 +8,6 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
12 11
 #include "scno.h"
13 12
 
14 13
 #ifdef __NR_fsmount

+ 0
- 1
tests/fsopen.c View File

@@ -8,7 +8,6 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
12 11
 #include "scno.h"
13 12
 
14 13
 #ifdef __NR_fsopen

+ 0
- 1
tests/fspick.c View File

@@ -8,7 +8,6 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
12 11
 #include "scno.h"
13 12
 
14 13
 #ifdef __NR_fspick

+ 1
- 1
tests/fstat.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_fstat
13 13
 

+ 1
- 1
tests/fstat64.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_fstat64
13 13
 

+ 1
- 1
tests/fstatat64.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_fstatat64
13 13
 

+ 1
- 1
tests/fstatfs.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_fstatfs
12 12
 

+ 1
- 1
tests/fstatfs64.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_fstatfs64
12 12
 

+ 1
- 1
tests/fsync.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_fsync
12 12
 

+ 1
- 1
tests/ftruncate.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_ftruncate
12 12
 

+ 1
- 1
tests/ftruncate64.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_ftruncate64
12 12
 

+ 1
- 1
tests/futex.c View File

@@ -8,7 +8,7 @@
8 8
 
9 9
 #include "tests.h"
10 10
 
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #ifdef __NR_futex
14 14
 

+ 1
- 1
tests/futimesat.c View File

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #ifdef __NR_futimesat
14 14
 

+ 1
- 1
tests/get_mempolicy.c View File

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #ifdef __NR_get_mempolicy
14 14
 

+ 1
- 1
tests/get_sigset_size.c View File

@@ -10,7 +10,7 @@
10 10
 #include "tests.h"
11 11
 #include <signal.h>
12 12
 #include <unistd.h>
13
-#include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 /*
16 16
  * If the sigset size specified to rt_sigprocmask is not equal to the size

+ 1
- 1
tests/getcpu.c View File

@@ -10,7 +10,7 @@
10 10
 
11 11
 #include "tests.h"
12 12
 
13
-#include <asm/unistd.h>
13
+#include "scno.h"
14 14
 
15 15
 #ifdef __NR_getcpu
16 16
 

+ 1
- 1
tests/getcwd.c View File

@@ -7,7 +7,7 @@
7 7
 
8 8
 #include "tests.h"
9 9
 
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_getcwd
13 13
 

+ 1
- 1
tests/getdents.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_getdents
13 13
 

+ 1
- 1
tests/getdents64.c View File

@@ -7,7 +7,7 @@
7 7
  */
8 8
 
9 9
 #include "tests.h"
10
-#include <asm/unistd.h>
10
+#include "scno.h"
11 11
 
12 12
 #ifdef __NR_getdents64
13 13
 

+ 0
- 1
tests/getegid.c View File

@@ -6,7 +6,6 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
10 9
 #include "scno.h"
11 10
 
12 11
 #ifdef __NR_getegid

+ 1
- 1
tests/getegid32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getegid32
12 12
 

+ 0
- 1
tests/geteuid.c View File

@@ -6,7 +6,6 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
10 9
 #include "scno.h"
11 10
 
12 11
 #ifdef __NR_geteuid

+ 1
- 1
tests/geteuid32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_geteuid32
12 12
 

+ 1
- 1
tests/getgid.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #if defined __NR_getgid && (!defined __NR_getxgid || __NR_getxgid != __NR_getgid)
12 12
 

+ 1
- 1
tests/getgid32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getgid32
12 12
 

+ 1
- 1
tests/getgroups.c View File

@@ -17,7 +17,7 @@
17 17
 #else
18 18
 
19 19
 # include "tests.h"
20
-# include <asm/unistd.h>
20
+#include "scno.h"
21 21
 
22 22
 # ifdef __NR_getgroups
23 23
 

+ 1
- 1
tests/getgroups32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getgroups32
12 12
 

+ 1
- 1
tests/getpgrp.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getpgrp
12 12
 

+ 1
- 1
tests/getpid.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #if defined __NR_getpid && (!defined __NR_getxpid || __NR_getxpid != __NR_getpid)
12 12
 

+ 0
- 1
tests/getppid.c View File

@@ -6,7 +6,6 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
10 9
 #include "scno.h"
11 10
 
12 11
 #ifdef __NR_getppid

+ 1
- 1
tests/getrandom.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getrandom
12 12
 

+ 1
- 1
tests/getresgid.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getresgid
12 12
 

+ 1
- 1
tests/getresgid32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getresgid32
12 12
 

+ 1
- 1
tests/getresuid.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getresuid
12 12
 

+ 1
- 1
tests/getresuid32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getresuid32
12 12
 

+ 1
- 1
tests/getrlimit.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getrlimit
12 12
 

+ 1
- 1
tests/getrusage.c View File

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #include "tests.h"
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 #ifdef __NR_getrusage
14 14
 

+ 1
- 1
tests/gettid.c View File

@@ -8,7 +8,7 @@
8 8
 #include "tests.h"
9 9
 #include <stdio.h>
10 10
 #include <unistd.h>
11
-#include <asm/unistd.h>
11
+#include "scno.h"
12 12
 
13 13
 int
14 14
 main(void)

+ 1
- 1
tests/getuid.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #if defined __NR_getuid && (!defined __NR_getxuid || __NR_getxuid != __NR_getuid)
12 12
 

+ 1
- 1
tests/getuid32.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #ifdef __NR_getuid32
12 12
 

+ 1
- 1
tests/getxxid.c View File

@@ -6,7 +6,7 @@
6 6
  */
7 7
 
8 8
 #include "tests.h"
9
-#include <asm/unistd.h>
9
+#include "scno.h"
10 10
 
11 11
 #if defined __NR_getxpid && defined __NR_getxuid && defined __NR_getxgid
12 12
 

+ 0
- 0
tests/init_module.c View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save