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