summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiroz Khan <firoz.khan@linaro.org>2018-11-13 01:57:45 -0500
committerTony Luck <tony.luck@intel.com>2018-11-13 11:56:25 -0500
commitc51836246f9772dfab8ca7bb945f4a566fe502d5 (patch)
tree26be989ecb78ecf1e9c9e83e4f10faa9cdb78e8a
parentffec9214544c136406dc3ad43101e34da3491cdd (diff)
ia64: generate uapi header and system call table files
System call table generation script must be run to gener- ate unistd_64.h and syscall_table.h files. This patch will have changes which will invokes the script. This patch will generate unistd_64.h and syscall_table.h files by the syscall table generation script invoked by ia64/Makefile and the generated files against the removed files must be identical. The generated uapi header file will be included in uapi/- asm/unistd.h and generated system call table header file will be included by kernel/entry.S file. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--arch/ia64/Makefile3
-rw-r--r--arch/ia64/include/asm/Kbuild1
-rw-r--r--arch/ia64/include/uapi/asm/Kbuild1
-rw-r--r--arch/ia64/include/uapi/asm/unistd.h331
-rw-r--r--arch/ia64/kernel/entry.S331
5 files changed, 9 insertions, 658 deletions
diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index 45f59808b842..320d86f192ee 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -80,6 +80,9 @@ unwcheck: vmlinux
80archclean: 80archclean:
81 $(Q)$(MAKE) $(clean)=$(boot) 81 $(Q)$(MAKE) $(clean)=$(boot)
82 82
83archheaders:
84 $(Q)$(MAKE) $(build)=arch/ia64/kernel/syscalls all
85
83CLEAN_FILES += vmlinux.gz bootloader 86CLEAN_FILES += vmlinux.gz bootloader
84 87
85boot: lib/lib.a vmlinux 88boot: lib/lib.a vmlinux
diff --git a/arch/ia64/include/asm/Kbuild b/arch/ia64/include/asm/Kbuild
index 557bbc8ba9f5..43e21fe3499c 100644
--- a/arch/ia64/include/asm/Kbuild
+++ b/arch/ia64/include/asm/Kbuild
@@ -1,3 +1,4 @@
1generated-y += syscall_table.h
1generic-y += compat.h 2generic-y += compat.h
2generic-y += exec.h 3generic-y += exec.h
3generic-y += irq_work.h 4generic-y += irq_work.h
diff --git a/arch/ia64/include/uapi/asm/Kbuild b/arch/ia64/include/uapi/asm/Kbuild
index 3982e673e967..ccce0ea65e05 100644
--- a/arch/ia64/include/uapi/asm/Kbuild
+++ b/arch/ia64/include/uapi/asm/Kbuild
@@ -1,6 +1,7 @@
1# UAPI Header export list 1# UAPI Header export list
2include include/uapi/asm-generic/Kbuild.asm 2include include/uapi/asm-generic/Kbuild.asm
3 3
4generated-y += unistd_64.h
4generic-y += bpf_perf_event.h 5generic-y += bpf_perf_event.h
5generic-y += ipcbuf.h 6generic-y += ipcbuf.h
6generic-y += kvm_para.h 7generic-y += kvm_para.h
diff --git a/arch/ia64/include/uapi/asm/unistd.h b/arch/ia64/include/uapi/asm/unistd.h
index ac51593dc84d..b2513922dcb5 100644
--- a/arch/ia64/include/uapi/asm/unistd.h
+++ b/arch/ia64/include/uapi/asm/unistd.h
@@ -14,336 +14,7 @@
14#define __BREAK_SYSCALL __IA64_BREAK_SYSCALL 14#define __BREAK_SYSCALL __IA64_BREAK_SYSCALL
15 15
16#define __NR_Linux 1024 16#define __NR_Linux 1024
17#define __NR_ni_syscall (__NR_Linux + 0)
18#define __NR_exit (__NR_Linux + 1)
19#define __NR_read (__NR_Linux + 2)
20#define __NR_write (__NR_Linux + 3)
21#define __NR_open (__NR_Linux + 4)
22#define __NR_close (__NR_Linux + 5)
23#define __NR_creat (__NR_Linux + 6)
24#define __NR_link (__NR_Linux + 7)
25#define __NR_unlink (__NR_Linux + 8)
26#define __NR_execve (__NR_Linux + 9)
27#define __NR_chdir (__NR_Linux + 10)
28#define __NR_fchdir (__NR_Linux + 11)
29#define __NR_utimes (__NR_Linux + 12)
30#define __NR_mknod (__NR_Linux + 13)
31#define __NR_chmod (__NR_Linux + 14)
32#define __NR_chown (__NR_Linux + 15)
33#define __NR_lseek (__NR_Linux + 16)
34#define __NR_getpid (__NR_Linux + 17)
35#define __NR_getppid (__NR_Linux + 18)
36#define __NR_mount (__NR_Linux + 19)
37#define __NR_umount (__NR_Linux + 20)
38#define __NR_setuid (__NR_Linux + 21)
39#define __NR_getuid (__NR_Linux + 22)
40#define __NR_geteuid (__NR_Linux + 23)
41#define __NR_ptrace (__NR_Linux + 24)
42#define __NR_access (__NR_Linux + 25)
43#define __NR_sync (__NR_Linux + 26)
44#define __NR_fsync (__NR_Linux + 27)
45#define __NR_fdatasync (__NR_Linux + 28)
46#define __NR_kill (__NR_Linux + 29)
47#define __NR_rename (__NR_Linux + 30)
48#define __NR_mkdir (__NR_Linux + 31)
49#define __NR_rmdir (__NR_Linux + 32)
50#define __NR_dup (__NR_Linux + 33)
51#define __NR_pipe (__NR_Linux + 34)
52#define __NR_times (__NR_Linux + 35)
53#define __NR_brk (__NR_Linux + 36)
54#define __NR_setgid (__NR_Linux + 37)
55#define __NR_getgid (__NR_Linux + 38)
56#define __NR_getegid (__NR_Linux + 39)
57#define __NR_acct (__NR_Linux + 40)
58#define __NR_ioctl (__NR_Linux + 41)
59#define __NR_fcntl (__NR_Linux + 42)
60#define __NR_umask (__NR_Linux + 43)
61#define __NR_chroot (__NR_Linux + 44)
62#define __NR_ustat (__NR_Linux + 45)
63#define __NR_dup2 (__NR_Linux + 46)
64#define __NR_setreuid (__NR_Linux + 47)
65#define __NR_setregid (__NR_Linux + 48)
66#define __NR_getresuid (__NR_Linux + 49)
67#define __NR_setresuid (__NR_Linux + 50)
68#define __NR_getresgid (__NR_Linux + 51)
69#define __NR_setresgid (__NR_Linux + 52)
70#define __NR_getgroups (__NR_Linux + 53)
71#define __NR_setgroups (__NR_Linux + 54)
72#define __NR_getpgid (__NR_Linux + 55)
73#define __NR_setpgid (__NR_Linux + 56)
74#define __NR_setsid (__NR_Linux + 57)
75#define __NR_getsid (__NR_Linux + 58)
76#define __NR_sethostname (__NR_Linux + 59)
77#define __NR_setrlimit (__NR_Linux + 60)
78#define __NR_getrlimit (__NR_Linux + 61)
79#define __NR_getrusage (__NR_Linux + 62)
80#define __NR_gettimeofday (__NR_Linux + 63)
81#define __NR_settimeofday (__NR_Linux + 64)
82#define __NR_select (__NR_Linux + 65)
83#define __NR_poll (__NR_Linux + 66)
84#define __NR_symlink (__NR_Linux + 67)
85#define __NR_readlink (__NR_Linux + 68)
86#define __NR_uselib (__NR_Linux + 69)
87#define __NR_swapon (__NR_Linux + 70)
88#define __NR_swapoff (__NR_Linux + 71)
89#define __NR_reboot (__NR_Linux + 72)
90#define __NR_truncate (__NR_Linux + 73)
91#define __NR_ftruncate (__NR_Linux + 74)
92#define __NR_fchmod (__NR_Linux + 75)
93#define __NR_fchown (__NR_Linux + 76)
94#define __NR_getpriority (__NR_Linux + 77)
95#define __NR_setpriority (__NR_Linux + 78)
96#define __NR_statfs (__NR_Linux + 79)
97#define __NR_fstatfs (__NR_Linux + 80)
98#define __NR_gettid (__NR_Linux + 81)
99#define __NR_semget (__NR_Linux + 82)
100#define __NR_semop (__NR_Linux + 83)
101#define __NR_semctl (__NR_Linux + 84)
102#define __NR_msgget (__NR_Linux + 85)
103#define __NR_msgsnd (__NR_Linux + 86)
104#define __NR_msgrcv (__NR_Linux + 87)
105#define __NR_msgctl (__NR_Linux + 88)
106#define __NR_shmget (__NR_Linux + 89)
107#define __NR_shmat (__NR_Linux + 90)
108#define __NR_shmdt (__NR_Linux + 91)
109#define __NR_shmctl (__NR_Linux + 92)
110/* also known as klogctl() in GNU libc: */
111#define __NR_syslog (__NR_Linux + 93)
112#define __NR_setitimer (__NR_Linux + 94)
113#define __NR_getitimer (__NR_Linux + 95)
114/* 1120 was __NR_old_stat */
115/* 1121 was __NR_old_lstat */
116/* 1122 was __NR_old_fstat */
117#define __NR_vhangup (__NR_Linux + 99)
118#define __NR_lchown (__NR_Linux + 100)
119#define __NR_remap_file_pages (__NR_Linux + 101)
120#define __NR_wait4 (__NR_Linux + 102)
121#define __NR_sysinfo (__NR_Linux + 103)
122#define __NR_clone (__NR_Linux + 104)
123#define __NR_setdomainname (__NR_Linux + 105)
124#define __NR_uname (__NR_Linux + 106)
125#define __NR_adjtimex (__NR_Linux + 107)
126/* 1132 was __NR_create_module */
127#define __NR_init_module (__NR_Linux + 109)
128#define __NR_delete_module (__NR_Linux + 110)
129/* 1135 was __NR_get_kernel_syms */
130/* 1136 was __NR_query_module */
131#define __NR_quotactl (__NR_Linux + 113)
132#define __NR_bdflush (__NR_Linux + 114)
133#define __NR_sysfs (__NR_Linux + 115)
134#define __NR_personality (__NR_Linux + 116)
135#define __NR_afs_syscall (__NR_Linux + 117)
136#define __NR_setfsuid (__NR_Linux + 118)
137#define __NR_setfsgid (__NR_Linux + 119)
138#define __NR_getdents (__NR_Linux + 120)
139#define __NR_flock (__NR_Linux + 121)
140#define __NR_readv (__NR_Linux + 122)
141#define __NR_writev (__NR_Linux + 123)
142#define __NR_pread64 (__NR_Linux + 124)
143#define __NR_pwrite64 (__NR_Linux + 125)
144#define __NR__sysctl (__NR_Linux + 126)
145#define __NR_mmap (__NR_Linux + 127)
146#define __NR_munmap (__NR_Linux + 128)
147#define __NR_mlock (__NR_Linux + 129)
148#define __NR_mlockall (__NR_Linux + 130)
149#define __NR_mprotect (__NR_Linux + 131)
150#define __NR_mremap (__NR_Linux + 132)
151#define __NR_msync (__NR_Linux + 133)
152#define __NR_munlock (__NR_Linux + 134)
153#define __NR_munlockall (__NR_Linux + 135)
154#define __NR_sched_getparam (__NR_Linux + 136)
155#define __NR_sched_setparam (__NR_Linux + 137)
156#define __NR_sched_getscheduler (__NR_Linux + 138)
157#define __NR_sched_setscheduler (__NR_Linux + 139)
158#define __NR_sched_yield (__NR_Linux + 140)
159#define __NR_sched_get_priority_max (__NR_Linux + 141)
160#define __NR_sched_get_priority_min (__NR_Linux + 142)
161#define __NR_sched_rr_get_interval (__NR_Linux + 143)
162#define __NR_nanosleep (__NR_Linux + 144)
163#define __NR_nfsservctl (__NR_Linux + 145)
164#define __NR_prctl (__NR_Linux + 146)
165#define __NR_old_getpagesize (__NR_Linux + 147)
166#define __NR_mmap2 (__NR_Linux + 148)
167#define __NR_pciconfig_read (__NR_Linux + 149)
168#define __NR_pciconfig_write (__NR_Linux + 150)
169#define __NR_perfmonctl (__NR_Linux + 151)
170#define __NR_sigaltstack (__NR_Linux + 152)
171#define __NR_rt_sigaction (__NR_Linux + 153)
172#define __NR_rt_sigpending (__NR_Linux + 154)
173#define __NR_rt_sigprocmask (__NR_Linux + 155)
174#define __NR_rt_sigqueueinfo (__NR_Linux + 156)
175#define __NR_rt_sigreturn (__NR_Linux + 157)
176#define __NR_rt_sigsuspend (__NR_Linux + 158)
177#define __NR_rt_sigtimedwait (__NR_Linux + 159)
178#define __NR_getcwd (__NR_Linux + 160)
179#define __NR_capget (__NR_Linux + 161)
180#define __NR_capset (__NR_Linux + 162)
181#define __NR_sendfile (__NR_Linux + 163)
182#define __NR_getpmsg (__NR_Linux + 164)
183#define __NR_putpmsg (__NR_Linux + 165)
184#define __NR_socket (__NR_Linux + 166)
185#define __NR_bind (__NR_Linux + 167)
186#define __NR_connect (__NR_Linux + 168)
187#define __NR_listen (__NR_Linux + 169)
188#define __NR_accept (__NR_Linux + 170)
189#define __NR_getsockname (__NR_Linux + 171)
190#define __NR_getpeername (__NR_Linux + 172)
191#define __NR_socketpair (__NR_Linux + 173)
192#define __NR_send (__NR_Linux + 174)
193#define __NR_sendto (__NR_Linux + 175)
194#define __NR_recv (__NR_Linux + 176)
195#define __NR_recvfrom (__NR_Linux + 177)
196#define __NR_shutdown (__NR_Linux + 178)
197#define __NR_setsockopt (__NR_Linux + 179)
198#define __NR_getsockopt (__NR_Linux + 180)
199#define __NR_sendmsg (__NR_Linux + 181)
200#define __NR_recvmsg (__NR_Linux + 182)
201#define __NR_pivot_root (__NR_Linux + 183)
202#define __NR_mincore (__NR_Linux + 184)
203#define __NR_madvise (__NR_Linux + 185)
204#define __NR_stat (__NR_Linux + 186)
205#define __NR_lstat (__NR_Linux + 187)
206#define __NR_fstat (__NR_Linux + 188)
207#define __NR_clone2 (__NR_Linux + 189)
208#define __NR_getdents64 (__NR_Linux + 190)
209#define __NR_getunwind (__NR_Linux + 191)
210#define __NR_readahead (__NR_Linux + 192)
211#define __NR_setxattr (__NR_Linux + 193)
212#define __NR_lsetxattr (__NR_Linux + 194)
213#define __NR_fsetxattr (__NR_Linux + 195)
214#define __NR_getxattr (__NR_Linux + 196)
215#define __NR_lgetxattr (__NR_Linux + 197)
216#define __NR_fgetxattr (__NR_Linux + 198)
217#define __NR_listxattr (__NR_Linux + 199)
218#define __NR_llistxattr (__NR_Linux + 200)
219#define __NR_flistxattr (__NR_Linux + 201)
220#define __NR_removexattr (__NR_Linux + 202)
221#define __NR_lremovexattr (__NR_Linux + 203)
222#define __NR_fremovexattr (__NR_Linux + 204)
223#define __NR_tkill (__NR_Linux + 205)
224#define __NR_futex (__NR_Linux + 206)
225#define __NR_sched_setaffinity (__NR_Linux + 207)
226#define __NR_sched_getaffinity (__NR_Linux + 208)
227#define __NR_set_tid_address (__NR_Linux + 209)
228#define __NR_fadvise64 (__NR_Linux + 210)
229#define __NR_tgkill (__NR_Linux + 211)
230#define __NR_exit_group (__NR_Linux + 212)
231#define __NR_lookup_dcookie (__NR_Linux + 213)
232#define __NR_io_setup (__NR_Linux + 214)
233#define __NR_io_destroy (__NR_Linux + 215)
234#define __NR_io_getevents (__NR_Linux + 216)
235#define __NR_io_submit (__NR_Linux + 217)
236#define __NR_io_cancel (__NR_Linux + 218)
237#define __NR_epoll_create (__NR_Linux + 219)
238#define __NR_epoll_ctl (__NR_Linux + 220)
239#define __NR_epoll_wait (__NR_Linux + 221)
240#define __NR_restart_syscall (__NR_Linux + 222)
241#define __NR_semtimedop (__NR_Linux + 223)
242#define __NR_timer_create (__NR_Linux + 224)
243#define __NR_timer_settime (__NR_Linux + 225)
244#define __NR_timer_gettime (__NR_Linux + 226)
245#define __NR_timer_getoverrun (__NR_Linux + 227)
246#define __NR_timer_delete (__NR_Linux + 228)
247#define __NR_clock_settime (__NR_Linux + 229)
248#define __NR_clock_gettime (__NR_Linux + 230)
249#define __NR_clock_getres (__NR_Linux + 231)
250#define __NR_clock_nanosleep (__NR_Linux + 232)
251#define __NR_fstatfs64 (__NR_Linux + 233)
252#define __NR_statfs64 (__NR_Linux + 234)
253#define __NR_mbind (__NR_Linux + 235)
254#define __NR_get_mempolicy (__NR_Linux + 236)
255#define __NR_set_mempolicy (__NR_Linux + 237)
256#define __NR_mq_open (__NR_Linux + 238)
257#define __NR_mq_unlink (__NR_Linux + 239)
258#define __NR_mq_timedsend (__NR_Linux + 240)
259#define __NR_mq_timedreceive (__NR_Linux + 241)
260#define __NR_mq_notify (__NR_Linux + 242)
261#define __NR_mq_getsetattr (__NR_Linux + 243)
262#define __NR_kexec_load (__NR_Linux + 244)
263#define __NR_vserver (__NR_Linux + 245)
264#define __NR_waitid (__NR_Linux + 246)
265#define __NR_add_key (__NR_Linux + 247)
266#define __NR_request_key (__NR_Linux + 248)
267#define __NR_keyctl (__NR_Linux + 249)
268#define __NR_ioprio_set (__NR_Linux + 250)
269#define __NR_ioprio_get (__NR_Linux + 251)
270#define __NR_move_pages (__NR_Linux + 252)
271#define __NR_inotify_init (__NR_Linux + 253)
272#define __NR_inotify_add_watch (__NR_Linux + 254)
273#define __NR_inotify_rm_watch (__NR_Linux + 255)
274#define __NR_migrate_pages (__NR_Linux + 256)
275#define __NR_openat (__NR_Linux + 257)
276#define __NR_mkdirat (__NR_Linux + 258)
277#define __NR_mknodat (__NR_Linux + 259)
278#define __NR_fchownat (__NR_Linux + 260)
279#define __NR_futimesat (__NR_Linux + 261)
280#define __NR_newfstatat (__NR_Linux + 262)
281#define __NR_unlinkat (__NR_Linux + 263)
282#define __NR_renameat (__NR_Linux + 264)
283#define __NR_linkat (__NR_Linux + 265)
284#define __NR_symlinkat (__NR_Linux + 266)
285#define __NR_readlinkat (__NR_Linux + 267)
286#define __NR_fchmodat (__NR_Linux + 268)
287#define __NR_faccessat (__NR_Linux + 269)
288#define __NR_pselect6 (__NR_Linux + 270)
289#define __NR_ppoll (__NR_Linux + 271)
290#define __NR_unshare (__NR_Linux + 272)
291#define __NR_splice (__NR_Linux + 273)
292#define __NR_set_robust_list (__NR_Linux + 274)
293#define __NR_get_robust_list (__NR_Linux + 275)
294#define __NR_sync_file_range (__NR_Linux + 276)
295#define __NR_tee (__NR_Linux + 277)
296#define __NR_vmsplice (__NR_Linux + 278)
297#define __NR_fallocate (__NR_Linux + 279)
298#define __NR_getcpu (__NR_Linux + 280)
299#define __NR_epoll_pwait (__NR_Linux + 281)
300#define __NR_utimensat (__NR_Linux + 282)
301#define __NR_signalfd (__NR_Linux + 283)
302#define __NR_timerfd (__NR_Linux + 284)
303#define __NR_eventfd (__NR_Linux + 285)
304#define __NR_timerfd_create (__NR_Linux + 286)
305#define __NR_timerfd_settime (__NR_Linux + 287)
306#define __NR_timerfd_gettime (__NR_Linux + 288)
307#define __NR_signalfd4 (__NR_Linux + 289)
308#define __NR_eventfd2 (__NR_Linux + 290)
309#define __NR_epoll_create1 (__NR_Linux + 291)
310#define __NR_dup3 (__NR_Linux + 292)
311#define __NR_pipe2 (__NR_Linux + 293)
312#define __NR_inotify_init1 (__NR_Linux + 294)
313#define __NR_preadv (__NR_Linux + 295)
314#define __NR_pwritev (__NR_Linux + 296)
315#define __NR_rt_tgsigqueueinfo (__NR_Linux + 297)
316#define __NR_recvmmsg (__NR_Linux + 298)
317#define __NR_fanotify_init (__NR_Linux + 299)
318#define __NR_fanotify_mark (__NR_Linux + 300)
319#define __NR_prlimit64 (__NR_Linux + 301)
320#define __NR_name_to_handle_at (__NR_Linux + 302)
321#define __NR_open_by_handle_at (__NR_Linux + 303)
322#define __NR_clock_adjtime (__NR_Linux + 304)
323#define __NR_syncfs (__NR_Linux + 305)
324#define __NR_setns (__NR_Linux + 306)
325#define __NR_sendmmsg (__NR_Linux + 307)
326#define __NR_process_vm_readv (__NR_Linux + 308)
327#define __NR_process_vm_writev (__NR_Linux + 309)
328#define __NR_accept4 (__NR_Linux + 310)
329#define __NR_finit_module (__NR_Linux + 311)
330#define __NR_sched_setattr (__NR_Linux + 312)
331#define __NR_sched_getattr (__NR_Linux + 313)
332#define __NR_renameat2 (__NR_Linux + 314)
333#define __NR_getrandom (__NR_Linux + 315)
334#define __NR_memfd_create (__NR_Linux + 316)
335#define __NR_bpf (__NR_Linux + 317)
336#define __NR_execveat (__NR_Linux + 318)
337#define __NR_userfaultfd (__NR_Linux + 319)
338#define __NR_membarrier (__NR_Linux + 320)
339#define __NR_kcmp (__NR_Linux + 321)
340#define __NR_mlock2 (__NR_Linux + 322)
341#define __NR_copy_file_range (__NR_Linux + 323)
342#define __NR_preadv2 (__NR_Linux + 324)
343#define __NR_pwritev2 (__NR_Linux + 325)
344 17
345#ifdef __KERNEL__ 18#include <asm/unistd_64.h>
346#define __NR_syscalls 326
347#endif
348 19
349#endif /* _UAPI_ASM_IA64_UNISTD_H */ 20#endif /* _UAPI_ASM_IA64_UNISTD_H */
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
index 68362b30ea47..a9992be5718b 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -1426,335 +1426,10 @@ END(ftrace_stub)
1426 1426
1427#endif /* CONFIG_FUNCTION_TRACER */ 1427#endif /* CONFIG_FUNCTION_TRACER */
1428 1428
1429#define __SYSCALL(nr, entry, nargs) data8 entry
1429 .rodata 1430 .rodata
1430 .align 8 1431 .align 8
1431 .globl sys_call_table 1432 .globl sys_call_table
1432sys_call_table: 1433sys_call_table:
1433 data8 sys_ni_syscall // This must be sys_ni_syscall! See ivt.S. 1434#include <asm/syscall_table.h>
1434 data8 sys_exit // 1025 1435#undef __SYSCALL
1435 data8 sys_read
1436 data8 sys_write
1437 data8 sys_open
1438 data8 sys_close
1439 data8 sys_creat // 1030
1440 data8 sys_link
1441 data8 sys_unlink
1442 data8 ia64_execve
1443 data8 sys_chdir
1444 data8 sys_fchdir // 1035
1445 data8 sys_utimes
1446 data8 sys_mknod
1447 data8 sys_chmod
1448 data8 sys_chown
1449 data8 sys_lseek // 1040
1450 data8 sys_getpid
1451 data8 sys_getppid
1452 data8 sys_mount
1453 data8 sys_umount
1454 data8 sys_setuid // 1045
1455 data8 sys_getuid
1456 data8 sys_geteuid
1457 data8 sys_ptrace
1458 data8 sys_access
1459 data8 sys_sync // 1050
1460 data8 sys_fsync
1461 data8 sys_fdatasync
1462 data8 sys_kill
1463 data8 sys_rename
1464 data8 sys_mkdir // 1055
1465 data8 sys_rmdir
1466 data8 sys_dup
1467 data8 sys_ia64_pipe
1468 data8 sys_times
1469 data8 ia64_brk // 1060
1470 data8 sys_setgid
1471 data8 sys_getgid
1472 data8 sys_getegid
1473 data8 sys_acct
1474 data8 sys_ioctl // 1065
1475 data8 sys_fcntl
1476 data8 sys_umask
1477 data8 sys_chroot
1478 data8 sys_ustat
1479 data8 sys_dup2 // 1070
1480 data8 sys_setreuid
1481 data8 sys_setregid
1482 data8 sys_getresuid
1483 data8 sys_setresuid
1484 data8 sys_getresgid // 1075
1485 data8 sys_setresgid
1486 data8 sys_getgroups
1487 data8 sys_setgroups
1488 data8 sys_getpgid
1489 data8 sys_setpgid // 1080
1490 data8 sys_setsid
1491 data8 sys_getsid
1492 data8 sys_sethostname
1493 data8 sys_setrlimit
1494 data8 sys_getrlimit // 1085
1495 data8 sys_getrusage
1496 data8 sys_gettimeofday
1497 data8 sys_settimeofday
1498 data8 sys_select
1499 data8 sys_poll // 1090
1500 data8 sys_symlink
1501 data8 sys_readlink
1502 data8 sys_uselib
1503 data8 sys_swapon
1504 data8 sys_swapoff // 1095
1505 data8 sys_reboot
1506 data8 sys_truncate
1507 data8 sys_ftruncate
1508 data8 sys_fchmod
1509 data8 sys_fchown // 1100
1510 data8 ia64_getpriority
1511 data8 sys_setpriority
1512 data8 sys_statfs
1513 data8 sys_fstatfs
1514 data8 sys_gettid // 1105
1515 data8 sys_semget
1516 data8 sys_semop
1517 data8 sys_semctl
1518 data8 sys_msgget
1519 data8 sys_msgsnd // 1110
1520 data8 sys_msgrcv
1521 data8 sys_msgctl
1522 data8 sys_shmget
1523 data8 sys_shmat
1524 data8 sys_shmdt // 1115
1525 data8 sys_shmctl
1526 data8 sys_syslog
1527 data8 sys_setitimer
1528 data8 sys_getitimer
1529 data8 sys_ni_syscall // 1120 /* was: ia64_oldstat */
1530 data8 sys_ni_syscall /* was: ia64_oldlstat */
1531 data8 sys_ni_syscall /* was: ia64_oldfstat */
1532 data8 sys_vhangup
1533 data8 sys_lchown
1534 data8 sys_remap_file_pages // 1125
1535 data8 sys_wait4
1536 data8 sys_sysinfo
1537 data8 sys_clone
1538 data8 sys_setdomainname
1539 data8 sys_newuname // 1130
1540 data8 sys_adjtimex
1541 data8 sys_ni_syscall /* was: ia64_create_module */
1542 data8 sys_init_module
1543 data8 sys_delete_module
1544 data8 sys_ni_syscall // 1135 /* was: sys_get_kernel_syms */
1545 data8 sys_ni_syscall /* was: sys_query_module */
1546 data8 sys_quotactl
1547 data8 sys_bdflush
1548 data8 sys_sysfs
1549 data8 sys_personality // 1140
1550 data8 sys_ni_syscall // sys_afs_syscall
1551 data8 sys_setfsuid
1552 data8 sys_setfsgid
1553 data8 sys_getdents
1554 data8 sys_flock // 1145
1555 data8 sys_readv
1556 data8 sys_writev
1557 data8 sys_pread64
1558 data8 sys_pwrite64
1559 data8 sys_sysctl // 1150
1560 data8 sys_mmap
1561 data8 sys_munmap
1562 data8 sys_mlock
1563 data8 sys_mlockall
1564 data8 sys_mprotect // 1155
1565 data8 ia64_mremap
1566 data8 sys_msync
1567 data8 sys_munlock
1568 data8 sys_munlockall
1569 data8 sys_sched_getparam // 1160
1570 data8 sys_sched_setparam
1571 data8 sys_sched_getscheduler
1572 data8 sys_sched_setscheduler
1573 data8 sys_sched_yield
1574 data8 sys_sched_get_priority_max // 1165
1575 data8 sys_sched_get_priority_min
1576 data8 sys_sched_rr_get_interval
1577 data8 sys_nanosleep
1578 data8 sys_ni_syscall // old nfsservctl
1579 data8 sys_prctl // 1170
1580 data8 sys_getpagesize
1581 data8 sys_mmap2
1582 data8 sys_pciconfig_read
1583 data8 sys_pciconfig_write
1584 data8 sys_perfmonctl // 1175
1585 data8 sys_sigaltstack
1586 data8 sys_rt_sigaction
1587 data8 sys_rt_sigpending
1588 data8 sys_rt_sigprocmask
1589 data8 sys_rt_sigqueueinfo // 1180
1590 data8 sys_rt_sigreturn
1591 data8 sys_rt_sigsuspend
1592 data8 sys_rt_sigtimedwait
1593 data8 sys_getcwd
1594 data8 sys_capget // 1185
1595 data8 sys_capset
1596 data8 sys_sendfile64
1597 data8 sys_ni_syscall // sys_getpmsg (STREAMS)
1598 data8 sys_ni_syscall // sys_putpmsg (STREAMS)
1599 data8 sys_socket // 1190
1600 data8 sys_bind
1601 data8 sys_connect
1602 data8 sys_listen
1603 data8 sys_accept
1604 data8 sys_getsockname // 1195
1605 data8 sys_getpeername
1606 data8 sys_socketpair
1607 data8 sys_send
1608 data8 sys_sendto
1609 data8 sys_recv // 1200
1610 data8 sys_recvfrom
1611 data8 sys_shutdown
1612 data8 sys_setsockopt
1613 data8 sys_getsockopt
1614 data8 sys_sendmsg // 1205
1615 data8 sys_recvmsg
1616 data8 sys_pivot_root
1617 data8 sys_mincore
1618 data8 sys_madvise
1619 data8 sys_newstat // 1210
1620 data8 sys_newlstat
1621 data8 sys_newfstat
1622 data8 sys_clone2
1623 data8 sys_getdents64
1624 data8 sys_getunwind // 1215
1625 data8 sys_readahead
1626 data8 sys_setxattr
1627 data8 sys_lsetxattr
1628 data8 sys_fsetxattr
1629 data8 sys_getxattr // 1220
1630 data8 sys_lgetxattr
1631 data8 sys_fgetxattr
1632 data8 sys_listxattr
1633 data8 sys_llistxattr
1634 data8 sys_flistxattr // 1225
1635 data8 sys_removexattr
1636 data8 sys_lremovexattr
1637 data8 sys_fremovexattr
1638 data8 sys_tkill
1639 data8 sys_futex // 1230
1640 data8 sys_sched_setaffinity
1641 data8 sys_sched_getaffinity
1642 data8 sys_set_tid_address
1643 data8 sys_fadvise64_64
1644 data8 sys_tgkill // 1235
1645 data8 sys_exit_group
1646 data8 sys_lookup_dcookie
1647 data8 sys_io_setup
1648 data8 sys_io_destroy
1649 data8 sys_io_getevents // 1240
1650 data8 sys_io_submit
1651 data8 sys_io_cancel
1652 data8 sys_epoll_create
1653 data8 sys_epoll_ctl
1654 data8 sys_epoll_wait // 1245
1655 data8 sys_restart_syscall
1656 data8 sys_semtimedop
1657 data8 sys_timer_create
1658 data8 sys_timer_settime
1659 data8 sys_timer_gettime // 1250
1660 data8 sys_timer_getoverrun
1661 data8 sys_timer_delete
1662 data8 sys_clock_settime
1663 data8 sys_clock_gettime
1664 data8 sys_clock_getres // 1255
1665 data8 sys_clock_nanosleep
1666 data8 sys_fstatfs64
1667 data8 sys_statfs64
1668 data8 sys_mbind
1669 data8 sys_get_mempolicy // 1260
1670 data8 sys_set_mempolicy
1671 data8 sys_mq_open
1672 data8 sys_mq_unlink
1673 data8 sys_mq_timedsend
1674 data8 sys_mq_timedreceive // 1265
1675 data8 sys_mq_notify
1676 data8 sys_mq_getsetattr
1677 data8 sys_kexec_load
1678 data8 sys_ni_syscall // reserved for vserver
1679 data8 sys_waitid // 1270
1680 data8 sys_add_key
1681 data8 sys_request_key
1682 data8 sys_keyctl
1683 data8 sys_ioprio_set
1684 data8 sys_ioprio_get // 1275
1685 data8 sys_move_pages
1686 data8 sys_inotify_init
1687 data8 sys_inotify_add_watch
1688 data8 sys_inotify_rm_watch
1689 data8 sys_migrate_pages // 1280
1690 data8 sys_openat
1691 data8 sys_mkdirat
1692 data8 sys_mknodat
1693 data8 sys_fchownat
1694 data8 sys_futimesat // 1285
1695 data8 sys_newfstatat
1696 data8 sys_unlinkat
1697 data8 sys_renameat
1698 data8 sys_linkat
1699 data8 sys_symlinkat // 1290
1700 data8 sys_readlinkat
1701 data8 sys_fchmodat
1702 data8 sys_faccessat
1703 data8 sys_pselect6
1704 data8 sys_ppoll // 1295
1705 data8 sys_unshare
1706 data8 sys_splice
1707 data8 sys_set_robust_list
1708 data8 sys_get_robust_list
1709 data8 sys_sync_file_range // 1300
1710 data8 sys_tee
1711 data8 sys_vmsplice
1712 data8 sys_fallocate
1713 data8 sys_getcpu
1714 data8 sys_epoll_pwait // 1305
1715 data8 sys_utimensat
1716 data8 sys_signalfd
1717 data8 sys_ni_syscall
1718 data8 sys_eventfd
1719 data8 sys_timerfd_create // 1310
1720 data8 sys_timerfd_settime
1721 data8 sys_timerfd_gettime
1722 data8 sys_signalfd4
1723 data8 sys_eventfd2
1724 data8 sys_epoll_create1 // 1315
1725 data8 sys_dup3
1726 data8 sys_pipe2
1727 data8 sys_inotify_init1
1728 data8 sys_preadv
1729 data8 sys_pwritev // 1320
1730 data8 sys_rt_tgsigqueueinfo
1731 data8 sys_recvmmsg
1732 data8 sys_fanotify_init
1733 data8 sys_fanotify_mark
1734 data8 sys_prlimit64 // 1325
1735 data8 sys_name_to_handle_at
1736 data8 sys_open_by_handle_at
1737 data8 sys_clock_adjtime
1738 data8 sys_syncfs
1739 data8 sys_setns // 1330
1740 data8 sys_sendmmsg
1741 data8 sys_process_vm_readv
1742 data8 sys_process_vm_writev
1743 data8 sys_accept4
1744 data8 sys_finit_module // 1335
1745 data8 sys_sched_setattr
1746 data8 sys_sched_getattr
1747 data8 sys_renameat2
1748 data8 sys_getrandom
1749 data8 sys_memfd_create // 1340
1750 data8 sys_bpf
1751 data8 sys_execveat
1752 data8 sys_userfaultfd
1753 data8 sys_membarrier
1754 data8 sys_kcmp // 1345
1755 data8 sys_mlock2
1756 data8 sys_copy_file_range
1757 data8 sys_preadv2
1758 data8 sys_pwritev2
1759
1760 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls