1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2#
3# system call numbers and entry vectors for alpha
4#
5# The format is:
6# <number> <abi> <name> <entry point>
7#
8# The <abi> is always "common" for this file
9#
100	common	osf_syscall			alpha_syscall_zero
111	common	exit				sys_exit
122	common	fork				alpha_fork
133	common	read				sys_read
144	common	write				sys_write
155	common	osf_old_open			sys_ni_syscall
166	common	close				sys_close
177	common	osf_wait4			sys_osf_wait4
188	common	osf_old_creat			sys_ni_syscall
199	common	link				sys_link
2010	common	unlink				sys_unlink
2111	common	osf_execve			sys_ni_syscall
2212	common	chdir				sys_chdir
2313	common	fchdir				sys_fchdir
2414	common	mknod				sys_mknod
2515	common	chmod				sys_chmod
2616	common	chown				sys_chown
2717	common	brk				sys_osf_brk
2818	common	osf_getfsstat			sys_ni_syscall
2919	common	lseek				sys_lseek
3020	common	getxpid				sys_getxpid
3121	common	osf_mount			sys_osf_mount
3222	common	umount2				sys_umount
3323	common	setuid				sys_setuid
3424	common	getxuid				sys_getxuid
3525	common	exec_with_loader		sys_ni_syscall
3626	common	ptrace				sys_ptrace
3727	common	osf_nrecvmsg			sys_ni_syscall
3828	common	osf_nsendmsg			sys_ni_syscall
3929	common	osf_nrecvfrom			sys_ni_syscall
4030	common	osf_naccept			sys_ni_syscall
4131	common	osf_ngetpeername		sys_ni_syscall
4232	common	osf_ngetsockname		sys_ni_syscall
4333	common	access				sys_access
4434	common	osf_chflags			sys_ni_syscall
4535	common	osf_fchflags			sys_ni_syscall
4636	common	sync				sys_sync
4737	common	kill				sys_kill
4838	common	osf_old_stat			sys_ni_syscall
4939	common	setpgid				sys_setpgid
5040	common	osf_old_lstat			sys_ni_syscall
5141	common	dup				sys_dup
5242	common	pipe				sys_alpha_pipe
5343	common	osf_set_program_attributes	sys_osf_set_program_attributes
5444	common	osf_profil			sys_ni_syscall
5545	common	open				sys_open
5646	common	osf_old_sigaction		sys_ni_syscall
5747	common	getxgid				sys_getxgid
5848	common	osf_sigprocmask			sys_osf_sigprocmask
5949	common	osf_getlogin			sys_ni_syscall
6050	common	osf_setlogin			sys_ni_syscall
6151	common	acct				sys_acct
6252	common	sigpending			sys_sigpending
6354	common	ioctl				sys_ioctl
6455	common	osf_reboot			sys_ni_syscall
6556	common	osf_revoke			sys_ni_syscall
6657	common	symlink				sys_symlink
6758	common	readlink			sys_readlink
6859	common	execve				sys_execve
6960	common	umask				sys_umask
7061	common	chroot				sys_chroot
7162	common	osf_old_fstat			sys_ni_syscall
7263	common	getpgrp				sys_getpgrp
7364	common	getpagesize			sys_getpagesize
7465	common	osf_mremap			sys_ni_syscall
7566	common	vfork				alpha_vfork
7667	common	stat				sys_newstat
7768	common	lstat				sys_newlstat
7869	common	osf_sbrk			sys_ni_syscall
7970	common	osf_sstk			sys_ni_syscall
8071	common	mmap				sys_osf_mmap
8172	common	osf_old_vadvise			sys_ni_syscall
8273	common	munmap				sys_munmap
8374	common	mprotect			sys_mprotect
8475	common	madvise				sys_madvise
8576	common	vhangup				sys_vhangup
8677	common	osf_kmodcall			sys_ni_syscall
8778	common	osf_mincore			sys_ni_syscall
8879	common	getgroups			sys_getgroups
8980	common	setgroups			sys_setgroups
9081	common	osf_old_getpgrp			sys_ni_syscall
9182	common	setpgrp				sys_setpgid
9283	common	osf_setitimer			compat_sys_setitimer
9384	common	osf_old_wait			sys_ni_syscall
9485	common	osf_table			sys_ni_syscall
9586	common	osf_getitimer			compat_sys_getitimer
9687	common	gethostname			sys_gethostname
9788	common	sethostname			sys_sethostname
9889	common	getdtablesize			sys_getdtablesize
9990	common	dup2				sys_dup2
10091	common	fstat				sys_newfstat
10192	common	fcntl				sys_fcntl
10293	common	osf_select			sys_osf_select
10394	common	poll				sys_poll
10495	common	fsync				sys_fsync
10596	common	setpriority			sys_setpriority
10697	common	socket				sys_socket
10798	common	connect				sys_connect
10899	common	accept				sys_accept
109100	common	getpriority			sys_osf_getpriority
110101	common	send				sys_send
111102	common	recv				sys_recv
112103	common	sigreturn			sys_sigreturn
113104	common	bind				sys_bind
114105	common	setsockopt			sys_setsockopt
115106	common	listen				sys_listen
116107	common	osf_plock			sys_ni_syscall
117108	common	osf_old_sigvec			sys_ni_syscall
118109	common	osf_old_sigblock		sys_ni_syscall
119110	common	osf_old_sigsetmask		sys_ni_syscall
120111	common	sigsuspend			sys_sigsuspend
121112	common	osf_sigstack			sys_osf_sigstack
122113	common	recvmsg				sys_recvmsg
123114	common	sendmsg				sys_sendmsg
124115	common	osf_old_vtrace			sys_ni_syscall
125116	common	osf_gettimeofday		sys_osf_gettimeofday
126117	common	osf_getrusage			sys_osf_getrusage
127118	common	getsockopt			sys_getsockopt
128120	common	readv				sys_readv
129121	common	writev				sys_writev
130122	common	osf_settimeofday		sys_osf_settimeofday
131123	common	fchown				sys_fchown
132124	common	fchmod				sys_fchmod
133125	common	recvfrom			sys_recvfrom
134126	common	setreuid			sys_setreuid
135127	common	setregid			sys_setregid
136128	common	rename				sys_rename
137129	common	truncate			sys_truncate
138130	common	ftruncate			sys_ftruncate
139131	common	flock				sys_flock
140132	common	setgid				sys_setgid
141133	common	sendto				sys_sendto
142134	common	shutdown			sys_shutdown
143135	common	socketpair			sys_socketpair
144136	common	mkdir				sys_mkdir
145137	common	rmdir				sys_rmdir
146138	common	osf_utimes			sys_osf_utimes
147139	common	osf_old_sigreturn		sys_ni_syscall
148140	common	osf_adjtime			sys_ni_syscall
149141	common	getpeername			sys_getpeername
150142	common	osf_gethostid			sys_ni_syscall
151143	common	osf_sethostid			sys_ni_syscall
152144	common	getrlimit			sys_getrlimit
153145	common	setrlimit			sys_setrlimit
154146	common	osf_old_killpg			sys_ni_syscall
155147	common	setsid				sys_setsid
156148	common	quotactl			sys_quotactl
157149	common	osf_oldquota			sys_ni_syscall
158150	common	getsockname			sys_getsockname
159153	common	osf_pid_block			sys_ni_syscall
160154	common	osf_pid_unblock			sys_ni_syscall
161156	common	sigaction			sys_osf_sigaction
162157	common	osf_sigwaitprim			sys_ni_syscall
163158	common	osf_nfssvc			sys_ni_syscall
164159	common	osf_getdirentries		sys_osf_getdirentries
165160	common	osf_statfs			sys_osf_statfs
166161	common	osf_fstatfs			sys_osf_fstatfs
167163	common	osf_asynch_daemon		sys_ni_syscall
168164	common	osf_getfh			sys_ni_syscall
169165	common	osf_getdomainname		sys_osf_getdomainname
170166	common	setdomainname			sys_setdomainname
171169	common	osf_exportfs			sys_ni_syscall
172181	common	osf_alt_plock			sys_ni_syscall
173184	common	osf_getmnt			sys_ni_syscall
174187	common	osf_alt_sigpending		sys_ni_syscall
175188	common	osf_alt_setsid			sys_ni_syscall
176199	common	osf_swapon			sys_swapon
177200	common	msgctl				sys_old_msgctl
178201	common	msgget				sys_msgget
179202	common	msgrcv				sys_msgrcv
180203	common	msgsnd				sys_msgsnd
181204	common	semctl				sys_old_semctl
182205	common	semget				sys_semget
183206	common	semop				sys_semop
184207	common	osf_utsname			sys_osf_utsname
185208	common	lchown				sys_lchown
186209	common	shmat				sys_shmat
187210	common	shmctl				sys_old_shmctl
188211	common	shmdt				sys_shmdt
189212	common	shmget				sys_shmget
190213	common	osf_mvalid			sys_ni_syscall
191214	common	osf_getaddressconf		sys_ni_syscall
192215	common	osf_msleep			sys_ni_syscall
193216	common	osf_mwakeup			sys_ni_syscall
194217	common	msync				sys_msync
195218	common	osf_signal			sys_ni_syscall
196219	common	osf_utc_gettime			sys_ni_syscall
197220	common	osf_utc_adjtime			sys_ni_syscall
198222	common	osf_security			sys_ni_syscall
199223	common	osf_kloadcall			sys_ni_syscall
200224	common	osf_stat			sys_osf_stat
201225	common	osf_lstat			sys_osf_lstat
202226	common	osf_fstat			sys_osf_fstat
203227	common	osf_statfs64			sys_osf_statfs64
204228	common	osf_fstatfs64			sys_osf_fstatfs64
205233	common	getpgid				sys_getpgid
206234	common	getsid				sys_getsid
207235	common	sigaltstack			sys_sigaltstack
208236	common	osf_waitid			sys_ni_syscall
209237	common	osf_priocntlset			sys_ni_syscall
210238	common	osf_sigsendset			sys_ni_syscall
211239	common	osf_set_speculative		sys_ni_syscall
212240	common	osf_msfs_syscall		sys_ni_syscall
213241	common	osf_sysinfo			sys_osf_sysinfo
214242	common	osf_uadmin			sys_ni_syscall
215243	common	osf_fuser			sys_ni_syscall
216244	common	osf_proplist_syscall		sys_osf_proplist_syscall
217245	common	osf_ntp_adjtime			sys_ni_syscall
218246	common	osf_ntp_gettime			sys_ni_syscall
219247	common	osf_pathconf			sys_ni_syscall
220248	common	osf_fpathconf			sys_ni_syscall
221250	common	osf_uswitch			sys_ni_syscall
222251	common	osf_usleep_thread		sys_osf_usleep_thread
223252	common	osf_audcntl			sys_ni_syscall
224253	common	osf_audgen			sys_ni_syscall
225254	common	sysfs				sys_sysfs
226255	common	osf_subsys_info			sys_ni_syscall
227256	common	osf_getsysinfo			sys_osf_getsysinfo
228257	common	osf_setsysinfo			sys_osf_setsysinfo
229258	common	osf_afs_syscall			sys_ni_syscall
230259	common	osf_swapctl			sys_ni_syscall
231260	common	osf_memcntl			sys_ni_syscall
232261	common	osf_fdatasync			sys_ni_syscall
233300	common	bdflush				sys_ni_syscall
234301	common	sethae				sys_sethae
235302	common	mount				sys_mount
236303	common	old_adjtimex			sys_old_adjtimex
237304	common	swapoff				sys_swapoff
238305	common	getdents			sys_getdents
239306	common	create_module			sys_ni_syscall
240307	common	init_module			sys_init_module
241308	common	delete_module			sys_delete_module
242309	common	get_kernel_syms			sys_ni_syscall
243310	common	syslog				sys_syslog
244311	common	reboot				sys_reboot
245312	common	clone				alpha_clone
246313	common	uselib				sys_uselib
247314	common	mlock				sys_mlock
248315	common	munlock				sys_munlock
249316	common	mlockall			sys_mlockall
250317	common	munlockall			sys_munlockall
251318	common	sysinfo				sys_sysinfo
252319	common	_sysctl				sys_ni_syscall
253# 320 was sys_idle
254321	common	oldumount			sys_oldumount
255322	common	swapon				sys_swapon
256323	common	times				sys_times
257324	common	personality			sys_personality
258325	common	setfsuid			sys_setfsuid
259326	common	setfsgid			sys_setfsgid
260327	common	ustat				sys_ustat
261328	common	statfs				sys_statfs
262329	common	fstatfs				sys_fstatfs
263330	common	sched_setparam			sys_sched_setparam
264331	common	sched_getparam			sys_sched_getparam
265332	common	sched_setscheduler		sys_sched_setscheduler
266333	common	sched_getscheduler		sys_sched_getscheduler
267334	common	sched_yield			sys_sched_yield
268335	common	sched_get_priority_max		sys_sched_get_priority_max
269336	common	sched_get_priority_min		sys_sched_get_priority_min
270337	common	sched_rr_get_interval		sys_sched_rr_get_interval
271338	common	afs_syscall			sys_ni_syscall
272339	common	uname				sys_newuname
273340	common	nanosleep			sys_nanosleep
274341	common	mremap				sys_mremap
275342	common	nfsservctl			sys_ni_syscall
276343	common	setresuid			sys_setresuid
277344	common	getresuid			sys_getresuid
278345	common	pciconfig_read			sys_pciconfig_read
279346	common	pciconfig_write			sys_pciconfig_write
280347	common	query_module			sys_ni_syscall
281348	common	prctl				sys_prctl
282349	common	pread64				sys_pread64
283350	common	pwrite64			sys_pwrite64
284351	common	rt_sigreturn			sys_rt_sigreturn
285352	common	rt_sigaction			sys_rt_sigaction
286353	common	rt_sigprocmask			sys_rt_sigprocmask
287354	common	rt_sigpending			sys_rt_sigpending
288355	common	rt_sigtimedwait			sys_rt_sigtimedwait
289356	common	rt_sigqueueinfo			sys_rt_sigqueueinfo
290357	common	rt_sigsuspend			sys_rt_sigsuspend
291358	common	select				sys_select
292359	common	gettimeofday			sys_gettimeofday
293360	common	settimeofday			sys_settimeofday
294361	common	getitimer			sys_getitimer
295362	common	setitimer			sys_setitimer
296363	common	utimes				sys_utimes
297364	common	getrusage			sys_getrusage
298365	common	wait4				sys_wait4
299366	common	adjtimex			sys_adjtimex
300367	common	getcwd				sys_getcwd
301368	common	capget				sys_capget
302369	common	capset				sys_capset
303370	common	sendfile			sys_sendfile64
304371	common	setresgid			sys_setresgid
305372	common	getresgid			sys_getresgid
306373	common	dipc				sys_ni_syscall
307374	common	pivot_root			sys_pivot_root
308375	common	mincore				sys_mincore
309376	common	pciconfig_iobase		sys_pciconfig_iobase
310377	common	getdents64			sys_getdents64
311378	common	gettid				sys_gettid
312379	common	readahead			sys_readahead
313# 380 is unused
314381	common	tkill				sys_tkill
315382	common	setxattr			sys_setxattr
316383	common	lsetxattr			sys_lsetxattr
317384	common	fsetxattr			sys_fsetxattr
318385	common	getxattr			sys_getxattr
319386	common	lgetxattr			sys_lgetxattr
320387	common	fgetxattr			sys_fgetxattr
321388	common	listxattr			sys_listxattr
322389	common	llistxattr			sys_llistxattr
323390	common	flistxattr			sys_flistxattr
324391	common	removexattr			sys_removexattr
325392	common	lremovexattr			sys_lremovexattr
326393	common	fremovexattr			sys_fremovexattr
327394	common	futex				sys_futex
328395	common	sched_setaffinity		sys_sched_setaffinity
329396	common	sched_getaffinity		sys_sched_getaffinity
330397	common	tuxcall				sys_ni_syscall
331398	common	io_setup			sys_io_setup
332399	common	io_destroy			sys_io_destroy
333400	common	io_getevents			sys_io_getevents
334401	common	io_submit			sys_io_submit
335402	common	io_cancel			sys_io_cancel
336405	common	exit_group			sys_exit_group
337406	common	lookup_dcookie			sys_lookup_dcookie
338407	common	epoll_create			sys_epoll_create
339408	common	epoll_ctl			sys_epoll_ctl
340409	common	epoll_wait			sys_epoll_wait
341410	common	remap_file_pages		sys_remap_file_pages
342411	common	set_tid_address			sys_set_tid_address
343412	common	restart_syscall			sys_restart_syscall
344413	common	fadvise64			sys_fadvise64
345414	common	timer_create			sys_timer_create
346415	common	timer_settime			sys_timer_settime
347416	common	timer_gettime			sys_timer_gettime
348417	common	timer_getoverrun		sys_timer_getoverrun
349418	common	timer_delete			sys_timer_delete
350419	common	clock_settime			sys_clock_settime
351420	common	clock_gettime			sys_clock_gettime
352421	common	clock_getres			sys_clock_getres
353422	common	clock_nanosleep			sys_clock_nanosleep
354423	common	semtimedop			sys_semtimedop
355424	common	tgkill				sys_tgkill
356425	common	stat64				sys_stat64
357426	common	lstat64				sys_lstat64
358427	common	fstat64				sys_fstat64
359428	common	vserver				sys_ni_syscall
360429	common	mbind				sys_ni_syscall
361430	common	get_mempolicy			sys_ni_syscall
362431	common	set_mempolicy			sys_ni_syscall
363432	common	mq_open				sys_mq_open
364433	common	mq_unlink			sys_mq_unlink
365434	common	mq_timedsend			sys_mq_timedsend
366435	common	mq_timedreceive			sys_mq_timedreceive
367436	common	mq_notify			sys_mq_notify
368437	common	mq_getsetattr			sys_mq_getsetattr
369438	common	waitid				sys_waitid
370439	common	add_key				sys_add_key
371440	common	request_key			sys_request_key
372441	common	keyctl				sys_keyctl
373442	common	ioprio_set			sys_ioprio_set
374443	common	ioprio_get			sys_ioprio_get
375444	common	inotify_init			sys_inotify_init
376445	common	inotify_add_watch		sys_inotify_add_watch
377446	common	inotify_rm_watch		sys_inotify_rm_watch
378447	common	fdatasync			sys_fdatasync
379448	common	kexec_load			sys_kexec_load
380449	common	migrate_pages			sys_migrate_pages
381450	common	openat				sys_openat
382451	common	mkdirat				sys_mkdirat
383452	common	mknodat				sys_mknodat
384453	common	fchownat			sys_fchownat
385454	common	futimesat			sys_futimesat
386455	common	fstatat64			sys_fstatat64
387456	common	unlinkat			sys_unlinkat
388457	common	renameat			sys_renameat
389458	common	linkat				sys_linkat
390459	common	symlinkat			sys_symlinkat
391460	common	readlinkat			sys_readlinkat
392461	common	fchmodat			sys_fchmodat
393462	common	faccessat			sys_faccessat
394463	common	pselect6			sys_pselect6
395464	common	ppoll				sys_ppoll
396465	common	unshare				sys_unshare
397466	common	set_robust_list			sys_set_robust_list
398467	common	get_robust_list			sys_get_robust_list
399468	common	splice				sys_splice
400469	common	sync_file_range			sys_sync_file_range
401470	common	tee				sys_tee
402471	common	vmsplice			sys_vmsplice
403472	common	move_pages			sys_move_pages
404473	common	getcpu				sys_getcpu
405474	common	epoll_pwait			sys_epoll_pwait
406475	common	utimensat			sys_utimensat
407476	common	signalfd			sys_signalfd
408477	common	timerfd				sys_ni_syscall
409478	common	eventfd				sys_eventfd
410479	common	recvmmsg			sys_recvmmsg
411480	common	fallocate			sys_fallocate
412481	common	timerfd_create			sys_timerfd_create
413482	common	timerfd_settime			sys_timerfd_settime
414483	common	timerfd_gettime			sys_timerfd_gettime
415484	common	signalfd4			sys_signalfd4
416485	common	eventfd2			sys_eventfd2
417486	common	epoll_create1			sys_epoll_create1
418487	common	dup3				sys_dup3
419488	common	pipe2				sys_pipe2
420489	common	inotify_init1			sys_inotify_init1
421490	common	preadv				sys_preadv
422491	common	pwritev				sys_pwritev
423492	common	rt_tgsigqueueinfo		sys_rt_tgsigqueueinfo
424493	common	perf_event_open			sys_perf_event_open
425494	common	fanotify_init			sys_fanotify_init
426495	common	fanotify_mark			sys_fanotify_mark
427496	common	prlimit64			sys_prlimit64
428497	common	name_to_handle_at		sys_name_to_handle_at
429498	common	open_by_handle_at		sys_open_by_handle_at
430499	common	clock_adjtime			sys_clock_adjtime
431500	common	syncfs				sys_syncfs
432501	common	setns				sys_setns
433502	common	accept4				sys_accept4
434503	common	sendmmsg			sys_sendmmsg
435504	common	process_vm_readv		sys_process_vm_readv
436505	common	process_vm_writev		sys_process_vm_writev
437506	common	kcmp				sys_kcmp
438507	common	finit_module			sys_finit_module
439508	common	sched_setattr			sys_sched_setattr
440509	common	sched_getattr			sys_sched_getattr
441510	common	renameat2			sys_renameat2
442511	common	getrandom			sys_getrandom
443512	common	memfd_create			sys_memfd_create
444513	common	execveat			sys_execveat
445514	common	seccomp				sys_seccomp
446515	common	bpf				sys_bpf
447516	common	userfaultfd			sys_userfaultfd
448517	common	membarrier			sys_membarrier
449518	common	mlock2				sys_mlock2
450519	common	copy_file_range			sys_copy_file_range
451520	common	preadv2				sys_preadv2
452521	common	pwritev2			sys_pwritev2
453522	common	statx				sys_statx
454523	common	io_pgetevents			sys_io_pgetevents
455524	common	pkey_mprotect			sys_pkey_mprotect
456525	common	pkey_alloc			sys_pkey_alloc
457526	common	pkey_free			sys_pkey_free
458527	common	rseq				sys_rseq
459528	common	statfs64			sys_statfs64
460529	common	fstatfs64			sys_fstatfs64
461530	common	getegid				sys_getegid
462531	common	geteuid				sys_geteuid
463532	common	getppid				sys_getppid
464# all other architectures have common numbers for new syscall, alpha
465# is the exception.
466534	common	pidfd_send_signal		sys_pidfd_send_signal
467535	common	io_uring_setup			sys_io_uring_setup
468536	common	io_uring_enter			sys_io_uring_enter
469537	common	io_uring_register		sys_io_uring_register
470538	common	open_tree			sys_open_tree
471539	common	move_mount			sys_move_mount
472540	common	fsopen				sys_fsopen
473541	common	fsconfig			sys_fsconfig
474542	common	fsmount				sys_fsmount
475543	common	fspick				sys_fspick
476544	common	pidfd_open			sys_pidfd_open
477# 545 reserved for clone3
478546	common	close_range			sys_close_range
479547	common	openat2				sys_openat2
480548	common	pidfd_getfd			sys_pidfd_getfd
481549	common	faccessat2			sys_faccessat2
482550	common	process_madvise			sys_process_madvise
483551	common	epoll_pwait2			sys_epoll_pwait2
484552	common	mount_setattr			sys_mount_setattr
485553	common	quotactl_fd			sys_quotactl_fd
486554	common	landlock_create_ruleset		sys_landlock_create_ruleset
487555	common	landlock_add_rule		sys_landlock_add_rule
488556	common	landlock_restrict_self		sys_landlock_restrict_self
489# 557 reserved for memfd_secret
490558	common	process_mrelease		sys_process_mrelease
491559	common  futex_waitv                     sys_futex_waitv
492560	common	set_mempolicy_home_node		sys_ni_syscall
493561	common	cachestat			sys_cachestat
494