xref: /linux/arch/x86/entry/syscalls/syscall_64.tbl (revision 29ccb40f2b543ccb1d143e54e8227b80d277bc2f)
19aae1baaSMarcin Juszkiewicz# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
21f57d5d8SIngo Molnar#
31f57d5d8SIngo Molnar# 64-bit system call numbers and entry vectors
41f57d5d8SIngo Molnar#
51f57d5d8SIngo Molnar# The format is:
69142be9eSJosh Poimboeuf# <number> <abi> <name> <entry point> [<compat entry point> [noreturn]]
71f57d5d8SIngo Molnar#
8d5a00528SDominik Brodowski# The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls
9d5a00528SDominik Brodowski#
101f57d5d8SIngo Molnar# The abi is "common", "64" or "x32" for this file.
111f57d5d8SIngo Molnar#
12cab56d34SBrian Gerst0	common	read			sys_read
13cab56d34SBrian Gerst1	common	write			sys_write
14cab56d34SBrian Gerst2	common	open			sys_open
15cab56d34SBrian Gerst3	common	close			sys_close
16cab56d34SBrian Gerst4	common	stat			sys_newstat
17cab56d34SBrian Gerst5	common	fstat			sys_newfstat
18cab56d34SBrian Gerst6	common	lstat			sys_newlstat
19cab56d34SBrian Gerst7	common	poll			sys_poll
20cab56d34SBrian Gerst8	common	lseek			sys_lseek
21cab56d34SBrian Gerst9	common	mmap			sys_mmap
22cab56d34SBrian Gerst10	common	mprotect		sys_mprotect
23cab56d34SBrian Gerst11	common	munmap			sys_munmap
24cab56d34SBrian Gerst12	common	brk			sys_brk
25cab56d34SBrian Gerst13	64	rt_sigaction		sys_rt_sigaction
26cab56d34SBrian Gerst14	common	rt_sigprocmask		sys_rt_sigprocmask
27cab56d34SBrian Gerst15	64	rt_sigreturn		sys_rt_sigreturn
28cab56d34SBrian Gerst16	64	ioctl			sys_ioctl
29cab56d34SBrian Gerst17	common	pread64			sys_pread64
30cab56d34SBrian Gerst18	common	pwrite64		sys_pwrite64
31cab56d34SBrian Gerst19	64	readv			sys_readv
32cab56d34SBrian Gerst20	64	writev			sys_writev
33cab56d34SBrian Gerst21	common	access			sys_access
34cab56d34SBrian Gerst22	common	pipe			sys_pipe
35cab56d34SBrian Gerst23	common	select			sys_select
36cab56d34SBrian Gerst24	common	sched_yield		sys_sched_yield
37cab56d34SBrian Gerst25	common	mremap			sys_mremap
38cab56d34SBrian Gerst26	common	msync			sys_msync
39cab56d34SBrian Gerst27	common	mincore			sys_mincore
40cab56d34SBrian Gerst28	common	madvise			sys_madvise
41cab56d34SBrian Gerst29	common	shmget			sys_shmget
42cab56d34SBrian Gerst30	common	shmat			sys_shmat
43cab56d34SBrian Gerst31	common	shmctl			sys_shmctl
44cab56d34SBrian Gerst32	common	dup			sys_dup
45cab56d34SBrian Gerst33	common	dup2			sys_dup2
46cab56d34SBrian Gerst34	common	pause			sys_pause
47cab56d34SBrian Gerst35	common	nanosleep		sys_nanosleep
48cab56d34SBrian Gerst36	common	getitimer		sys_getitimer
49cab56d34SBrian Gerst37	common	alarm			sys_alarm
50cab56d34SBrian Gerst38	common	setitimer		sys_setitimer
51cab56d34SBrian Gerst39	common	getpid			sys_getpid
52cab56d34SBrian Gerst40	common	sendfile		sys_sendfile64
53cab56d34SBrian Gerst41	common	socket			sys_socket
54cab56d34SBrian Gerst42	common	connect			sys_connect
55cab56d34SBrian Gerst43	common	accept			sys_accept
56cab56d34SBrian Gerst44	common	sendto			sys_sendto
57cab56d34SBrian Gerst45	64	recvfrom		sys_recvfrom
58cab56d34SBrian Gerst46	64	sendmsg			sys_sendmsg
59cab56d34SBrian Gerst47	64	recvmsg			sys_recvmsg
60cab56d34SBrian Gerst48	common	shutdown		sys_shutdown
61cab56d34SBrian Gerst49	common	bind			sys_bind
62cab56d34SBrian Gerst50	common	listen			sys_listen
63cab56d34SBrian Gerst51	common	getsockname		sys_getsockname
64cab56d34SBrian Gerst52	common	getpeername		sys_getpeername
65cab56d34SBrian Gerst53	common	socketpair		sys_socketpair
66cab56d34SBrian Gerst54	64	setsockopt		sys_setsockopt
67cab56d34SBrian Gerst55	64	getsockopt		sys_getsockopt
68cab56d34SBrian Gerst56	common	clone			sys_clone
69cab56d34SBrian Gerst57	common	fork			sys_fork
70cab56d34SBrian Gerst58	common	vfork			sys_vfork
71cab56d34SBrian Gerst59	64	execve			sys_execve
729142be9eSJosh Poimboeuf60	common	exit			sys_exit			-			noreturn
73cab56d34SBrian Gerst61	common	wait4			sys_wait4
74cab56d34SBrian Gerst62	common	kill			sys_kill
75cab56d34SBrian Gerst63	common	uname			sys_newuname
76cab56d34SBrian Gerst64	common	semget			sys_semget
77cab56d34SBrian Gerst65	common	semop			sys_semop
78cab56d34SBrian Gerst66	common	semctl			sys_semctl
79cab56d34SBrian Gerst67	common	shmdt			sys_shmdt
80cab56d34SBrian Gerst68	common	msgget			sys_msgget
81cab56d34SBrian Gerst69	common	msgsnd			sys_msgsnd
82cab56d34SBrian Gerst70	common	msgrcv			sys_msgrcv
83cab56d34SBrian Gerst71	common	msgctl			sys_msgctl
84cab56d34SBrian Gerst72	common	fcntl			sys_fcntl
85cab56d34SBrian Gerst73	common	flock			sys_flock
86cab56d34SBrian Gerst74	common	fsync			sys_fsync
87cab56d34SBrian Gerst75	common	fdatasync		sys_fdatasync
88cab56d34SBrian Gerst76	common	truncate		sys_truncate
89cab56d34SBrian Gerst77	common	ftruncate		sys_ftruncate
90cab56d34SBrian Gerst78	common	getdents		sys_getdents
91cab56d34SBrian Gerst79	common	getcwd			sys_getcwd
92cab56d34SBrian Gerst80	common	chdir			sys_chdir
93cab56d34SBrian Gerst81	common	fchdir			sys_fchdir
94cab56d34SBrian Gerst82	common	rename			sys_rename
95cab56d34SBrian Gerst83	common	mkdir			sys_mkdir
96cab56d34SBrian Gerst84	common	rmdir			sys_rmdir
97cab56d34SBrian Gerst85	common	creat			sys_creat
98cab56d34SBrian Gerst86	common	link			sys_link
99cab56d34SBrian Gerst87	common	unlink			sys_unlink
100cab56d34SBrian Gerst88	common	symlink			sys_symlink
101cab56d34SBrian Gerst89	common	readlink		sys_readlink
102cab56d34SBrian Gerst90	common	chmod			sys_chmod
103cab56d34SBrian Gerst91	common	fchmod			sys_fchmod
104cab56d34SBrian Gerst92	common	chown			sys_chown
105cab56d34SBrian Gerst93	common	fchown			sys_fchown
106cab56d34SBrian Gerst94	common	lchown			sys_lchown
107cab56d34SBrian Gerst95	common	umask			sys_umask
108cab56d34SBrian Gerst96	common	gettimeofday		sys_gettimeofday
109cab56d34SBrian Gerst97	common	getrlimit		sys_getrlimit
110cab56d34SBrian Gerst98	common	getrusage		sys_getrusage
111cab56d34SBrian Gerst99	common	sysinfo			sys_sysinfo
112cab56d34SBrian Gerst100	common	times			sys_times
113cab56d34SBrian Gerst101	64	ptrace			sys_ptrace
114cab56d34SBrian Gerst102	common	getuid			sys_getuid
115cab56d34SBrian Gerst103	common	syslog			sys_syslog
116cab56d34SBrian Gerst104	common	getgid			sys_getgid
117cab56d34SBrian Gerst105	common	setuid			sys_setuid
118cab56d34SBrian Gerst106	common	setgid			sys_setgid
119cab56d34SBrian Gerst107	common	geteuid			sys_geteuid
120cab56d34SBrian Gerst108	common	getegid			sys_getegid
121cab56d34SBrian Gerst109	common	setpgid			sys_setpgid
122cab56d34SBrian Gerst110	common	getppid			sys_getppid
123cab56d34SBrian Gerst111	common	getpgrp			sys_getpgrp
124cab56d34SBrian Gerst112	common	setsid			sys_setsid
125cab56d34SBrian Gerst113	common	setreuid		sys_setreuid
126cab56d34SBrian Gerst114	common	setregid		sys_setregid
127cab56d34SBrian Gerst115	common	getgroups		sys_getgroups
128cab56d34SBrian Gerst116	common	setgroups		sys_setgroups
129cab56d34SBrian Gerst117	common	setresuid		sys_setresuid
130cab56d34SBrian Gerst118	common	getresuid		sys_getresuid
131cab56d34SBrian Gerst119	common	setresgid		sys_setresgid
132cab56d34SBrian Gerst120	common	getresgid		sys_getresgid
133cab56d34SBrian Gerst121	common	getpgid			sys_getpgid
134cab56d34SBrian Gerst122	common	setfsuid		sys_setfsuid
135cab56d34SBrian Gerst123	common	setfsgid		sys_setfsgid
136cab56d34SBrian Gerst124	common	getsid			sys_getsid
137cab56d34SBrian Gerst125	common	capget			sys_capget
138cab56d34SBrian Gerst126	common	capset			sys_capset
139cab56d34SBrian Gerst127	64	rt_sigpending		sys_rt_sigpending
140cab56d34SBrian Gerst128	64	rt_sigtimedwait		sys_rt_sigtimedwait
141cab56d34SBrian Gerst129	64	rt_sigqueueinfo		sys_rt_sigqueueinfo
142cab56d34SBrian Gerst130	common	rt_sigsuspend		sys_rt_sigsuspend
143cab56d34SBrian Gerst131	64	sigaltstack		sys_sigaltstack
144cab56d34SBrian Gerst132	common	utime			sys_utime
145cab56d34SBrian Gerst133	common	mknod			sys_mknod
1461f57d5d8SIngo Molnar134	64	uselib
147cab56d34SBrian Gerst135	common	personality		sys_personality
148cab56d34SBrian Gerst136	common	ustat			sys_ustat
149cab56d34SBrian Gerst137	common	statfs			sys_statfs
150cab56d34SBrian Gerst138	common	fstatfs			sys_fstatfs
151cab56d34SBrian Gerst139	common	sysfs			sys_sysfs
152cab56d34SBrian Gerst140	common	getpriority		sys_getpriority
153cab56d34SBrian Gerst141	common	setpriority		sys_setpriority
154cab56d34SBrian Gerst142	common	sched_setparam		sys_sched_setparam
155cab56d34SBrian Gerst143	common	sched_getparam		sys_sched_getparam
156cab56d34SBrian Gerst144	common	sched_setscheduler	sys_sched_setscheduler
157cab56d34SBrian Gerst145	common	sched_getscheduler	sys_sched_getscheduler
158cab56d34SBrian Gerst146	common	sched_get_priority_max	sys_sched_get_priority_max
159cab56d34SBrian Gerst147	common	sched_get_priority_min	sys_sched_get_priority_min
160cab56d34SBrian Gerst148	common	sched_rr_get_interval	sys_sched_rr_get_interval
161cab56d34SBrian Gerst149	common	mlock			sys_mlock
162cab56d34SBrian Gerst150	common	munlock			sys_munlock
163cab56d34SBrian Gerst151	common	mlockall		sys_mlockall
164cab56d34SBrian Gerst152	common	munlockall		sys_munlockall
165cab56d34SBrian Gerst153	common	vhangup			sys_vhangup
166cab56d34SBrian Gerst154	common	modify_ldt		sys_modify_ldt
167cab56d34SBrian Gerst155	common	pivot_root		sys_pivot_root
16888db0aa2SXiaoming Ni156	64	_sysctl			sys_ni_syscall
169cab56d34SBrian Gerst157	common	prctl			sys_prctl
170cab56d34SBrian Gerst158	common	arch_prctl		sys_arch_prctl
171cab56d34SBrian Gerst159	common	adjtimex		sys_adjtimex
172cab56d34SBrian Gerst160	common	setrlimit		sys_setrlimit
173cab56d34SBrian Gerst161	common	chroot			sys_chroot
174cab56d34SBrian Gerst162	common	sync			sys_sync
175cab56d34SBrian Gerst163	common	acct			sys_acct
176cab56d34SBrian Gerst164	common	settimeofday		sys_settimeofday
177cab56d34SBrian Gerst165	common	mount			sys_mount
178cab56d34SBrian Gerst166	common	umount2			sys_umount
179cab56d34SBrian Gerst167	common	swapon			sys_swapon
180cab56d34SBrian Gerst168	common	swapoff			sys_swapoff
181cab56d34SBrian Gerst169	common	reboot			sys_reboot
182cab56d34SBrian Gerst170	common	sethostname		sys_sethostname
183cab56d34SBrian Gerst171	common	setdomainname		sys_setdomainname
184cab56d34SBrian Gerst172	common	iopl			sys_iopl
185cab56d34SBrian Gerst173	common	ioperm			sys_ioperm
1861f57d5d8SIngo Molnar174	64	create_module
187cab56d34SBrian Gerst175	common	init_module		sys_init_module
188cab56d34SBrian Gerst176	common	delete_module		sys_delete_module
1891f57d5d8SIngo Molnar177	64	get_kernel_syms
1901f57d5d8SIngo Molnar178	64	query_module
191cab56d34SBrian Gerst179	common	quotactl		sys_quotactl
1921f57d5d8SIngo Molnar180	64	nfsservctl
1931f57d5d8SIngo Molnar181	common	getpmsg
1941f57d5d8SIngo Molnar182	common	putpmsg
1951f57d5d8SIngo Molnar183	common	afs_syscall
1961f57d5d8SIngo Molnar184	common	tuxcall
1971f57d5d8SIngo Molnar185	common	security
198cab56d34SBrian Gerst186	common	gettid			sys_gettid
199cab56d34SBrian Gerst187	common	readahead		sys_readahead
200cab56d34SBrian Gerst188	common	setxattr		sys_setxattr
201cab56d34SBrian Gerst189	common	lsetxattr		sys_lsetxattr
202cab56d34SBrian Gerst190	common	fsetxattr		sys_fsetxattr
203cab56d34SBrian Gerst191	common	getxattr		sys_getxattr
204cab56d34SBrian Gerst192	common	lgetxattr		sys_lgetxattr
205cab56d34SBrian Gerst193	common	fgetxattr		sys_fgetxattr
206cab56d34SBrian Gerst194	common	listxattr		sys_listxattr
207cab56d34SBrian Gerst195	common	llistxattr		sys_llistxattr
208cab56d34SBrian Gerst196	common	flistxattr		sys_flistxattr
209cab56d34SBrian Gerst197	common	removexattr		sys_removexattr
210cab56d34SBrian Gerst198	common	lremovexattr		sys_lremovexattr
211cab56d34SBrian Gerst199	common	fremovexattr		sys_fremovexattr
212cab56d34SBrian Gerst200	common	tkill			sys_tkill
213cab56d34SBrian Gerst201	common	time			sys_time
214cab56d34SBrian Gerst202	common	futex			sys_futex
215cab56d34SBrian Gerst203	common	sched_setaffinity	sys_sched_setaffinity
216cab56d34SBrian Gerst204	common	sched_getaffinity	sys_sched_getaffinity
2171f57d5d8SIngo Molnar205	64	set_thread_area
218cab56d34SBrian Gerst206	64	io_setup		sys_io_setup
219cab56d34SBrian Gerst207	common	io_destroy		sys_io_destroy
220cab56d34SBrian Gerst208	common	io_getevents		sys_io_getevents
221cab56d34SBrian Gerst209	64	io_submit		sys_io_submit
222cab56d34SBrian Gerst210	common	io_cancel		sys_io_cancel
2231f57d5d8SIngo Molnar211	64	get_thread_area
224ccab211aSSohil Mehta212	common	lookup_dcookie
225cab56d34SBrian Gerst213	common	epoll_create		sys_epoll_create
2261f57d5d8SIngo Molnar214	64	epoll_ctl_old
2271f57d5d8SIngo Molnar215	64	epoll_wait_old
228cab56d34SBrian Gerst216	common	remap_file_pages	sys_remap_file_pages
229cab56d34SBrian Gerst217	common	getdents64		sys_getdents64
230cab56d34SBrian Gerst218	common	set_tid_address		sys_set_tid_address
231cab56d34SBrian Gerst219	common	restart_syscall		sys_restart_syscall
232cab56d34SBrian Gerst220	common	semtimedop		sys_semtimedop
233cab56d34SBrian Gerst221	common	fadvise64		sys_fadvise64
234cab56d34SBrian Gerst222	64	timer_create		sys_timer_create
235cab56d34SBrian Gerst223	common	timer_settime		sys_timer_settime
236cab56d34SBrian Gerst224	common	timer_gettime		sys_timer_gettime
237cab56d34SBrian Gerst225	common	timer_getoverrun	sys_timer_getoverrun
238cab56d34SBrian Gerst226	common	timer_delete		sys_timer_delete
239cab56d34SBrian Gerst227	common	clock_settime		sys_clock_settime
240cab56d34SBrian Gerst228	common	clock_gettime		sys_clock_gettime
241cab56d34SBrian Gerst229	common	clock_getres		sys_clock_getres
242cab56d34SBrian Gerst230	common	clock_nanosleep		sys_clock_nanosleep
2439142be9eSJosh Poimboeuf231	common	exit_group		sys_exit_group			-			noreturn
244cab56d34SBrian Gerst232	common	epoll_wait		sys_epoll_wait
245cab56d34SBrian Gerst233	common	epoll_ctl		sys_epoll_ctl
246cab56d34SBrian Gerst234	common	tgkill			sys_tgkill
247cab56d34SBrian Gerst235	common	utimes			sys_utimes
2481f57d5d8SIngo Molnar236	64	vserver
249cab56d34SBrian Gerst237	common	mbind			sys_mbind
250cab56d34SBrian Gerst238	common	set_mempolicy		sys_set_mempolicy
251cab56d34SBrian Gerst239	common	get_mempolicy		sys_get_mempolicy
252cab56d34SBrian Gerst240	common	mq_open			sys_mq_open
253cab56d34SBrian Gerst241	common	mq_unlink		sys_mq_unlink
254cab56d34SBrian Gerst242	common	mq_timedsend		sys_mq_timedsend
255cab56d34SBrian Gerst243	common	mq_timedreceive		sys_mq_timedreceive
256cab56d34SBrian Gerst244	64	mq_notify		sys_mq_notify
257cab56d34SBrian Gerst245	common	mq_getsetattr		sys_mq_getsetattr
258cab56d34SBrian Gerst246	64	kexec_load		sys_kexec_load
259cab56d34SBrian Gerst247	64	waitid			sys_waitid
260cab56d34SBrian Gerst248	common	add_key			sys_add_key
261cab56d34SBrian Gerst249	common	request_key		sys_request_key
262cab56d34SBrian Gerst250	common	keyctl			sys_keyctl
263cab56d34SBrian Gerst251	common	ioprio_set		sys_ioprio_set
264cab56d34SBrian Gerst252	common	ioprio_get		sys_ioprio_get
265cab56d34SBrian Gerst253	common	inotify_init		sys_inotify_init
266cab56d34SBrian Gerst254	common	inotify_add_watch	sys_inotify_add_watch
267cab56d34SBrian Gerst255	common	inotify_rm_watch	sys_inotify_rm_watch
268cab56d34SBrian Gerst256	common	migrate_pages		sys_migrate_pages
269cab56d34SBrian Gerst257	common	openat			sys_openat
270cab56d34SBrian Gerst258	common	mkdirat			sys_mkdirat
271cab56d34SBrian Gerst259	common	mknodat			sys_mknodat
272cab56d34SBrian Gerst260	common	fchownat		sys_fchownat
273cab56d34SBrian Gerst261	common	futimesat		sys_futimesat
274cab56d34SBrian Gerst262	common	newfstatat		sys_newfstatat
275cab56d34SBrian Gerst263	common	unlinkat		sys_unlinkat
276cab56d34SBrian Gerst264	common	renameat		sys_renameat
277cab56d34SBrian Gerst265	common	linkat			sys_linkat
278cab56d34SBrian Gerst266	common	symlinkat		sys_symlinkat
279cab56d34SBrian Gerst267	common	readlinkat		sys_readlinkat
280cab56d34SBrian Gerst268	common	fchmodat		sys_fchmodat
281cab56d34SBrian Gerst269	common	faccessat		sys_faccessat
282cab56d34SBrian Gerst270	common	pselect6		sys_pselect6
283cab56d34SBrian Gerst271	common	ppoll			sys_ppoll
284cab56d34SBrian Gerst272	common	unshare			sys_unshare
285cab56d34SBrian Gerst273	64	set_robust_list		sys_set_robust_list
286cab56d34SBrian Gerst274	64	get_robust_list		sys_get_robust_list
287cab56d34SBrian Gerst275	common	splice			sys_splice
288cab56d34SBrian Gerst276	common	tee			sys_tee
289cab56d34SBrian Gerst277	common	sync_file_range		sys_sync_file_range
290cab56d34SBrian Gerst278	64	vmsplice		sys_vmsplice
291cab56d34SBrian Gerst279	64	move_pages		sys_move_pages
292cab56d34SBrian Gerst280	common	utimensat		sys_utimensat
293cab56d34SBrian Gerst281	common	epoll_pwait		sys_epoll_pwait
294cab56d34SBrian Gerst282	common	signalfd		sys_signalfd
295cab56d34SBrian Gerst283	common	timerfd_create		sys_timerfd_create
296cab56d34SBrian Gerst284	common	eventfd			sys_eventfd
297cab56d34SBrian Gerst285	common	fallocate		sys_fallocate
298cab56d34SBrian Gerst286	common	timerfd_settime		sys_timerfd_settime
299cab56d34SBrian Gerst287	common	timerfd_gettime		sys_timerfd_gettime
300cab56d34SBrian Gerst288	common	accept4			sys_accept4
301cab56d34SBrian Gerst289	common	signalfd4		sys_signalfd4
302cab56d34SBrian Gerst290	common	eventfd2		sys_eventfd2
303cab56d34SBrian Gerst291	common	epoll_create1		sys_epoll_create1
304cab56d34SBrian Gerst292	common	dup3			sys_dup3
305cab56d34SBrian Gerst293	common	pipe2			sys_pipe2
306cab56d34SBrian Gerst294	common	inotify_init1		sys_inotify_init1
307cab56d34SBrian Gerst295	64	preadv			sys_preadv
308cab56d34SBrian Gerst296	64	pwritev			sys_pwritev
309cab56d34SBrian Gerst297	64	rt_tgsigqueueinfo	sys_rt_tgsigqueueinfo
310cab56d34SBrian Gerst298	common	perf_event_open		sys_perf_event_open
311cab56d34SBrian Gerst299	64	recvmmsg		sys_recvmmsg
312cab56d34SBrian Gerst300	common	fanotify_init		sys_fanotify_init
313cab56d34SBrian Gerst301	common	fanotify_mark		sys_fanotify_mark
314cab56d34SBrian Gerst302	common	prlimit64		sys_prlimit64
315cab56d34SBrian Gerst303	common	name_to_handle_at	sys_name_to_handle_at
316cab56d34SBrian Gerst304	common	open_by_handle_at	sys_open_by_handle_at
317cab56d34SBrian Gerst305	common	clock_adjtime		sys_clock_adjtime
318cab56d34SBrian Gerst306	common	syncfs			sys_syncfs
319cab56d34SBrian Gerst307	64	sendmmsg		sys_sendmmsg
320cab56d34SBrian Gerst308	common	setns			sys_setns
321cab56d34SBrian Gerst309	common	getcpu			sys_getcpu
322cab56d34SBrian Gerst310	64	process_vm_readv	sys_process_vm_readv
323cab56d34SBrian Gerst311	64	process_vm_writev	sys_process_vm_writev
324cab56d34SBrian Gerst312	common	kcmp			sys_kcmp
325cab56d34SBrian Gerst313	common	finit_module		sys_finit_module
326cab56d34SBrian Gerst314	common	sched_setattr		sys_sched_setattr
327cab56d34SBrian Gerst315	common	sched_getattr		sys_sched_getattr
328cab56d34SBrian Gerst316	common	renameat2		sys_renameat2
329cab56d34SBrian Gerst317	common	seccomp			sys_seccomp
330cab56d34SBrian Gerst318	common	getrandom		sys_getrandom
331cab56d34SBrian Gerst319	common	memfd_create		sys_memfd_create
332cab56d34SBrian Gerst320	common	kexec_file_load		sys_kexec_file_load
333cab56d34SBrian Gerst321	common	bpf			sys_bpf
334cab56d34SBrian Gerst322	64	execveat		sys_execveat
335cab56d34SBrian Gerst323	common	userfaultfd		sys_userfaultfd
336cab56d34SBrian Gerst324	common	membarrier		sys_membarrier
337cab56d34SBrian Gerst325	common	mlock2			sys_mlock2
338cab56d34SBrian Gerst326	common	copy_file_range		sys_copy_file_range
339cab56d34SBrian Gerst327	64	preadv2			sys_preadv2
340cab56d34SBrian Gerst328	64	pwritev2		sys_pwritev2
341cab56d34SBrian Gerst329	common	pkey_mprotect		sys_pkey_mprotect
342cab56d34SBrian Gerst330	common	pkey_alloc		sys_pkey_alloc
343cab56d34SBrian Gerst331	common	pkey_free		sys_pkey_free
344cab56d34SBrian Gerst332	common	statx			sys_statx
345cab56d34SBrian Gerst333	common	io_pgetevents		sys_io_pgetevents
346cab56d34SBrian Gerst334	common	rseq			sys_rseq
347*54233a42SArnd Bergmann335	common	uretprobe		sys_uretprobe
3480d6040d4SArnd Bergmann# don't use numbers 387 through 423, add new calls after the last
3490d6040d4SArnd Bergmann# 'common' entry
350cab56d34SBrian Gerst424	common	pidfd_send_signal	sys_pidfd_send_signal
351cab56d34SBrian Gerst425	common	io_uring_setup		sys_io_uring_setup
352cab56d34SBrian Gerst426	common	io_uring_enter		sys_io_uring_enter
353cab56d34SBrian Gerst427	common	io_uring_register	sys_io_uring_register
354cab56d34SBrian Gerst428	common	open_tree		sys_open_tree
355cab56d34SBrian Gerst429	common	move_mount		sys_move_mount
356cab56d34SBrian Gerst430	common	fsopen			sys_fsopen
357cab56d34SBrian Gerst431	common	fsconfig		sys_fsconfig
358cab56d34SBrian Gerst432	common	fsmount			sys_fsmount
359cab56d34SBrian Gerst433	common	fspick			sys_fspick
360cab56d34SBrian Gerst434	common	pidfd_open		sys_pidfd_open
361cab56d34SBrian Gerst435	common	clone3			sys_clone3
3629b4feb63SChristian Brauner436	common	close_range		sys_close_range
363cab56d34SBrian Gerst437	common	openat2			sys_openat2
364cab56d34SBrian Gerst438	common	pidfd_getfd		sys_pidfd_getfd
365c8ffd8bcSMiklos Szeredi439	common	faccessat2		sys_faccessat2
366ecb8ac8bSMinchan Kim440	common	process_madvise		sys_process_madvise
367b0a0c261SWillem de Bruijn441	common	epoll_pwait2		sys_epoll_pwait2
3682a186721SChristian Brauner442	common	mount_setattr		sys_mount_setattr
36965ffb3d6SJan Kara443	common	quotactl_fd		sys_quotactl_fd
370a49f4f81SMickaël Salaün444	common	landlock_create_ruleset	sys_landlock_create_ruleset
371a49f4f81SMickaël Salaün445	common	landlock_add_rule	sys_landlock_add_rule
372a49f4f81SMickaël Salaün446	common	landlock_restrict_self	sys_landlock_restrict_self
3737bb7f2acSMike Rapoport447	common	memfd_secret		sys_memfd_secret
374dce49103SSuren Baghdasaryan448	common	process_mrelease	sys_process_mrelease
375039c0ec9SAndré Almeida449	common	futex_waitv		sys_futex_waitv
37621b084fdSAneesh Kumar K.V450	common	set_mempolicy_home_node	sys_set_mempolicy_home_node
377cf264e13SNhat Pham451	common	cachestat		sys_cachestat
37878252debSPalmer Dabbelt452	common	fchmodat2		sys_fchmodat2
3792883f01eSH.J. Lu453	common	map_shadow_stack	sys_map_shadow_stack
3809f6c532fSpeterz@infradead.org454	common	futex_wake		sys_futex_wake
381cb8c4312Speterz@infradead.org455	common	futex_wait		sys_futex_wait
3820f4b5f97Speterz@infradead.org456	common	futex_requeue		sys_futex_requeue
383d8b0f546SMiklos Szeredi457	common	statmount		sys_statmount
384d8b0f546SMiklos Szeredi458	common	listmount		sys_listmount
385063a7ce3SLinus Torvalds459	common	lsm_get_self_attr	sys_lsm_get_self_attr
386063a7ce3SLinus Torvalds460	common	lsm_set_self_attr	sys_lsm_set_self_attr
387063a7ce3SLinus Torvalds461	common	lsm_list_modules	sys_lsm_list_modules
388ff388fe5SJeff Xu462 	common  mseal			sys_mseal
3891f57d5d8SIngo Molnar
3901f57d5d8SIngo Molnar#
391c3b484c4SAndy Lutomirski# Due to a historical design error, certain syscalls are numbered differently
392c3b484c4SAndy Lutomirski# in x32 as compared to native x86_64.  These syscalls have numbers 512-547.
393c3b484c4SAndy Lutomirski# Do not add new syscalls to this range.  Numbers 548 and above are available
394c3b484c4SAndy Lutomirski# for non-x32 use.
3951f57d5d8SIngo Molnar#
396cab56d34SBrian Gerst512	x32	rt_sigaction		compat_sys_rt_sigaction
397cab56d34SBrian Gerst513	x32	rt_sigreturn		compat_sys_x32_rt_sigreturn
398cab56d34SBrian Gerst514	x32	ioctl			compat_sys_ioctl
3995f764d62SChristoph Hellwig515	x32	readv			sys_readv
4005f764d62SChristoph Hellwig516	x32	writev			sys_writev
401cab56d34SBrian Gerst517	x32	recvfrom		compat_sys_recvfrom
402cab56d34SBrian Gerst518	x32	sendmsg			compat_sys_sendmsg
403cab56d34SBrian Gerst519	x32	recvmsg			compat_sys_recvmsg
404cab56d34SBrian Gerst520	x32	execve			compat_sys_execve
405cab56d34SBrian Gerst521	x32	ptrace			compat_sys_ptrace
406cab56d34SBrian Gerst522	x32	rt_sigpending		compat_sys_rt_sigpending
407cab56d34SBrian Gerst523	x32	rt_sigtimedwait		compat_sys_rt_sigtimedwait_time64
408cab56d34SBrian Gerst524	x32	rt_sigqueueinfo		compat_sys_rt_sigqueueinfo
409cab56d34SBrian Gerst525	x32	sigaltstack		compat_sys_sigaltstack
410cab56d34SBrian Gerst526	x32	timer_create		compat_sys_timer_create
411cab56d34SBrian Gerst527	x32	mq_notify		compat_sys_mq_notify
412cab56d34SBrian Gerst528	x32	kexec_load		compat_sys_kexec_load
413cab56d34SBrian Gerst529	x32	waitid			compat_sys_waitid
414cab56d34SBrian Gerst530	x32	set_robust_list		compat_sys_set_robust_list
415cab56d34SBrian Gerst531	x32	get_robust_list		compat_sys_get_robust_list
416598b3cecSChristoph Hellwig532	x32	vmsplice		sys_vmsplice
41759ab844eSArnd Bergmann533	x32	move_pages		sys_move_pages
418cab56d34SBrian Gerst534	x32	preadv			compat_sys_preadv64
419cab56d34SBrian Gerst535	x32	pwritev			compat_sys_pwritev64
420cab56d34SBrian Gerst536	x32	rt_tgsigqueueinfo	compat_sys_rt_tgsigqueueinfo
421cab56d34SBrian Gerst537	x32	recvmmsg		compat_sys_recvmmsg_time64
422cab56d34SBrian Gerst538	x32	sendmmsg		compat_sys_sendmmsg
423c3973b40SChristoph Hellwig539	x32	process_vm_readv	sys_process_vm_readv
424c3973b40SChristoph Hellwig540	x32	process_vm_writev	sys_process_vm_writev
42555db9c0eSChristoph Hellwig541	x32	setsockopt		sys_setsockopt
42655db9c0eSChristoph Hellwig542	x32	getsockopt		sys_getsockopt
427cab56d34SBrian Gerst543	x32	io_setup		compat_sys_io_setup
428cab56d34SBrian Gerst544	x32	io_submit		compat_sys_io_submit
429cab56d34SBrian Gerst545	x32	execveat		compat_sys_execveat
430cab56d34SBrian Gerst546	x32	preadv2			compat_sys_preadv64v2
431cab56d34SBrian Gerst547	x32	pwritev2		compat_sys_pwritev64v2
432c3b484c4SAndy Lutomirski# This is the end of the legacy x32 range.  Numbers 548 and above are
433c3b484c4SAndy Lutomirski# not special and are not to be used for x32-specific syscalls.
434