|
|
87820a |
#define __NR_read 0
|
|
|
87820a |
#define __NR_write 1
|
|
|
87820a |
#define __NR_open 2
|
|
|
87820a |
#define __NR_close 3
|
|
|
87820a |
#define __NR_stat 4
|
|
|
87820a |
#define __NR_fstat 5
|
|
|
87820a |
#define __NR_lstat 6
|
|
|
87820a |
#define __NR_poll 7
|
|
|
87820a |
#define __NR_lseek 8
|
|
|
87820a |
#define __NR_mmap 9
|
|
|
87820a |
#define __NR_mprotect 10
|
|
|
87820a |
#define __NR_munmap 11
|
|
|
87820a |
#define __NR_brk 12
|
|
|
87820a |
#define __NR_rt_sigaction 13
|
|
|
87820a |
#define __NR_rt_sigprocmask 14
|
|
|
87820a |
#define __NR_rt_sigreturn 15
|
|
|
87820a |
#define __NR_ioctl 16
|
|
|
87820a |
#define __NR_pread64 17
|
|
|
87820a |
#define __NR_pwrite64 18
|
|
|
87820a |
#define __NR_readv 19
|
|
|
87820a |
#define __NR_writev 20
|
|
|
87820a |
#define __NR_access 21
|
|
|
87820a |
#define __NR_pipe 22
|
|
|
87820a |
#define __NR_select 23
|
|
|
87820a |
#define __NR_sched_yield 24
|
|
|
87820a |
#define __NR_mremap 25
|
|
|
87820a |
#define __NR_msync 26
|
|
|
87820a |
#define __NR_mincore 27
|
|
|
87820a |
#define __NR_madvise 28
|
|
|
87820a |
#define __NR_shmget 29
|
|
|
87820a |
#define __NR_shmat 30
|
|
|
87820a |
#define __NR_shmctl 31
|
|
|
87820a |
#define __NR_dup 32
|
|
|
87820a |
#define __NR_dup2 33
|
|
|
87820a |
#define __NR_pause 34
|
|
|
87820a |
#define __NR_nanosleep 35
|
|
|
87820a |
#define __NR_getitimer 36
|
|
|
87820a |
#define __NR_alarm 37
|
|
|
87820a |
#define __NR_setitimer 38
|
|
|
87820a |
#define __NR_getpid 39
|
|
|
87820a |
#define __NR_sendfile 40
|
|
|
87820a |
#define __NR_socket 41
|
|
|
87820a |
#define __NR_connect 42
|
|
|
87820a |
#define __NR_accept 43
|
|
|
87820a |
#define __NR_sendto 44
|
|
|
87820a |
#define __NR_recvfrom 45
|
|
|
87820a |
#define __NR_sendmsg 46
|
|
|
87820a |
#define __NR_recvmsg 47
|
|
|
87820a |
#define __NR_shutdown 48
|
|
|
87820a |
#define __NR_bind 49
|
|
|
87820a |
#define __NR_listen 50
|
|
|
87820a |
#define __NR_getsockname 51
|
|
|
87820a |
#define __NR_getpeername 52
|
|
|
87820a |
#define __NR_socketpair 53
|
|
|
87820a |
#define __NR_setsockopt 54
|
|
|
87820a |
#define __NR_getsockopt 55
|
|
|
87820a |
#define __NR_clone 56
|
|
|
87820a |
#define __NR_fork 57
|
|
|
87820a |
#define __NR_vfork 58
|
|
|
87820a |
#define __NR_execve 59
|
|
|
87820a |
#define __NR_exit 60
|
|
|
87820a |
#define __NR_wait4 61
|
|
|
87820a |
#define __NR_kill 62
|
|
|
87820a |
#define __NR_uname 63
|
|
|
87820a |
#define __NR_semget 64
|
|
|
87820a |
#define __NR_semop 65
|
|
|
87820a |
#define __NR_semctl 66
|
|
|
87820a |
#define __NR_shmdt 67
|
|
|
87820a |
#define __NR_msgget 68
|
|
|
87820a |
#define __NR_msgsnd 69
|
|
|
87820a |
#define __NR_msgrcv 70
|
|
|
87820a |
#define __NR_msgctl 71
|
|
|
87820a |
#define __NR_fcntl 72
|
|
|
87820a |
#define __NR_flock 73
|
|
|
87820a |
#define __NR_fsync 74
|
|
|
87820a |
#define __NR_fdatasync 75
|
|
|
87820a |
#define __NR_truncate 76
|
|
|
87820a |
#define __NR_ftruncate 77
|
|
|
87820a |
#define __NR_getdents 78
|
|
|
87820a |
#define __NR_getcwd 79
|
|
|
87820a |
#define __NR_chdir 80
|
|
|
87820a |
#define __NR_fchdir 81
|
|
|
87820a |
#define __NR_rename 82
|
|
|
87820a |
#define __NR_mkdir 83
|
|
|
87820a |
#define __NR_rmdir 84
|
|
|
87820a |
#define __NR_creat 85
|
|
|
87820a |
#define __NR_link 86
|
|
|
87820a |
#define __NR_unlink 87
|
|
|
87820a |
#define __NR_symlink 88
|
|
|
87820a |
#define __NR_readlink 89
|
|
|
87820a |
#define __NR_chmod 90
|
|
|
87820a |
#define __NR_fchmod 91
|
|
|
87820a |
#define __NR_chown 92
|
|
|
87820a |
#define __NR_fchown 93
|
|
|
87820a |
#define __NR_lchown 94
|
|
|
87820a |
#define __NR_umask 95
|
|
|
87820a |
#define __NR_gettimeofday 96
|
|
|
87820a |
#define __NR_getrlimit 97
|
|
|
87820a |
#define __NR_getrusage 98
|
|
|
87820a |
#define __NR_sysinfo 99
|
|
|
87820a |
#define __NR_times 100
|
|
|
87820a |
#define __NR_ptrace 101
|
|
|
87820a |
#define __NR_getuid 102
|
|
|
87820a |
#define __NR_syslog 103
|
|
|
87820a |
#define __NR_getgid 104
|
|
|
87820a |
#define __NR_setuid 105
|
|
|
87820a |
#define __NR_setgid 106
|
|
|
87820a |
#define __NR_geteuid 107
|
|
|
87820a |
#define __NR_getegid 108
|
|
|
87820a |
#define __NR_setpgid 109
|
|
|
87820a |
#define __NR_getppid 110
|
|
|
87820a |
#define __NR_getpgrp 111
|
|
|
87820a |
#define __NR_setsid 112
|
|
|
87820a |
#define __NR_setreuid 113
|
|
|
87820a |
#define __NR_setregid 114
|
|
|
87820a |
#define __NR_getgroups 115
|
|
|
87820a |
#define __NR_setgroups 116
|
|
|
87820a |
#define __NR_setresuid 117
|
|
|
87820a |
#define __NR_getresuid 118
|
|
|
87820a |
#define __NR_setresgid 119
|
|
|
87820a |
#define __NR_getresgid 120
|
|
|
87820a |
#define __NR_getpgid 121
|
|
|
87820a |
#define __NR_setfsuid 122
|
|
|
87820a |
#define __NR_setfsgid 123
|
|
|
87820a |
#define __NR_getsid 124
|
|
|
87820a |
#define __NR_capget 125
|
|
|
87820a |
#define __NR_capset 126
|
|
|
87820a |
#define __NR_rt_sigpending 127
|
|
|
87820a |
#define __NR_rt_sigtimedwait 128
|
|
|
87820a |
#define __NR_rt_sigqueueinfo 129
|
|
|
87820a |
#define __NR_rt_sigsuspend 130
|
|
|
87820a |
#define __NR_sigaltstack 131
|
|
|
87820a |
#define __NR_utime 132
|
|
|
87820a |
#define __NR_mknod 133
|
|
|
87820a |
#define __NR_uselib 134
|
|
|
87820a |
#define __NR_personality 135
|
|
|
87820a |
#define __NR_ustat 136
|
|
|
87820a |
#define __NR_statfs 137
|
|
|
87820a |
#define __NR_fstatfs 138
|
|
|
87820a |
#define __NR_sysfs 139
|
|
|
87820a |
#define __NR_getpriority 140
|
|
|
87820a |
#define __NR_setpriority 141
|
|
|
87820a |
#define __NR_sched_setparam 142
|
|
|
87820a |
#define __NR_sched_getparam 143
|
|
|
87820a |
#define __NR_sched_setscheduler 144
|
|
|
87820a |
#define __NR_sched_getscheduler 145
|
|
|
87820a |
#define __NR_sched_get_priority_max 146
|
|
|
87820a |
#define __NR_sched_get_priority_min 147
|
|
|
87820a |
#define __NR_sched_rr_get_interval 148
|
|
|
87820a |
#define __NR_mlock 149
|
|
|
87820a |
#define __NR_munlock 150
|
|
|
87820a |
#define __NR_mlockall 151
|
|
|
87820a |
#define __NR_munlockall 152
|
|
|
87820a |
#define __NR_vhangup 153
|
|
|
87820a |
#define __NR_modify_ldt 154
|
|
|
87820a |
#define __NR_pivot_root 155
|
|
|
87820a |
#define __NR__sysctl 156
|
|
|
87820a |
#define __NR_prctl 157
|
|
|
87820a |
#define __NR_arch_prctl 158
|
|
|
87820a |
#define __NR_adjtimex 159
|
|
|
87820a |
#define __NR_setrlimit 160
|
|
|
87820a |
#define __NR_chroot 161
|
|
|
87820a |
#define __NR_sync 162
|
|
|
87820a |
#define __NR_acct 163
|
|
|
87820a |
#define __NR_settimeofday 164
|
|
|
87820a |
#define __NR_mount 165
|
|
|
87820a |
#define __NR_umount2 166
|
|
|
87820a |
#define __NR_swapon 167
|
|
|
87820a |
#define __NR_swapoff 168
|
|
|
87820a |
#define __NR_reboot 169
|
|
|
87820a |
#define __NR_sethostname 170
|
|
|
87820a |
#define __NR_setdomainname 171
|
|
|
87820a |
#define __NR_iopl 172
|
|
|
87820a |
#define __NR_ioperm 173
|
|
|
87820a |
#define __NR_create_module 174
|
|
|
87820a |
#define __NR_init_module 175
|
|
|
87820a |
#define __NR_delete_module 176
|
|
|
87820a |
#define __NR_get_kernel_syms 177
|
|
|
87820a |
#define __NR_query_module 178
|
|
|
87820a |
#define __NR_quotactl 179
|
|
|
87820a |
#define __NR_nfsservctl 180
|
|
|
87820a |
#define __NR_getpmsg 181
|
|
|
87820a |
#define __NR_putpmsg 182
|
|
|
87820a |
#define __NR_afs_syscall 183
|
|
|
87820a |
#define __NR_tuxcall 184
|
|
|
87820a |
#define __NR_security 185
|
|
|
87820a |
#define __NR_gettid 186
|
|
|
87820a |
#define __NR_readahead 187
|
|
|
87820a |
#define __NR_setxattr 188
|
|
|
87820a |
#define __NR_lsetxattr 189
|
|
|
87820a |
#define __NR_fsetxattr 190
|
|
|
87820a |
#define __NR_getxattr 191
|
|
|
87820a |
#define __NR_lgetxattr 192
|
|
|
87820a |
#define __NR_fgetxattr 193
|
|
|
87820a |
#define __NR_listxattr 194
|
|
|
87820a |
#define __NR_llistxattr 195
|
|
|
87820a |
#define __NR_flistxattr 196
|
|
|
87820a |
#define __NR_removexattr 197
|
|
|
87820a |
#define __NR_lremovexattr 198
|
|
|
87820a |
#define __NR_fremovexattr 199
|
|
|
87820a |
#define __NR_tkill 200
|
|
|
87820a |
#define __NR_time 201
|
|
|
87820a |
#define __NR_futex 202
|
|
|
87820a |
#define __NR_sched_setaffinity 203
|
|
|
87820a |
#define __NR_sched_getaffinity 204
|
|
|
87820a |
#define __NR_set_thread_area 205
|
|
|
87820a |
#define __NR_io_setup 206
|
|
|
87820a |
#define __NR_io_destroy 207
|
|
|
87820a |
#define __NR_io_getevents 208
|
|
|
87820a |
#define __NR_io_submit 209
|
|
|
87820a |
#define __NR_io_cancel 210
|
|
|
87820a |
#define __NR_get_thread_area 211
|
|
|
87820a |
#define __NR_lookup_dcookie 212
|
|
|
87820a |
#define __NR_epoll_create 213
|
|
|
87820a |
#define __NR_epoll_ctl_old 214
|
|
|
87820a |
#define __NR_epoll_wait_old 215
|
|
|
87820a |
#define __NR_remap_file_pages 216
|
|
|
87820a |
#define __NR_getdents64 217
|
|
|
87820a |
#define __NR_set_tid_address 218
|
|
|
87820a |
#define __NR_restart_syscall 219
|
|
|
87820a |
#define __NR_semtimedop 220
|
|
|
87820a |
#define __NR_fadvise64 221
|
|
|
87820a |
#define __NR_timer_create 222
|
|
|
87820a |
#define __NR_timer_settime 223
|
|
|
87820a |
#define __NR_timer_gettime 224
|
|
|
87820a |
#define __NR_timer_getoverrun 225
|
|
|
87820a |
#define __NR_timer_delete 226
|
|
|
87820a |
#define __NR_clock_settime 227
|
|
|
87820a |
#define __NR_clock_gettime 228
|
|
|
87820a |
#define __NR_clock_getres 229
|
|
|
87820a |
#define __NR_clock_nanosleep 230
|
|
|
87820a |
#define __NR_exit_group 231
|
|
|
87820a |
#define __NR_epoll_wait 232
|
|
|
87820a |
#define __NR_epoll_ctl 233
|
|
|
87820a |
#define __NR_tgkill 234
|
|
|
87820a |
#define __NR_utimes 235
|
|
|
87820a |
#define __NR_vserver 236
|
|
|
87820a |
#define __NR_mbind 237
|
|
|
87820a |
#define __NR_set_mempolicy 238
|
|
|
87820a |
#define __NR_get_mempolicy 239
|
|
|
87820a |
#define __NR_mq_open 240
|
|
|
87820a |
#define __NR_mq_unlink 241
|
|
|
87820a |
#define __NR_mq_timedsend 242
|
|
|
87820a |
#define __NR_mq_timedreceive 243
|
|
|
87820a |
#define __NR_mq_notify 244
|
|
|
87820a |
#define __NR_mq_getsetattr 245
|
|
|
87820a |
#define __NR_kexec_load 246
|
|
|
87820a |
#define __NR_waitid 247
|
|
|
87820a |
#define __NR_add_key 248
|
|
|
87820a |
#define __NR_request_key 249
|
|
|
87820a |
#define __NR_keyctl 250
|
|
|
87820a |
#define __NR_ioprio_set 251
|
|
|
87820a |
#define __NR_ioprio_get 252
|
|
|
87820a |
#define __NR_inotify_init 253
|
|
|
87820a |
#define __NR_inotify_add_watch 254
|
|
|
87820a |
#define __NR_inotify_rm_watch 255
|
|
|
87820a |
#define __NR_migrate_pages 256
|
|
|
87820a |
#define __NR_openat 257
|
|
|
87820a |
#define __NR_mkdirat 258
|
|
|
87820a |
#define __NR_mknodat 259
|
|
|
87820a |
#define __NR_fchownat 260
|
|
|
87820a |
#define __NR_futimesat 261
|
|
|
87820a |
#define __NR_newfstatat 262
|
|
|
87820a |
#define __NR_unlinkat 263
|
|
|
87820a |
#define __NR_renameat 264
|
|
|
87820a |
#define __NR_linkat 265
|
|
|
87820a |
#define __NR_symlinkat 266
|
|
|
87820a |
#define __NR_readlinkat 267
|
|
|
87820a |
#define __NR_fchmodat 268
|
|
|
87820a |
#define __NR_faccessat 269
|
|
|
87820a |
#define __NR_pselect6 270
|
|
|
87820a |
#define __NR_ppoll 271
|
|
|
87820a |
#define __NR_unshare 272
|
|
|
87820a |
#define __NR_set_robust_list 273
|
|
|
87820a |
#define __NR_get_robust_list 274
|
|
|
87820a |
#define __NR_splice 275
|
|
|
87820a |
#define __NR_tee 276
|
|
|
87820a |
#define __NR_sync_file_range 277
|
|
|
87820a |
#define __NR_vmsplice 278
|
|
|
87820a |
#define __NR_move_pages 279
|
|
|
87820a |
#define __NR_utimensat 280
|
|
|
87820a |
#define __NR_epoll_pwait 281
|
|
|
87820a |
#define __NR_signalfd 282
|
|
|
87820a |
#define __NR_timerfd_create 283
|
|
|
87820a |
#define __NR_eventfd 284
|
|
|
87820a |
#define __NR_fallocate 285
|
|
|
87820a |
#define __NR_timerfd_settime 286
|
|
|
87820a |
#define __NR_timerfd_gettime 287
|
|
|
87820a |
#define __NR_accept4 288
|
|
|
87820a |
#define __NR_signalfd4 289
|
|
|
87820a |
#define __NR_eventfd2 290
|
|
|
87820a |
#define __NR_epoll_create1 291
|
|
|
87820a |
#define __NR_dup3 292
|
|
|
87820a |
#define __NR_pipe2 293
|
|
|
87820a |
#define __NR_inotify_init1 294
|
|
|
87820a |
#define __NR_preadv 295
|
|
|
87820a |
#define __NR_pwritev 296
|
|
|
87820a |
#define __NR_rt_tgsigqueueinfo 297
|
|
|
87820a |
#define __NR_perf_event_open 298
|
|
|
87820a |
#define __NR_recvmmsg 299
|
|
|
87820a |
#define __NR_fanotify_init 300
|
|
|
87820a |
#define __NR_fanotify_mark 301
|
|
|
87820a |
#define __NR_prlimit64 302
|
|
|
87820a |
#define __NR_name_to_handle_at 303
|
|
|
87820a |
#define __NR_open_by_handle_at 304
|
|
|
87820a |
#define __NR_clock_adjtime 305
|
|
|
87820a |
#define __NR_syncfs 306
|
|
|
87820a |
#define __NR_sendmmsg 307
|
|
|
87820a |
#define __NR_setns 308
|
|
|
87820a |
#define __NR_getcpu 309
|
|
|
87820a |
#define __NR_process_vm_readv 310
|
|
|
87820a |
#define __NR_process_vm_writev 311
|
|
|
87820a |
#define __NR_kcmp 312
|
|
|
87820a |
#define __NR_finit_module 313
|
|
|
87820a |
#define __NR_sched_setattr 314
|
|
|
87820a |
#define __NR_sched_getattr 315
|
|
|
87820a |
#define __NR_renameat2 316
|
|
|
87820a |
#define __NR_seccomp 317
|
|
|
87820a |
#define __NR_getrandom 318
|
|
|
87820a |
#define __NR_memfd_create 319
|
|
|
87820a |
#define __NR_kexec_file_load 320
|
|
|
87820a |
#define __NR_bpf 321
|
|
|
87820a |
#define __NR_execveat 322
|
|
|
894276 |
#define __NR_userfaultfd 323
|
|
|
894276 |
#define __NR_membarrier 324
|
|
|
894276 |
#define __NR_mlock2 325
|
|
|
894276 |
#define __NR_copy_file_range 326
|
|
|
894276 |
#define __NR_preadv2 327
|
|
|
894276 |
#define __NR_pwritev2 328
|
|
|
894276 |
#define __NR_pkey_mprotect 329
|
|
|
894276 |
#define __NR_pkey_alloc 330
|
|
|
894276 |
#define __NR_pkey_free 331
|
|
|
894276 |
#define __NR_statx 332
|
|
|
894276 |
#define __NR_io_pgetevents 333
|
|
|
894276 |
#define __NR_rseq 334
|
|
|
87820a |
|
|
|
79bd02 |
|
|
|
79bd02 |
/* system calls in the range [352..415] are framework-specific */
|
|
|
79bd02 |
#define __NR_fs_rpath 352
|
|
|
79bd02 |
#define __NR_fs_apath 353
|
|
|
79bd02 |
#define __NR_fs_npath 354
|
|
|
79bd02 |
#define __NR_fs_dpath 355
|
|
|
fbe02e |
|
|
|
c59e7f |
#define __NR_fs_nstat 356
|
|
|
c59e7f |
#define __NR_fs_qstat 357
|
|
|
c59e7f |
|
|
|
c59e7f |
#define __NR_fs_mkdir 358
|
|
|
c59e7f |
#define __NR_fs_chmod 359
|
|
|
c59e7f |
|
|
|
7d4b78 |
#define __NR_dbg_attach 368
|
|
|
7d4b78 |
#define __NR_dbg_detach 369
|
|
|
fbe02e |
|
|
|
7d4b78 |
#define __NR_dbg_spawn 370
|
|
|
7d4b78 |
#define __NR_dbg_fork 371
|
|
|
7d4b78 |
#define __NR_dbg_kill 372
|
|
|
fbe02e |
|
|
|
7d4b78 |
#define __NR_dbg_rbreak 373
|
|
|
7d4b78 |
#define __NR_dbg_tbreak 374
|
|
|
7d4b78 |
#define __NR_dbg_lbreak 375
|
|
|
fbe02e |
|
|
|
7d4b78 |
#define __NR_dbg_vm_read 376
|
|
|
7d4b78 |
#define __NR_dbg_vm_write 377
|
|
|
fbe02e |
|
|
|
7d4b78 |
#define __NR_dbg_regs_fetch 378
|
|
|
7d4b78 |
#define __NR_dbg_regs_store 379
|
|
|
fbe02e |
|
|
|
7d4b78 |
#define __NR_dbg_info_get 380
|
|
|
7d4b78 |
#define __NR_dbg_info_set 381
|
|
|
fbe02e |
|
|
|
7d4b78 |
#define __NR_dbg_suspend_thread 382
|
|
|
7d4b78 |
#define __NR_dbg_resume_thread 383
|
|
|
24e534 |
|
|
|
7d4b78 |
#define __NR_dbg_create_thread 384
|
|
|
7d4b78 |
#define __NR_dbg_abort_thread 385
|
|
|
da2149 |
|
|
|
7d4b78 |
#define __NR_dbg_event_query_one 386
|
|
|
7d4b78 |
#define __NR_dbg_event_query_all 387
|
|
|
c96964 |
|
|
|
7d4b78 |
#define __NR_dbg_event_acquire 388
|
|
|
7d4b78 |
#define __NR_dbg_event_respond 389
|
|
|
c96964 |
|
|
|
7d4b78 |
#define __NR_dbg_query_cpid 390
|
|
|
7d4b78 |
#define __NR_dbg_query_syspid 391
|
|
|
c96964 |
|
|
|
7d4b78 |
#define __NR_dbg_common_error 392
|
|
|
7d4b78 |
#define __NR_dbg_native_error 393
|
|
|
7d4b78 |
|
|
|
7d4b78 |
#define __NR_cmd_args_to_argv 400
|
|
|
7d4b78 |
#define __NR_cmd_argv_to_args 401
|