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