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#
120	common	ni_syscall			sys_ni_syscall
131	common	exit				sys_exit
142	common	read				sys_read
153	common	write				sys_write
164	common	open				sys_open
175	common	close				sys_close
186	common	creat				sys_creat
197	common	link				sys_link
208	common	unlink				sys_unlink
219	common	execve				ia64_execve
2210	common	chdir				sys_chdir
2311	common	fchdir				sys_fchdir
2412	common	utimes				sys_utimes
2513	common	mknod				sys_mknod
2614	common	chmod				sys_chmod
2715	common	chown				sys_chown
2816	common	lseek				sys_lseek
2917	common	getpid				sys_getpid
3018	common	getppid				sys_getppid
3119	common	mount				sys_mount
3220	common	umount2				sys_umount
3321	common	setuid				sys_setuid
3422	common	getuid				sys_getuid
3523	common	geteuid				sys_geteuid
3624	common	ptrace				sys_ptrace
3725	common	access				sys_access
3826	common	sync				sys_sync
3927	common	fsync				sys_fsync
4028	common	fdatasync			sys_fdatasync
4129	common	kill				sys_kill
4230	common	rename				sys_rename
4331	common	mkdir				sys_mkdir
4432	common	rmdir				sys_rmdir
4533	common	dup				sys_dup
4634	common	pipe				sys_ia64_pipe
4735	common	times				sys_times
4836	common	brk				ia64_brk
4937	common	setgid				sys_setgid
5038	common	getgid				sys_getgid
5139	common	getegid				sys_getegid
5240	common	acct				sys_acct
5341	common	ioctl				sys_ioctl
5442	common	fcntl				sys_fcntl
5543	common	umask				sys_umask
5644	common	chroot				sys_chroot
5745	common	ustat				sys_ustat
5846	common	dup2				sys_dup2
5947	common	setreuid			sys_setreuid
6048	common	setregid			sys_setregid
6149	common	getresuid			sys_getresuid
6250	common	setresuid			sys_setresuid
6351	common	getresgid			sys_getresgid
6452	common	setresgid			sys_setresgid
6553	common	getgroups			sys_getgroups
6654	common	setgroups			sys_setgroups
6755	common	getpgid				sys_getpgid
6856	common	setpgid				sys_setpgid
6957	common	setsid				sys_setsid
7058	common	getsid				sys_getsid
7159	common	sethostname			sys_sethostname
7260	common	setrlimit			sys_setrlimit
7361	common	getrlimit			sys_getrlimit
7462	common	getrusage			sys_getrusage
7563	common	gettimeofday			sys_gettimeofday
7664	common	settimeofday			sys_settimeofday
7765	common	select				sys_select
7866	common	poll				sys_poll
7967	common	symlink				sys_symlink
8068	common	readlink			sys_readlink
8169	common	uselib				sys_uselib
8270	common	swapon				sys_swapon
8371	common	swapoff				sys_swapoff
8472	common	reboot				sys_reboot
8573	common	truncate			sys_truncate
8674	common	ftruncate			sys_ftruncate
8775	common	fchmod				sys_fchmod
8876	common	fchown				sys_fchown
8977	common	getpriority			ia64_getpriority
9078	common	setpriority			sys_setpriority
9179	common	statfs				sys_statfs
9280	common	fstatfs				sys_fstatfs
9381	common	gettid				sys_gettid
9482	common	semget				sys_semget
9583	common	semop				sys_semop
9684	common	semctl				sys_semctl
9785	common	msgget				sys_msgget
9886	common	msgsnd				sys_msgsnd
9987	common	msgrcv				sys_msgrcv
10088	common	msgctl				sys_msgctl
10189	common	shmget				sys_shmget
10290	common	shmat				sys_shmat
10391	common	shmdt				sys_shmdt
10492	common	shmctl				sys_shmctl
10593	common	syslog				sys_syslog
10694	common	setitimer			sys_setitimer
10795	common	getitimer			sys_getitimer
108# 1120 was old_stat
109# 1121 was old_lstat
110# 1122 was old_fstat
11199	common	vhangup				sys_vhangup
112100	common	lchown				sys_lchown
113101	common	remap_file_pages		sys_remap_file_pages
114102	common	wait4				sys_wait4
115103	common	sysinfo				sys_sysinfo
116104	common	clone				sys_clone
117105	common	setdomainname			sys_setdomainname
118106	common	uname				sys_newuname
119107	common	adjtimex			sys_adjtimex
120# 1132 was create_module
121109	common	init_module			sys_init_module
122110	common	delete_module			sys_delete_module
123# 1135 was get_kernel_syms
124# 1136 was query_module
125113	common	quotactl			sys_quotactl
126114	common	bdflush				sys_ni_syscall
127115	common	sysfs				sys_sysfs
128116	common	personality			sys_personality
129117	common	afs_syscall			sys_ni_syscall
130118	common	setfsuid			sys_setfsuid
131119	common	setfsgid			sys_setfsgid
132120	common	getdents			sys_getdents
133121	common	flock				sys_flock
134122	common	readv				sys_readv
135123	common	writev				sys_writev
136124	common	pread64				sys_pread64
137125	common	pwrite64			sys_pwrite64
138126	common	_sysctl				sys_ni_syscall
139127	common	mmap				sys_mmap
140128	common	munmap				sys_munmap
141129	common	mlock				sys_mlock
142130	common	mlockall			sys_mlockall
143131	common	mprotect			sys_mprotect
144132	common	mremap				ia64_mremap
145133	common	msync				sys_msync
146134	common	munlock				sys_munlock
147135	common	munlockall			sys_munlockall
148136	common	sched_getparam			sys_sched_getparam
149137	common	sched_setparam			sys_sched_setparam
150138	common	sched_getscheduler		sys_sched_getscheduler
151139	common	sched_setscheduler		sys_sched_setscheduler
152140	common	sched_yield			sys_sched_yield
153141	common	sched_get_priority_max		sys_sched_get_priority_max
154142	common	sched_get_priority_min		sys_sched_get_priority_min
155143	common	sched_rr_get_interval		sys_sched_rr_get_interval
156144	common	nanosleep			sys_nanosleep
157145	common	nfsservctl			sys_ni_syscall
158146	common	prctl				sys_prctl
159147	common	old_getpagesize			sys_getpagesize
160148	common	mmap2				sys_mmap2
161149	common	pciconfig_read			sys_pciconfig_read
162150	common	pciconfig_write			sys_pciconfig_write
163151	common	perfmonctl			sys_ni_syscall
164152	common	sigaltstack			sys_sigaltstack
165153	common	rt_sigaction			sys_rt_sigaction
166154	common	rt_sigpending			sys_rt_sigpending
167155	common	rt_sigprocmask			sys_rt_sigprocmask
168156	common	rt_sigqueueinfo			sys_rt_sigqueueinfo
169157	common	rt_sigreturn			sys_rt_sigreturn
170158	common	rt_sigsuspend			sys_rt_sigsuspend
171159	common	rt_sigtimedwait			sys_rt_sigtimedwait
172160	common	getcwd				sys_getcwd
173161	common	capget				sys_capget
174162	common	capset				sys_capset
175163	common	sendfile			sys_sendfile64
176164	common	getpmsg				sys_ni_syscall
177165	common	putpmsg				sys_ni_syscall
178166	common	socket				sys_socket
179167	common	bind				sys_bind
180168	common	connect				sys_connect
181169	common	listen				sys_listen
182170	common	accept				sys_accept
183171	common	getsockname			sys_getsockname
184172	common	getpeername			sys_getpeername
185173	common	socketpair			sys_socketpair
186174	common	send				sys_send
187175	common	sendto				sys_sendto
188176	common	recv				sys_recv
189177	common	recvfrom			sys_recvfrom
190178	common	shutdown			sys_shutdown
191179	common	setsockopt			sys_setsockopt
192180	common	getsockopt			sys_getsockopt
193181	common	sendmsg				sys_sendmsg
194182	common	recvmsg				sys_recvmsg
195183	common	pivot_root			sys_pivot_root
196184	common	mincore				sys_mincore
197185	common	madvise				sys_madvise
198186	common	stat				sys_newstat
199187	common	lstat				sys_newlstat
200188	common	fstat				sys_newfstat
201189	common	clone2				sys_clone2
202190	common	getdents64			sys_getdents64
203191	common	getunwind			sys_getunwind
204192	common	readahead			sys_readahead
205193	common	setxattr			sys_setxattr
206194	common	lsetxattr			sys_lsetxattr
207195	common	fsetxattr			sys_fsetxattr
208196	common	getxattr			sys_getxattr
209197	common	lgetxattr			sys_lgetxattr
210198	common	fgetxattr			sys_fgetxattr
211199	common	listxattr			sys_listxattr
212200	common	llistxattr			sys_llistxattr
213201	common	flistxattr			sys_flistxattr
214202	common	removexattr			sys_removexattr
215203	common	lremovexattr			sys_lremovexattr
216204	common	fremovexattr			sys_fremovexattr
217205	common	tkill				sys_tkill
218206	common	futex				sys_futex
219207	common	sched_setaffinity		sys_sched_setaffinity
220208	common	sched_getaffinity		sys_sched_getaffinity
221209	common	set_tid_address			sys_set_tid_address
222210	common	fadvise64			sys_fadvise64_64
223211	common	tgkill				sys_tgkill
224212	common	exit_group			sys_exit_group
225213	common	lookup_dcookie			sys_lookup_dcookie
226214	common	io_setup			sys_io_setup
227215	common	io_destroy			sys_io_destroy
228216	common	io_getevents			sys_io_getevents
229217	common	io_submit			sys_io_submit
230218	common	io_cancel			sys_io_cancel
231219	common	epoll_create			sys_epoll_create
232220	common	epoll_ctl			sys_epoll_ctl
233221	common	epoll_wait			sys_epoll_wait
234222	common	restart_syscall			sys_restart_syscall
235223	common	semtimedop			sys_semtimedop
236224	common	timer_create			sys_timer_create
237225	common	timer_settime			sys_timer_settime
238226	common	timer_gettime			sys_timer_gettime
239227	common	timer_getoverrun		sys_timer_getoverrun
240228	common	timer_delete			sys_timer_delete
241229	common	clock_settime			sys_clock_settime
242230	common	clock_gettime			sys_clock_gettime
243231	common	clock_getres			ia64_clock_getres
244232	common	clock_nanosleep			sys_clock_nanosleep
245233	common	fstatfs64			sys_fstatfs64
246234	common	statfs64			sys_statfs64
247235	common	mbind				sys_mbind
248236	common	get_mempolicy			sys_get_mempolicy
249237	common	set_mempolicy			sys_set_mempolicy
250238	common	mq_open				sys_mq_open
251239	common	mq_unlink			sys_mq_unlink
252240	common	mq_timedsend			sys_mq_timedsend
253241	common	mq_timedreceive			sys_mq_timedreceive
254242	common	mq_notify			sys_mq_notify
255243	common	mq_getsetattr			sys_mq_getsetattr
256244	common	kexec_load			sys_kexec_load
257245	common	vserver				sys_ni_syscall
258246	common	waitid				sys_waitid
259247	common	add_key				sys_add_key
260248	common	request_key			sys_request_key
261249	common	keyctl				sys_keyctl
262250	common	ioprio_set			sys_ioprio_set
263251	common	ioprio_get			sys_ioprio_get
264252	common	move_pages			sys_move_pages
265253	common	inotify_init			sys_inotify_init
266254	common	inotify_add_watch		sys_inotify_add_watch
267255	common	inotify_rm_watch		sys_inotify_rm_watch
268256	common	migrate_pages			sys_migrate_pages
269257	common	openat				sys_openat
270258	common	mkdirat				sys_mkdirat
271259	common	mknodat				sys_mknodat
272260	common	fchownat			sys_fchownat
273261	common	futimesat			sys_futimesat
274262	common	newfstatat			sys_newfstatat
275263	common	unlinkat			sys_unlinkat
276264	common	renameat			sys_renameat
277265	common	linkat				sys_linkat
278266	common	symlinkat			sys_symlinkat
279267	common	readlinkat			sys_readlinkat
280268	common	fchmodat			sys_fchmodat
281269	common	faccessat			sys_faccessat
282270	common	pselect6			sys_pselect6
283271	common	ppoll				sys_ppoll
284272	common	unshare				sys_unshare
285273	common	splice				sys_splice
286274	common	set_robust_list			sys_set_robust_list
287275	common	get_robust_list			sys_get_robust_list
288276	common	sync_file_range			sys_sync_file_range
289277	common	tee				sys_tee
290278	common	vmsplice			sys_vmsplice
291279	common	fallocate			sys_fallocate
292280	common	getcpu				sys_getcpu
293281	common	epoll_pwait			sys_epoll_pwait
294282	common	utimensat			sys_utimensat
295283	common	signalfd			sys_signalfd
296284	common	timerfd				sys_ni_syscall
297285	common	eventfd				sys_eventfd
298286	common	timerfd_create			sys_timerfd_create
299287	common	timerfd_settime			sys_timerfd_settime
300288	common	timerfd_gettime			sys_timerfd_gettime
301289	common	signalfd4			sys_signalfd4
302290	common	eventfd2			sys_eventfd2
303291	common	epoll_create1			sys_epoll_create1
304292	common	dup3				sys_dup3
305293	common	pipe2				sys_pipe2
306294	common	inotify_init1			sys_inotify_init1
307295	common	preadv				sys_preadv
308296	common	pwritev				sys_pwritev
309297	common	rt_tgsigqueueinfo		sys_rt_tgsigqueueinfo
310298	common	recvmmsg			sys_recvmmsg
311299	common	fanotify_init			sys_fanotify_init
312300	common	fanotify_mark			sys_fanotify_mark
313301	common	prlimit64			sys_prlimit64
314302	common	name_to_handle_at		sys_name_to_handle_at
315303	common	open_by_handle_at		sys_open_by_handle_at
316304	common	clock_adjtime			sys_clock_adjtime
317305	common	syncfs				sys_syncfs
318306	common	setns				sys_setns
319307	common	sendmmsg			sys_sendmmsg
320308	common	process_vm_readv		sys_process_vm_readv
321309	common	process_vm_writev		sys_process_vm_writev
322310	common	accept4				sys_accept4
323311	common	finit_module			sys_finit_module
324312	common	sched_setattr			sys_sched_setattr
325313	common	sched_getattr			sys_sched_getattr
326314	common	renameat2			sys_renameat2
327315	common	getrandom			sys_getrandom
328316	common	memfd_create			sys_memfd_create
329317	common	bpf				sys_bpf
330318	common	execveat			sys_execveat
331319	common	userfaultfd			sys_userfaultfd
332320	common	membarrier			sys_membarrier
333321	common	kcmp				sys_kcmp
334322	common	mlock2				sys_mlock2
335323	common	copy_file_range			sys_copy_file_range
336324	common	preadv2				sys_preadv2
337325	common	pwritev2			sys_pwritev2
338326	common	statx				sys_statx
339327	common	io_pgetevents			sys_io_pgetevents
340328	common	perf_event_open			sys_perf_event_open
341329	common	seccomp				sys_seccomp
342330	common	pkey_mprotect			sys_pkey_mprotect
343331	common	pkey_alloc			sys_pkey_alloc
344332	common	pkey_free			sys_pkey_free
345333	common	rseq				sys_rseq
346# 334 through 423 are reserved to sync up with other architectures
347424	common	pidfd_send_signal		sys_pidfd_send_signal
348425	common	io_uring_setup			sys_io_uring_setup
349426	common	io_uring_enter			sys_io_uring_enter
350427	common	io_uring_register		sys_io_uring_register
351428	common	open_tree			sys_open_tree
352429	common	move_mount			sys_move_mount
353430	common	fsopen				sys_fsopen
354431	common	fsconfig			sys_fsconfig
355432	common	fsmount				sys_fsmount
356433	common	fspick				sys_fspick
357434	common	pidfd_open			sys_pidfd_open
358# 435 reserved for clone3
359436	common	close_range			sys_close_range
360437	common	openat2				sys_openat2
361438	common	pidfd_getfd			sys_pidfd_getfd
362439	common	faccessat2			sys_faccessat2
363440	common	process_madvise			sys_process_madvise
364441	common	epoll_pwait2			sys_epoll_pwait2
365442	common	mount_setattr			sys_mount_setattr
366443	common	quotactl_fd			sys_quotactl_fd
367444	common	landlock_create_ruleset		sys_landlock_create_ruleset
368445	common	landlock_add_rule		sys_landlock_add_rule
369446	common	landlock_restrict_self		sys_landlock_restrict_self
370# 447 reserved for memfd_secret
371448	common	process_mrelease		sys_process_mrelease
372449	common  futex_waitv                     sys_futex_waitv
373450	common	set_mempolicy_home_node		sys_set_mempolicy_home_node
374451	common	cachestat			sys_cachestat
375