blob: eddbe9291a68d4b527007153d26adf97242dd948 [file] [log] [blame]
Szabolcs Nagy01ef3dd2015-03-10 21:18:41 +00001#define __NR_io_setup 0
2#define __NR_io_destroy 1
3#define __NR_io_submit 2
4#define __NR_io_cancel 3
5#define __NR_io_getevents 4
6#define __NR_setxattr 5
7#define __NR_lsetxattr 6
8#define __NR_fsetxattr 7
9#define __NR_getxattr 8
10#define __NR_lgetxattr 9
11#define __NR_fgetxattr 10
12#define __NR_listxattr 11
13#define __NR_llistxattr 12
14#define __NR_flistxattr 13
15#define __NR_removexattr 14
16#define __NR_lremovexattr 15
17#define __NR_fremovexattr 16
18#define __NR_getcwd 17
19#define __NR_lookup_dcookie 18
20#define __NR_eventfd2 19
21#define __NR_epoll_create1 20
22#define __NR_epoll_ctl 21
23#define __NR_epoll_pwait 22
24#define __NR_dup 23
25#define __NR_dup3 24
26#define __NR_fcntl 25
27#define __NR_inotify_init1 26
28#define __NR_inotify_add_watch 27
29#define __NR_inotify_rm_watch 28
30#define __NR_ioctl 29
31#define __NR_ioprio_set 30
32#define __NR_ioprio_get 31
33#define __NR_flock 32
34#define __NR_mknodat 33
35#define __NR_mkdirat 34
36#define __NR_unlinkat 35
37#define __NR_symlinkat 36
38#define __NR_linkat 37
39#define __NR_renameat 38
40#define __NR_umount2 39
41#define __NR_mount 40
42#define __NR_pivot_root 41
43#define __NR_nfsservctl 42
44#define __NR_statfs 43
45#define __NR_fstatfs 44
46#define __NR_truncate 45
47#define __NR_ftruncate 46
48#define __NR_fallocate 47
49#define __NR_faccessat 48
50#define __NR_chdir 49
51#define __NR_fchdir 50
52#define __NR_chroot 51
53#define __NR_fchmod 52
54#define __NR_fchmodat 53
55#define __NR_fchownat 54
56#define __NR_fchown 55
57#define __NR_openat 56
58#define __NR_close 57
59#define __NR_vhangup 58
60#define __NR_pipe2 59
61#define __NR_quotactl 60
62#define __NR_getdents64 61
63#define __NR_lseek 62
64#define __NR_read 63
65#define __NR_write 64
66#define __NR_readv 65
67#define __NR_writev 66
68#define __NR_pread64 67
69#define __NR_pwrite64 68
70#define __NR_preadv 69
71#define __NR_pwritev 70
72#define __NR_sendfile 71
73#define __NR_pselect6 72
74#define __NR_ppoll 73
75#define __NR_signalfd4 74
76#define __NR_vmsplice 75
77#define __NR_splice 76
78#define __NR_tee 77
79#define __NR_readlinkat 78
80#define __NR_fstatat 79
81#define __NR_fstat 80
82#define __NR_sync 81
83#define __NR_fsync 82
84#define __NR_fdatasync 83
85#define __NR_sync_file_range 84
86#define __NR_timerfd_create 85
87#define __NR_timerfd_settime 86
88#define __NR_timerfd_gettime 87
89#define __NR_utimensat 88
90#define __NR_acct 89
91#define __NR_capget 90
92#define __NR_capset 91
93#define __NR_personality 92
94#define __NR_exit 93
95#define __NR_exit_group 94
96#define __NR_waitid 95
97#define __NR_set_tid_address 96
98#define __NR_unshare 97
99#define __NR_futex 98
100#define __NR_set_robust_list 99
101#define __NR_get_robust_list 100
102#define __NR_nanosleep 101
103#define __NR_getitimer 102
104#define __NR_setitimer 103
105#define __NR_kexec_load 104
106#define __NR_init_module 105
107#define __NR_delete_module 106
108#define __NR_timer_create 107
109#define __NR_timer_gettime 108
110#define __NR_timer_getoverrun 109
111#define __NR_timer_settime 110
112#define __NR_timer_delete 111
113#define __NR_clock_settime 112
114#define __NR_clock_gettime 113
115#define __NR_clock_getres 114
116#define __NR_clock_nanosleep 115
117#define __NR_syslog 116
118#define __NR_ptrace 117
119#define __NR_sched_setparam 118
120#define __NR_sched_setscheduler 119
121#define __NR_sched_getscheduler 120
122#define __NR_sched_getparam 121
123#define __NR_sched_setaffinity 122
124#define __NR_sched_getaffinity 123
125#define __NR_sched_yield 124
126#define __NR_sched_get_priority_max 125
127#define __NR_sched_get_priority_min 126
128#define __NR_sched_rr_get_interval 127
129#define __NR_restart_syscall 128
130#define __NR_kill 129
131#define __NR_tkill 130
132#define __NR_tgkill 131
133#define __NR_sigaltstack 132
134#define __NR_rt_sigsuspend 133
135#define __NR_rt_sigaction 134
136#define __NR_rt_sigprocmask 135
137#define __NR_rt_sigpending 136
138#define __NR_rt_sigtimedwait 137
139#define __NR_rt_sigqueueinfo 138
140#define __NR_rt_sigreturn 139
141#define __NR_setpriority 140
142#define __NR_getpriority 141
143#define __NR_reboot 142
144#define __NR_setregid 143
145#define __NR_setgid 144
146#define __NR_setreuid 145
147#define __NR_setuid 146
148#define __NR_setresuid 147
149#define __NR_getresuid 148
150#define __NR_setresgid 149
151#define __NR_getresgid 150
152#define __NR_setfsuid 151
153#define __NR_setfsgid 152
154#define __NR_times 153
155#define __NR_setpgid 154
156#define __NR_getpgid 155
157#define __NR_getsid 156
158#define __NR_setsid 157
159#define __NR_getgroups 158
160#define __NR_setgroups 159
161#define __NR_uname 160
162#define __NR_sethostname 161
163#define __NR_setdomainname 162
164#define __NR_getrlimit 163
165#define __NR_setrlimit 164
166#define __NR_getrusage 165
167#define __NR_umask 166
168#define __NR_prctl 167
169#define __NR_getcpu 168
170#define __NR_gettimeofday 169
171#define __NR_settimeofday 170
172#define __NR_adjtimex 171
173#define __NR_getpid 172
174#define __NR_getppid 173
175#define __NR_getuid 174
176#define __NR_geteuid 175
177#define __NR_getgid 176
178#define __NR_getegid 177
179#define __NR_gettid 178
180#define __NR_sysinfo 179
181#define __NR_mq_open 180
182#define __NR_mq_unlink 181
183#define __NR_mq_timedsend 182
184#define __NR_mq_timedreceive 183
185#define __NR_mq_notify 184
186#define __NR_mq_getsetattr 185
187#define __NR_msgget 186
188#define __NR_msgctl 187
189#define __NR_msgrcv 188
190#define __NR_msgsnd 189
191#define __NR_semget 190
192#define __NR_semctl 191
193#define __NR_semtimedop 192
194#define __NR_semop 193
195#define __NR_shmget 194
196#define __NR_shmctl 195
197#define __NR_shmat 196
198#define __NR_shmdt 197
199#define __NR_socket 198
200#define __NR_socketpair 199
201#define __NR_bind 200
202#define __NR_listen 201
203#define __NR_accept 202
204#define __NR_connect 203
205#define __NR_getsockname 204
206#define __NR_getpeername 205
207#define __NR_sendto 206
208#define __NR_recvfrom 207
209#define __NR_setsockopt 208
210#define __NR_getsockopt 209
211#define __NR_shutdown 210
212#define __NR_sendmsg 211
213#define __NR_recvmsg 212
214#define __NR_readahead 213
215#define __NR_brk 214
216#define __NR_munmap 215
217#define __NR_mremap 216
218#define __NR_add_key 217
219#define __NR_request_key 218
220#define __NR_keyctl 219
221#define __NR_clone 220
222#define __NR_execve 221
223#define __NR_mmap 222
224#define __NR_fadvise64 223
225#define __NR_swapon 224
226#define __NR_swapoff 225
227#define __NR_mprotect 226
228#define __NR_msync 227
229#define __NR_mlock 228
230#define __NR_munlock 229
231#define __NR_mlockall 230
232#define __NR_munlockall 231
233#define __NR_mincore 232
234#define __NR_madvise 233
235#define __NR_remap_file_pages 234
236#define __NR_mbind 235
237#define __NR_get_mempolicy 236
238#define __NR_set_mempolicy 237
239#define __NR_migrate_pages 238
240#define __NR_move_pages 239
241#define __NR_rt_tgsigqueueinfo 240
242#define __NR_perf_event_open 241
243#define __NR_accept4 242
244#define __NR_recvmmsg 243
245#define __NR_or1k_atomic 244
246#define __NR_wait4 260
247#define __NR_prlimit64 261
248#define __NR_fanotify_init 262
249#define __NR_fanotify_mark 263
250#define __NR_name_to_handle_at 264
251#define __NR_open_by_handle_at 265
252#define __NR_clock_adjtime 266
253#define __NR_syncfs 267
254#define __NR_setns 268
255#define __NR_sendmmsg 269
256#define __NR_process_vm_readv 270
257#define __NR_process_vm_writev 271
258#define __NR_kcmp 272
259#define __NR_finit_module 273
260#define __NR_sched_setattr 274
261#define __NR_sched_getattr 275
262#define __NR_renameat2 276
263#define __NR_seccomp 277
264#define __NR_getrandom 278
265#define __NR_memfd_create 279
266#define __NR_bpf 280
267#define __NR_execveat 281
Szabolcs Nagy09001a82015-11-18 23:31:37 +0000268#define __NR_userfaultfd 282
269#define __NR_membarrier 283
Szabolcs Nagy51d5f132016-01-23 23:16:14 +0000270#define __NR_mlock2 284
Szabolcs Nagy84d4f5e2016-03-19 13:35:43 +0100271#define __NR_copy_file_range 285
Szabolcs Nagy01ef3dd2015-03-10 21:18:41 +0000272
273#define SYS_io_setup __NR_io_setup
274#define SYS_io_destroy __NR_io_destroy
275#define SYS_io_submit __NR_io_submit
276#define SYS_io_cancel __NR_io_cancel
277#define SYS_io_getevents __NR_io_getevents
278#define SYS_setxattr __NR_setxattr
279#define SYS_lsetxattr __NR_lsetxattr
280#define SYS_fsetxattr __NR_fsetxattr
281#define SYS_getxattr __NR_getxattr
282#define SYS_lgetxattr __NR_lgetxattr
283#define SYS_fgetxattr __NR_fgetxattr
284#define SYS_listxattr __NR_listxattr
285#define SYS_llistxattr __NR_llistxattr
286#define SYS_flistxattr __NR_flistxattr
287#define SYS_removexattr __NR_removexattr
288#define SYS_lremovexattr __NR_lremovexattr
289#define SYS_fremovexattr __NR_fremovexattr
290#define SYS_getcwd __NR_getcwd
291#define SYS_lookup_dcookie __NR_lookup_dcookie
292#define SYS_eventfd2 __NR_eventfd2
293#define SYS_epoll_create1 __NR_epoll_create1
294#define SYS_epoll_ctl __NR_epoll_ctl
295#define SYS_epoll_pwait __NR_epoll_pwait
296#define SYS_dup __NR_dup
297#define SYS_dup3 __NR_dup3
298#define SYS_fcntl __NR_fcntl
299#define SYS_inotify_init1 __NR_inotify_init1
300#define SYS_inotify_add_watch __NR_inotify_add_watch
301#define SYS_inotify_rm_watch __NR_inotify_rm_watch
302#define SYS_ioctl __NR_ioctl
303#define SYS_ioprio_set __NR_ioprio_set
304#define SYS_ioprio_get __NR_ioprio_get
305#define SYS_flock __NR_flock
306#define SYS_mknodat __NR_mknodat
307#define SYS_mkdirat __NR_mkdirat
308#define SYS_unlinkat __NR_unlinkat
309#define SYS_symlinkat __NR_symlinkat
310#define SYS_linkat __NR_linkat
311#define SYS_renameat __NR_renameat
312#define SYS_umount2 __NR_umount2
313#define SYS_mount __NR_mount
314#define SYS_pivot_root __NR_pivot_root
315#define SYS_nfsservctl __NR_nfsservctl
316#define SYS_statfs __NR_statfs
317#define SYS_fstatfs __NR_fstatfs
318#define SYS_truncate __NR_truncate
319#define SYS_ftruncate __NR_ftruncate
320#define SYS_fallocate __NR_fallocate
321#define SYS_faccessat __NR_faccessat
322#define SYS_chdir __NR_chdir
323#define SYS_fchdir __NR_fchdir
324#define SYS_chroot __NR_chroot
325#define SYS_fchmod __NR_fchmod
326#define SYS_fchmodat __NR_fchmodat
327#define SYS_fchownat __NR_fchownat
328#define SYS_fchown __NR_fchown
329#define SYS_openat __NR_openat
330#define SYS_close __NR_close
331#define SYS_vhangup __NR_vhangup
332#define SYS_pipe2 __NR_pipe2
333#define SYS_quotactl __NR_quotactl
334#define SYS_getdents64 __NR_getdents64
335#define SYS_lseek __NR_lseek
336#define SYS_read __NR_read
337#define SYS_write __NR_write
338#define SYS_readv __NR_readv
339#define SYS_writev __NR_writev
340#define SYS_pread64 __NR_pread64
341#define SYS_pwrite64 __NR_pwrite64
342#define SYS_preadv __NR_preadv
343#define SYS_pwritev __NR_pwritev
344#define SYS_sendfile __NR_sendfile
345#define SYS_pselect6 __NR_pselect6
346#define SYS_ppoll __NR_ppoll
347#define SYS_signalfd4 __NR_signalfd4
348#define SYS_vmsplice __NR_vmsplice
349#define SYS_splice __NR_splice
350#define SYS_tee __NR_tee
351#define SYS_readlinkat __NR_readlinkat
352#define SYS_fstatat __NR_fstatat
353#define SYS_fstat __NR_fstat
354#define SYS_sync __NR_sync
355#define SYS_fsync __NR_fsync
356#define SYS_fdatasync __NR_fdatasync
357#define SYS_sync_file_range __NR_sync_file_range
358#define SYS_timerfd_create __NR_timerfd_create
359#define SYS_timerfd_settime __NR_timerfd_settime
360#define SYS_timerfd_gettime __NR_timerfd_gettime
361#define SYS_utimensat __NR_utimensat
362#define SYS_acct __NR_acct
363#define SYS_capget __NR_capget
364#define SYS_capset __NR_capset
365#define SYS_personality __NR_personality
366#define SYS_exit __NR_exit
367#define SYS_exit_group __NR_exit_group
368#define SYS_waitid __NR_waitid
369#define SYS_set_tid_address __NR_set_tid_address
370#define SYS_unshare __NR_unshare
371#define SYS_futex __NR_futex
372#define SYS_set_robust_list __NR_set_robust_list
373#define SYS_get_robust_list __NR_get_robust_list
374#define SYS_nanosleep __NR_nanosleep
375#define SYS_getitimer __NR_getitimer
376#define SYS_setitimer __NR_setitimer
377#define SYS_kexec_load __NR_kexec_load
378#define SYS_init_module __NR_init_module
379#define SYS_delete_module __NR_delete_module
380#define SYS_timer_create __NR_timer_create
381#define SYS_timer_gettime __NR_timer_gettime
382#define SYS_timer_getoverrun __NR_timer_getoverrun
383#define SYS_timer_settime __NR_timer_settime
384#define SYS_timer_delete __NR_timer_delete
385#define SYS_clock_settime __NR_clock_settime
386#define SYS_clock_gettime __NR_clock_gettime
387#define SYS_clock_getres __NR_clock_getres
388#define SYS_clock_nanosleep __NR_clock_nanosleep
389#define SYS_syslog __NR_syslog
390#define SYS_ptrace __NR_ptrace
391#define SYS_sched_setparam __NR_sched_setparam
392#define SYS_sched_setscheduler __NR_sched_setscheduler
393#define SYS_sched_getscheduler __NR_sched_getscheduler
394#define SYS_sched_getparam __NR_sched_getparam
395#define SYS_sched_setaffinity __NR_sched_setaffinity
396#define SYS_sched_getaffinity __NR_sched_getaffinity
397#define SYS_sched_yield __NR_sched_yield
398#define SYS_sched_get_priority_max __NR_sched_get_priority_max
399#define SYS_sched_get_priority_min __NR_sched_get_priority_min
400#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval
401#define SYS_restart_syscall __NR_restart_syscall
402#define SYS_kill __NR_kill
403#define SYS_tkill __NR_tkill
404#define SYS_tgkill __NR_tgkill
405#define SYS_sigaltstack __NR_sigaltstack
406#define SYS_rt_sigsuspend __NR_rt_sigsuspend
407#define SYS_rt_sigaction __NR_rt_sigaction
408#define SYS_rt_sigprocmask __NR_rt_sigprocmask
409#define SYS_rt_sigpending __NR_rt_sigpending
410#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait
411#define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo
412#define SYS_rt_sigreturn __NR_rt_sigreturn
413#define SYS_setpriority __NR_setpriority
414#define SYS_getpriority __NR_getpriority
415#define SYS_reboot __NR_reboot
416#define SYS_setregid __NR_setregid
417#define SYS_setgid __NR_setgid
418#define SYS_setreuid __NR_setreuid
419#define SYS_setuid __NR_setuid
420#define SYS_setresuid __NR_setresuid
421#define SYS_getresuid __NR_getresuid
422#define SYS_setresgid __NR_setresgid
423#define SYS_getresgid __NR_getresgid
424#define SYS_setfsuid __NR_setfsuid
425#define SYS_setfsgid __NR_setfsgid
426#define SYS_times __NR_times
427#define SYS_setpgid __NR_setpgid
428#define SYS_getpgid __NR_getpgid
429#define SYS_getsid __NR_getsid
430#define SYS_setsid __NR_setsid
431#define SYS_getgroups __NR_getgroups
432#define SYS_setgroups __NR_setgroups
433#define SYS_uname __NR_uname
434#define SYS_sethostname __NR_sethostname
435#define SYS_setdomainname __NR_setdomainname
436#define SYS_getrlimit __NR_getrlimit
437#define SYS_setrlimit __NR_setrlimit
438#define SYS_getrusage __NR_getrusage
439#define SYS_umask __NR_umask
440#define SYS_prctl __NR_prctl
441#define SYS_getcpu __NR_getcpu
442#define SYS_gettimeofday __NR_gettimeofday
443#define SYS_settimeofday __NR_settimeofday
444#define SYS_adjtimex __NR_adjtimex
445#define SYS_getpid __NR_getpid
446#define SYS_getppid __NR_getppid
447#define SYS_getuid __NR_getuid
448#define SYS_geteuid __NR_geteuid
449#define SYS_getgid __NR_getgid
450#define SYS_getegid __NR_getegid
451#define SYS_gettid __NR_gettid
452#define SYS_sysinfo __NR_sysinfo
453#define SYS_mq_open __NR_mq_open
454#define SYS_mq_unlink __NR_mq_unlink
455#define SYS_mq_timedsend __NR_mq_timedsend
456#define SYS_mq_timedreceive __NR_mq_timedreceive
457#define SYS_mq_notify __NR_mq_notify
458#define SYS_mq_getsetattr __NR_mq_getsetattr
459#define SYS_msgget __NR_msgget
460#define SYS_msgctl __NR_msgctl
461#define SYS_msgrcv __NR_msgrcv
462#define SYS_msgsnd __NR_msgsnd
463#define SYS_semget __NR_semget
464#define SYS_semctl __NR_semctl
465#define SYS_semtimedop __NR_semtimedop
466#define SYS_semop __NR_semop
467#define SYS_shmget __NR_shmget
468#define SYS_shmctl __NR_shmctl
469#define SYS_shmat __NR_shmat
470#define SYS_shmdt __NR_shmdt
471#define SYS_socket __NR_socket
472#define SYS_socketpair __NR_socketpair
473#define SYS_bind __NR_bind
474#define SYS_listen __NR_listen
475#define SYS_accept __NR_accept
476#define SYS_connect __NR_connect
477#define SYS_getsockname __NR_getsockname
478#define SYS_getpeername __NR_getpeername
479#define SYS_sendto __NR_sendto
480#define SYS_recvfrom __NR_recvfrom
481#define SYS_setsockopt __NR_setsockopt
482#define SYS_getsockopt __NR_getsockopt
483#define SYS_shutdown __NR_shutdown
484#define SYS_sendmsg __NR_sendmsg
485#define SYS_recvmsg __NR_recvmsg
486#define SYS_readahead __NR_readahead
487#define SYS_brk __NR_brk
488#define SYS_munmap __NR_munmap
489#define SYS_mremap __NR_mremap
490#define SYS_add_key __NR_add_key
491#define SYS_request_key __NR_request_key
492#define SYS_keyctl __NR_keyctl
493#define SYS_clone __NR_clone
494#define SYS_execve __NR_execve
495#define SYS_mmap __NR_mmap
496#define SYS_fadvise64 __NR_fadvise64
497#define SYS_swapon __NR_swapon
498#define SYS_swapoff __NR_swapoff
499#define SYS_mprotect __NR_mprotect
500#define SYS_msync __NR_msync
501#define SYS_mlock __NR_mlock
502#define SYS_munlock __NR_munlock
503#define SYS_mlockall __NR_mlockall
504#define SYS_munlockall __NR_munlockall
505#define SYS_mincore __NR_mincore
506#define SYS_madvise __NR_madvise
507#define SYS_remap_file_pages __NR_remap_file_pages
508#define SYS_mbind __NR_mbind
509#define SYS_get_mempolicy __NR_get_mempolicy
510#define SYS_set_mempolicy __NR_set_mempolicy
511#define SYS_migrate_pages __NR_migrate_pages
512#define SYS_move_pages __NR_move_pages
513#define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo
514#define SYS_perf_event_open __NR_perf_event_open
515#define SYS_accept4 __NR_accept4
516#define SYS_recvmmsg __NR_recvmmsg
517#define SYS_or1k_atomic __NR_or1k_atomic
518#define SYS_wait4 __NR_wait4
519#define SYS_prlimit64 __NR_prlimit64
520#define SYS_fanotify_init __NR_fanotify_init
521#define SYS_fanotify_mark __NR_fanotify_mark
522#define SYS_name_to_handle_at __NR_name_to_handle_at
523#define SYS_open_by_handle_at __NR_open_by_handle_at
524#define SYS_clock_adjtime __NR_clock_adjtime
525#define SYS_syncfs __NR_syncfs
526#define SYS_setns __NR_setns
527#define SYS_sendmmsg __NR_sendmmsg
528#define SYS_process_vm_readv __NR_process_vm_readv
529#define SYS_process_vm_writev __NR_process_vm_writev
530#define SYS_kcmp __NR_kcmp
531#define SYS_finit_module __NR_finit_module
532#define SYS_sched_setattr __NR_sched_setattr
533#define SYS_sched_getattr __NR_sched_getattr
534#define SYS_renameat2 __NR_renameat2
535#define SYS_seccomp __NR_seccomp
536#define SYS_getrandom __NR_getrandom
537#define SYS_memfd_create __NR_memfd_create
538#define SYS_bpf __NR_bpf
539#define SYS_execveat __NR_execveat
Szabolcs Nagy09001a82015-11-18 23:31:37 +0000540#define SYS_userfaultfd __NR_userfaultfd
541#define SYS_membarrier __NR_membarrier
Szabolcs Nagy51d5f132016-01-23 23:16:14 +0000542#define SYS_mlock2 __NR_mlock2
Szabolcs Nagy84d4f5e2016-03-19 13:35:43 +0100543#define SYS_copy_file_range __NR_copy_file_range