hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
#
# Linux system call numbers and entry vectors for ia64
#
# The format is:
# <number> <abi> <name> <entry point>
#
# Add 1024 to <number> will get the actual system call number
#
# The <abi> is always "common" for this file
#
0    common    ni_syscall            sys_ni_syscall
1    common    exit                sys_exit
2    common    read                sys_read
3    common    write                sys_write
4    common    open                sys_open
5    common    close                sys_close
6    common    creat                sys_creat
7    common    link                sys_link
8    common    unlink                sys_unlink
9    common    execve                ia64_execve
10    common    chdir                sys_chdir
11    common    fchdir                sys_fchdir
12    common    utimes                sys_utimes
13    common    mknod                sys_mknod
14    common    chmod                sys_chmod
15    common    chown                sys_chown
16    common    lseek                sys_lseek
17    common    getpid                sys_getpid
18    common    getppid                sys_getppid
19    common    mount                sys_mount
20    common    umount2                sys_umount
21    common    setuid                sys_setuid
22    common    getuid                sys_getuid
23    common    geteuid                sys_geteuid
24    common    ptrace                sys_ptrace
25    common    access                sys_access
26    common    sync                sys_sync
27    common    fsync                sys_fsync
28    common    fdatasync            sys_fdatasync
29    common    kill                sys_kill
30    common    rename                sys_rename
31    common    mkdir                sys_mkdir
32    common    rmdir                sys_rmdir
33    common    dup                sys_dup
34    common    pipe                sys_ia64_pipe
35    common    times                sys_times
36    common    brk                ia64_brk
37    common    setgid                sys_setgid
38    common    getgid                sys_getgid
39    common    getegid                sys_getegid
40    common    acct                sys_acct
41    common    ioctl                sys_ioctl
42    common    fcntl                sys_fcntl
43    common    umask                sys_umask
44    common    chroot                sys_chroot
45    common    ustat                sys_ustat
46    common    dup2                sys_dup2
47    common    setreuid            sys_setreuid
48    common    setregid            sys_setregid
49    common    getresuid            sys_getresuid
50    common    setresuid            sys_setresuid
51    common    getresgid            sys_getresgid
52    common    setresgid            sys_setresgid
53    common    getgroups            sys_getgroups
54    common    setgroups            sys_setgroups
55    common    getpgid                sys_getpgid
56    common    setpgid                sys_setpgid
57    common    setsid                sys_setsid
58    common    getsid                sys_getsid
59    common    sethostname            sys_sethostname
60    common    setrlimit            sys_setrlimit
61    common    getrlimit            sys_getrlimit
62    common    getrusage            sys_getrusage
63    common    gettimeofday            sys_gettimeofday
64    common    settimeofday            sys_settimeofday
65    common    select                sys_select
66    common    poll                sys_poll
67    common    symlink                sys_symlink
68    common    readlink            sys_readlink
69    common    uselib                sys_uselib
70    common    swapon                sys_swapon
71    common    swapoff                sys_swapoff
72    common    reboot                sys_reboot
73    common    truncate            sys_truncate
74    common    ftruncate            sys_ftruncate
75    common    fchmod                sys_fchmod
76    common    fchown                sys_fchown
77    common    getpriority            ia64_getpriority
78    common    setpriority            sys_setpriority
79    common    statfs                sys_statfs
80    common    fstatfs                sys_fstatfs
81    common    gettid                sys_gettid
82    common    semget                sys_semget
83    common    semop                sys_semop
84    common    semctl                sys_semctl
85    common    msgget                sys_msgget
86    common    msgsnd                sys_msgsnd
87    common    msgrcv                sys_msgrcv
88    common    msgctl                sys_msgctl
89    common    shmget                sys_shmget
90    common    shmat                sys_shmat
91    common    shmdt                sys_shmdt
92    common    shmctl                sys_shmctl
93    common    syslog                sys_syslog
94    common    setitimer            sys_setitimer
95    common    getitimer            sys_getitimer
# 1120 was old_stat
# 1121 was old_lstat
# 1122 was old_fstat
99    common    vhangup                sys_vhangup
100    common    lchown                sys_lchown
101    common    remap_file_pages        sys_remap_file_pages
102    common    wait4                sys_wait4
103    common    sysinfo                sys_sysinfo
104    common    clone                sys_clone
105    common    setdomainname            sys_setdomainname
106    common    uname                sys_newuname
107    common    adjtimex            sys_adjtimex
# 1132 was create_module
109    common    init_module            sys_init_module
110    common    delete_module            sys_delete_module
# 1135 was get_kernel_syms
# 1136 was query_module
113    common    quotactl            sys_quotactl
114    common    bdflush                sys_bdflush
115    common    sysfs                sys_sysfs
116    common    personality            sys_personality
117    common    afs_syscall            sys_ni_syscall
118    common    setfsuid            sys_setfsuid
119    common    setfsgid            sys_setfsgid
120    common    getdents            sys_getdents
121    common    flock                sys_flock
122    common    readv                sys_readv
123    common    writev                sys_writev
124    common    pread64                sys_pread64
125    common    pwrite64            sys_pwrite64
126    common    _sysctl                sys_ni_syscall
127    common    mmap                sys_mmap
128    common    munmap                sys_munmap
129    common    mlock                sys_mlock
130    common    mlockall            sys_mlockall
131    common    mprotect            sys_mprotect
132    common    mremap                ia64_mremap
133    common    msync                sys_msync
134    common    munlock                sys_munlock
135    common    munlockall            sys_munlockall
136    common    sched_getparam            sys_sched_getparam
137    common    sched_setparam            sys_sched_setparam
138    common    sched_getscheduler        sys_sched_getscheduler
139    common    sched_setscheduler        sys_sched_setscheduler
140    common    sched_yield            sys_sched_yield
141    common    sched_get_priority_max        sys_sched_get_priority_max
142    common    sched_get_priority_min        sys_sched_get_priority_min
143    common    sched_rr_get_interval        sys_sched_rr_get_interval
144    common    nanosleep            sys_nanosleep
145    common    nfsservctl            sys_ni_syscall
146    common    prctl                sys_prctl
147    common    old_getpagesize            sys_getpagesize
148    common    mmap2                sys_mmap2
149    common    pciconfig_read            sys_pciconfig_read
150    common    pciconfig_write            sys_pciconfig_write
151    common    perfmonctl            sys_ni_syscall
152    common    sigaltstack            sys_sigaltstack
153    common    rt_sigaction            sys_rt_sigaction
154    common    rt_sigpending            sys_rt_sigpending
155    common    rt_sigprocmask            sys_rt_sigprocmask
156    common    rt_sigqueueinfo            sys_rt_sigqueueinfo
157    common    rt_sigreturn            sys_rt_sigreturn
158    common    rt_sigsuspend            sys_rt_sigsuspend
159    common    rt_sigtimedwait            sys_rt_sigtimedwait
160    common    getcwd                sys_getcwd
161    common    capget                sys_capget
162    common    capset                sys_capset
163    common    sendfile            sys_sendfile64
164    common    getpmsg                sys_ni_syscall
165    common    putpmsg                sys_ni_syscall
166    common    socket                sys_socket
167    common    bind                sys_bind
168    common    connect                sys_connect
169    common    listen                sys_listen
170    common    accept                sys_accept
171    common    getsockname            sys_getsockname
172    common    getpeername            sys_getpeername
173    common    socketpair            sys_socketpair
174    common    send                sys_send
175    common    sendto                sys_sendto
176    common    recv                sys_recv
177    common    recvfrom            sys_recvfrom
178    common    shutdown            sys_shutdown
179    common    setsockopt            sys_setsockopt
180    common    getsockopt            sys_getsockopt
181    common    sendmsg                sys_sendmsg
182    common    recvmsg                sys_recvmsg
183    common    pivot_root            sys_pivot_root
184    common    mincore                sys_mincore
185    common    madvise                sys_madvise
186    common    stat                sys_newstat
187    common    lstat                sys_newlstat
188    common    fstat                sys_newfstat
189    common    clone2                sys_clone2
190    common    getdents64            sys_getdents64
191    common    getunwind            sys_getunwind
192    common    readahead            sys_readahead
193    common    setxattr            sys_setxattr
194    common    lsetxattr            sys_lsetxattr
195    common    fsetxattr            sys_fsetxattr
196    common    getxattr            sys_getxattr
197    common    lgetxattr            sys_lgetxattr
198    common    fgetxattr            sys_fgetxattr
199    common    listxattr            sys_listxattr
200    common    llistxattr            sys_llistxattr
201    common    flistxattr            sys_flistxattr
202    common    removexattr            sys_removexattr
203    common    lremovexattr            sys_lremovexattr
204    common    fremovexattr            sys_fremovexattr
205    common    tkill                sys_tkill
206    common    futex                sys_futex
207    common    sched_setaffinity        sys_sched_setaffinity
208    common    sched_getaffinity        sys_sched_getaffinity
209    common    set_tid_address            sys_set_tid_address
210    common    fadvise64            sys_fadvise64_64
211    common    tgkill                sys_tgkill
212    common    exit_group            sys_exit_group
213    common    lookup_dcookie            sys_lookup_dcookie
214    common    io_setup            sys_io_setup
215    common    io_destroy            sys_io_destroy
216    common    io_getevents            sys_io_getevents
217    common    io_submit            sys_io_submit
218    common    io_cancel            sys_io_cancel
219    common    epoll_create            sys_epoll_create
220    common    epoll_ctl            sys_epoll_ctl
221    common    epoll_wait            sys_epoll_wait
222    common    restart_syscall            sys_restart_syscall
223    common    semtimedop            sys_semtimedop
224    common    timer_create            sys_timer_create
225    common    timer_settime            sys_timer_settime
226    common    timer_gettime            sys_timer_gettime
227    common    timer_getoverrun        sys_timer_getoverrun
228    common    timer_delete            sys_timer_delete
229    common    clock_settime            sys_clock_settime
230    common    clock_gettime            sys_clock_gettime
231    common    clock_getres            sys_clock_getres
232    common    clock_nanosleep            sys_clock_nanosleep
233    common    fstatfs64            sys_fstatfs64
234    common    statfs64            sys_statfs64
235    common    mbind                sys_mbind
236    common    get_mempolicy            sys_get_mempolicy
237    common    set_mempolicy            sys_set_mempolicy
238    common    mq_open                sys_mq_open
239    common    mq_unlink            sys_mq_unlink
240    common    mq_timedsend            sys_mq_timedsend
241    common    mq_timedreceive            sys_mq_timedreceive
242    common    mq_notify            sys_mq_notify
243    common    mq_getsetattr            sys_mq_getsetattr
244    common    kexec_load            sys_kexec_load
245    common    vserver                sys_ni_syscall
246    common    waitid                sys_waitid
247    common    add_key                sys_add_key
248    common    request_key            sys_request_key
249    common    keyctl                sys_keyctl
250    common    ioprio_set            sys_ioprio_set
251    common    ioprio_get            sys_ioprio_get
252    common    move_pages            sys_move_pages
253    common    inotify_init            sys_inotify_init
254    common    inotify_add_watch        sys_inotify_add_watch
255    common    inotify_rm_watch        sys_inotify_rm_watch
256    common    migrate_pages            sys_migrate_pages
257    common    openat                sys_openat
258    common    mkdirat                sys_mkdirat
259    common    mknodat                sys_mknodat
260    common    fchownat            sys_fchownat
261    common    futimesat            sys_futimesat
262    common    newfstatat            sys_newfstatat
263    common    unlinkat            sys_unlinkat
264    common    renameat            sys_renameat
265    common    linkat                sys_linkat
266    common    symlinkat            sys_symlinkat
267    common    readlinkat            sys_readlinkat
268    common    fchmodat            sys_fchmodat
269    common    faccessat            sys_faccessat
270    common    pselect6            sys_pselect6
271    common    ppoll                sys_ppoll
272    common    unshare                sys_unshare
273    common    splice                sys_splice
274    common    set_robust_list            sys_set_robust_list
275    common    get_robust_list            sys_get_robust_list
276    common    sync_file_range            sys_sync_file_range
277    common    tee                sys_tee
278    common    vmsplice            sys_vmsplice
279    common    fallocate            sys_fallocate
280    common    getcpu                sys_getcpu
281    common    epoll_pwait            sys_epoll_pwait
282    common    utimensat            sys_utimensat
283    common    signalfd            sys_signalfd
284    common    timerfd                sys_ni_syscall
285    common    eventfd                sys_eventfd
286    common    timerfd_create            sys_timerfd_create
287    common    timerfd_settime            sys_timerfd_settime
288    common    timerfd_gettime            sys_timerfd_gettime
289    common    signalfd4            sys_signalfd4
290    common    eventfd2            sys_eventfd2
291    common    epoll_create1            sys_epoll_create1
292    common    dup3                sys_dup3
293    common    pipe2                sys_pipe2
294    common    inotify_init1            sys_inotify_init1
295    common    preadv                sys_preadv
296    common    pwritev                sys_pwritev
297    common    rt_tgsigqueueinfo        sys_rt_tgsigqueueinfo
298    common    recvmmsg            sys_recvmmsg
299    common    fanotify_init            sys_fanotify_init
300    common    fanotify_mark            sys_fanotify_mark
301    common    prlimit64            sys_prlimit64
302    common    name_to_handle_at        sys_name_to_handle_at
303    common    open_by_handle_at        sys_open_by_handle_at
304    common    clock_adjtime            sys_clock_adjtime
305    common    syncfs                sys_syncfs
306    common    setns                sys_setns
307    common    sendmmsg            sys_sendmmsg
308    common    process_vm_readv        sys_process_vm_readv
309    common    process_vm_writev        sys_process_vm_writev
310    common    accept4                sys_accept4
311    common    finit_module            sys_finit_module
312    common    sched_setattr            sys_sched_setattr
313    common    sched_getattr            sys_sched_getattr
314    common    renameat2            sys_renameat2
315    common    getrandom            sys_getrandom
316    common    memfd_create            sys_memfd_create
317    common    bpf                sys_bpf
318    common    execveat            sys_execveat
319    common    userfaultfd            sys_userfaultfd
320    common    membarrier            sys_membarrier
321    common    kcmp                sys_kcmp
322    common    mlock2                sys_mlock2
323    common    copy_file_range            sys_copy_file_range
324    common    preadv2                sys_preadv2
325    common    pwritev2            sys_pwritev2
326    common    statx                sys_statx
327    common    io_pgetevents            sys_io_pgetevents
328    common    perf_event_open            sys_perf_event_open
329    common    seccomp                sys_seccomp
330    common    pkey_mprotect            sys_pkey_mprotect
331    common    pkey_alloc            sys_pkey_alloc
332    common    pkey_free            sys_pkey_free
333    common    rseq                sys_rseq
# 334 through 423 are reserved to sync up with other architectures
424    common    pidfd_send_signal        sys_pidfd_send_signal
425    common    io_uring_setup            sys_io_uring_setup
426    common    io_uring_enter            sys_io_uring_enter
427    common    io_uring_register        sys_io_uring_register
428    common    open_tree            sys_open_tree
429    common    move_mount            sys_move_mount
430    common    fsopen                sys_fsopen
431    common    fsconfig            sys_fsconfig
432    common    fsmount                sys_fsmount
433    common    fspick                sys_fspick
434    common    pidfd_open            sys_pidfd_open
# 435 reserved for clone3
436    common    close_range            sys_close_range
437    common    openat2                sys_openat2
438    common    pidfd_getfd            sys_pidfd_getfd
439    common    faccessat2            sys_faccessat2
440    common    process_madvise            sys_process_madvise
# 447 reserved for memfd_secret
448    common    process_mrelease        sys_process_mrelease