1#
2# 64-bit system call numbers and entry vectors
3#
4# The format is:
5# <number> <abi> <name> <entry point>
6#
7# The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls
8#
9# The abi is "common", "64" or "x32" for this file.
10#
110	common	read			__x64_sys_read
121	common	write			__x64_sys_write
132	common	open			__x64_sys_open
143	common	close			__x64_sys_close
154	common	stat			__x64_sys_newstat
165	common	fstat			__x64_sys_newfstat
176	common	lstat			__x64_sys_newlstat
187	common	poll			__x64_sys_poll
198	common	lseek			__x64_sys_lseek
209	common	mmap			__x64_sys_mmap
2110	common	mprotect		__x64_sys_mprotect
2211	common	munmap			__x64_sys_munmap
2312	common	brk			__x64_sys_brk
2413	64	rt_sigaction		__x64_sys_rt_sigaction
2514	common	rt_sigprocmask		__x64_sys_rt_sigprocmask
2615	64	rt_sigreturn		__x64_sys_rt_sigreturn/ptregs
2716	64	ioctl			__x64_sys_ioctl
2817	common	pread64			__x64_sys_pread64
2918	common	pwrite64		__x64_sys_pwrite64
3019	64	readv			__x64_sys_readv
3120	64	writev			__x64_sys_writev
3221	common	access			__x64_sys_access
3322	common	pipe			__x64_sys_pipe
3423	common	select			__x64_sys_select
3524	common	sched_yield		__x64_sys_sched_yield
3625	common	mremap			__x64_sys_mremap
3726	common	msync			__x64_sys_msync
3827	common	mincore			__x64_sys_mincore
3928	common	madvise			__x64_sys_madvise
4029	common	shmget			__x64_sys_shmget
4130	common	shmat			__x64_sys_shmat
4231	common	shmctl			__x64_sys_shmctl
4332	common	dup			__x64_sys_dup
4433	common	dup2			__x64_sys_dup2
4534	common	pause			__x64_sys_pause
4635	common	nanosleep		__x64_sys_nanosleep
4736	common	getitimer		__x64_sys_getitimer
4837	common	alarm			__x64_sys_alarm
4938	common	setitimer		__x64_sys_setitimer
5039	common	getpid			__x64_sys_getpid
5140	common	sendfile		__x64_sys_sendfile64
5241	common	socket			__x64_sys_socket
5342	common	connect			__x64_sys_connect
5443	common	accept			__x64_sys_accept
5544	common	sendto			__x64_sys_sendto
5645	64	recvfrom		__x64_sys_recvfrom
5746	64	sendmsg			__x64_sys_sendmsg
5847	64	recvmsg			__x64_sys_recvmsg
5948	common	shutdown		__x64_sys_shutdown
6049	common	bind			__x64_sys_bind
6150	common	listen			__x64_sys_listen
6251	common	getsockname		__x64_sys_getsockname
6352	common	getpeername		__x64_sys_getpeername
6453	common	socketpair		__x64_sys_socketpair
6554	64	setsockopt		__x64_sys_setsockopt
6655	64	getsockopt		__x64_sys_getsockopt
6756	common	clone			__x64_sys_clone/ptregs
6857	common	fork			__x64_sys_fork/ptregs
6958	common	vfork			__x64_sys_vfork/ptregs
7059	64	execve			__x64_sys_execve/ptregs
7160	common	exit			__x64_sys_exit
7261	common	wait4			__x64_sys_wait4
7362	common	kill			__x64_sys_kill
7463	common	uname			__x64_sys_newuname
7564	common	semget			__x64_sys_semget
7665	common	semop			__x64_sys_semop
7766	common	semctl			__x64_sys_semctl
7867	common	shmdt			__x64_sys_shmdt
7968	common	msgget			__x64_sys_msgget
8069	common	msgsnd			__x64_sys_msgsnd
8170	common	msgrcv			__x64_sys_msgrcv
8271	common	msgctl			__x64_sys_msgctl
8372	common	fcntl			__x64_sys_fcntl
8473	common	flock			__x64_sys_flock
8574	common	fsync			__x64_sys_fsync
8675	common	fdatasync		__x64_sys_fdatasync
8776	common	truncate		__x64_sys_truncate
8877	common	ftruncate		__x64_sys_ftruncate
8978	common	getdents		__x64_sys_getdents
9079	common	getcwd			__x64_sys_getcwd
9180	common	chdir			__x64_sys_chdir
9281	common	fchdir			__x64_sys_fchdir
9382	common	rename			__x64_sys_rename
9483	common	mkdir			__x64_sys_mkdir
9584	common	rmdir			__x64_sys_rmdir
9685	common	creat			__x64_sys_creat
9786	common	link			__x64_sys_link
9887	common	unlink			__x64_sys_unlink
9988	common	symlink			__x64_sys_symlink
10089	common	readlink		__x64_sys_readlink
10190	common	chmod			__x64_sys_chmod
10291	common	fchmod			__x64_sys_fchmod
10392	common	chown			__x64_sys_chown
10493	common	fchown			__x64_sys_fchown
10594	common	lchown			__x64_sys_lchown
10695	common	umask			__x64_sys_umask
10796	common	gettimeofday		__x64_sys_gettimeofday
10897	common	getrlimit		__x64_sys_getrlimit
10998	common	getrusage		__x64_sys_getrusage
11099	common	sysinfo			__x64_sys_sysinfo
111100	common	times			__x64_sys_times
112101	64	ptrace			__x64_sys_ptrace
113102	common	getuid			__x64_sys_getuid
114103	common	syslog			__x64_sys_syslog
115104	common	getgid			__x64_sys_getgid
116105	common	setuid			__x64_sys_setuid
117106	common	setgid			__x64_sys_setgid
118107	common	geteuid			__x64_sys_geteuid
119108	common	getegid			__x64_sys_getegid
120109	common	setpgid			__x64_sys_setpgid
121110	common	getppid			__x64_sys_getppid
122111	common	getpgrp			__x64_sys_getpgrp
123112	common	setsid			__x64_sys_setsid
124113	common	setreuid		__x64_sys_setreuid
125114	common	setregid		__x64_sys_setregid
126115	common	getgroups		__x64_sys_getgroups
127116	common	setgroups		__x64_sys_setgroups
128117	common	setresuid		__x64_sys_setresuid
129118	common	getresuid		__x64_sys_getresuid
130119	common	setresgid		__x64_sys_setresgid
131120	common	getresgid		__x64_sys_getresgid
132121	common	getpgid			__x64_sys_getpgid
133122	common	setfsuid		__x64_sys_setfsuid
134123	common	setfsgid		__x64_sys_setfsgid
135124	common	getsid			__x64_sys_getsid
136125	common	capget			__x64_sys_capget
137126	common	capset			__x64_sys_capset
138127	64	rt_sigpending		__x64_sys_rt_sigpending
139128	64	rt_sigtimedwait		__x64_sys_rt_sigtimedwait
140129	64	rt_sigqueueinfo		__x64_sys_rt_sigqueueinfo
141130	common	rt_sigsuspend		__x64_sys_rt_sigsuspend
142131	64	sigaltstack		__x64_sys_sigaltstack
143132	common	utime			__x64_sys_utime
144133	common	mknod			__x64_sys_mknod
145134	64	uselib
146135	common	personality		__x64_sys_personality
147136	common	ustat			__x64_sys_ustat
148137	common	statfs			__x64_sys_statfs
149138	common	fstatfs			__x64_sys_fstatfs
150139	common	sysfs			__x64_sys_sysfs
151140	common	getpriority		__x64_sys_getpriority
152141	common	setpriority		__x64_sys_setpriority
153142	common	sched_setparam		__x64_sys_sched_setparam
154143	common	sched_getparam		__x64_sys_sched_getparam
155144	common	sched_setscheduler	__x64_sys_sched_setscheduler
156145	common	sched_getscheduler	__x64_sys_sched_getscheduler
157146	common	sched_get_priority_max	__x64_sys_sched_get_priority_max
158147	common	sched_get_priority_min	__x64_sys_sched_get_priority_min
159148	common	sched_rr_get_interval	__x64_sys_sched_rr_get_interval
160149	common	mlock			__x64_sys_mlock
161150	common	munlock			__x64_sys_munlock
162151	common	mlockall		__x64_sys_mlockall
163152	common	munlockall		__x64_sys_munlockall
164153	common	vhangup			__x64_sys_vhangup
165154	common	modify_ldt		__x64_sys_modify_ldt
166155	common	pivot_root		__x64_sys_pivot_root
167156	64	_sysctl			__x64_sys_sysctl
168157	common	prctl			__x64_sys_prctl
169158	common	arch_prctl		__x64_sys_arch_prctl
170159	common	adjtimex		__x64_sys_adjtimex
171160	common	setrlimit		__x64_sys_setrlimit
172161	common	chroot			__x64_sys_chroot
173162	common	sync			__x64_sys_sync
174163	common	acct			__x64_sys_acct
175164	common	settimeofday		__x64_sys_settimeofday
176165	common	mount			__x64_sys_mount
177166	common	umount2			__x64_sys_umount
178167	common	swapon			__x64_sys_swapon
179168	common	swapoff			__x64_sys_swapoff
180169	common	reboot			__x64_sys_reboot
181170	common	sethostname		__x64_sys_sethostname
182171	common	setdomainname		__x64_sys_setdomainname
183172	common	iopl			__x64_sys_iopl/ptregs
184173	common	ioperm			__x64_sys_ioperm
185174	64	create_module
186175	common	init_module		__x64_sys_init_module
187176	common	delete_module		__x64_sys_delete_module
188177	64	get_kernel_syms
189178	64	query_module
190179	common	quotactl		__x64_sys_quotactl
191180	64	nfsservctl
192181	common	getpmsg
193182	common	putpmsg
194183	common	afs_syscall
195184	common	tuxcall
196185	common	security
197186	common	gettid			__x64_sys_gettid
198187	common	readahead		__x64_sys_readahead
199188	common	setxattr		__x64_sys_setxattr
200189	common	lsetxattr		__x64_sys_lsetxattr
201190	common	fsetxattr		__x64_sys_fsetxattr
202191	common	getxattr		__x64_sys_getxattr
203192	common	lgetxattr		__x64_sys_lgetxattr
204193	common	fgetxattr		__x64_sys_fgetxattr
205194	common	listxattr		__x64_sys_listxattr
206195	common	llistxattr		__x64_sys_llistxattr
207196	common	flistxattr		__x64_sys_flistxattr
208197	common	removexattr		__x64_sys_removexattr
209198	common	lremovexattr		__x64_sys_lremovexattr
210199	common	fremovexattr		__x64_sys_fremovexattr
211200	common	tkill			__x64_sys_tkill
212201	common	time			__x64_sys_time
213202	common	futex			__x64_sys_futex
214203	common	sched_setaffinity	__x64_sys_sched_setaffinity
215204	common	sched_getaffinity	__x64_sys_sched_getaffinity
216205	64	set_thread_area
217206	64	io_setup		__x64_sys_io_setup
218207	common	io_destroy		__x64_sys_io_destroy
219208	common	io_getevents		__x64_sys_io_getevents
220209	64	io_submit		__x64_sys_io_submit
221210	common	io_cancel		__x64_sys_io_cancel
222211	64	get_thread_area
223212	common	lookup_dcookie		__x64_sys_lookup_dcookie
224213	common	epoll_create		__x64_sys_epoll_create
225214	64	epoll_ctl_old
226215	64	epoll_wait_old
227216	common	remap_file_pages	__x64_sys_remap_file_pages
228217	common	getdents64		__x64_sys_getdents64
229218	common	set_tid_address		__x64_sys_set_tid_address
230219	common	restart_syscall		__x64_sys_restart_syscall
231220	common	semtimedop		__x64_sys_semtimedop
232221	common	fadvise64		__x64_sys_fadvise64
233222	64	timer_create		__x64_sys_timer_create
234223	common	timer_settime		__x64_sys_timer_settime
235224	common	timer_gettime		__x64_sys_timer_gettime
236225	common	timer_getoverrun	__x64_sys_timer_getoverrun
237226	common	timer_delete		__x64_sys_timer_delete
238227	common	clock_settime		__x64_sys_clock_settime
239228	common	clock_gettime		__x64_sys_clock_gettime
240229	common	clock_getres		__x64_sys_clock_getres
241230	common	clock_nanosleep		__x64_sys_clock_nanosleep
242231	common	exit_group		__x64_sys_exit_group
243232	common	epoll_wait		__x64_sys_epoll_wait
244233	common	epoll_ctl		__x64_sys_epoll_ctl
245234	common	tgkill			__x64_sys_tgkill
246235	common	utimes			__x64_sys_utimes
247236	64	vserver
248237	common	mbind			__x64_sys_mbind
249238	common	set_mempolicy		__x64_sys_set_mempolicy
250239	common	get_mempolicy		__x64_sys_get_mempolicy
251240	common	mq_open			__x64_sys_mq_open
252241	common	mq_unlink		__x64_sys_mq_unlink
253242	common	mq_timedsend		__x64_sys_mq_timedsend
254243	common	mq_timedreceive		__x64_sys_mq_timedreceive
255244	64	mq_notify		__x64_sys_mq_notify
256245	common	mq_getsetattr		__x64_sys_mq_getsetattr
257246	64	kexec_load		__x64_sys_kexec_load
258247	64	waitid			__x64_sys_waitid
259248	common	add_key			__x64_sys_add_key
260249	common	request_key		__x64_sys_request_key
261250	common	keyctl			__x64_sys_keyctl
262251	common	ioprio_set		__x64_sys_ioprio_set
263252	common	ioprio_get		__x64_sys_ioprio_get
264253	common	inotify_init		__x64_sys_inotify_init
265254	common	inotify_add_watch	__x64_sys_inotify_add_watch
266255	common	inotify_rm_watch	__x64_sys_inotify_rm_watch
267256	common	migrate_pages		__x64_sys_migrate_pages
268257	common	openat			__x64_sys_openat
269258	common	mkdirat			__x64_sys_mkdirat
270259	common	mknodat			__x64_sys_mknodat
271260	common	fchownat		__x64_sys_fchownat
272261	common	futimesat		__x64_sys_futimesat
273262	common	newfstatat		__x64_sys_newfstatat
274263	common	unlinkat		__x64_sys_unlinkat
275264	common	renameat		__x64_sys_renameat
276265	common	linkat			__x64_sys_linkat
277266	common	symlinkat		__x64_sys_symlinkat
278267	common	readlinkat		__x64_sys_readlinkat
279268	common	fchmodat		__x64_sys_fchmodat
280269	common	faccessat		__x64_sys_faccessat
281270	common	pselect6		__x64_sys_pselect6
282271	common	ppoll			__x64_sys_ppoll
283272	common	unshare			__x64_sys_unshare
284273	64	set_robust_list		__x64_sys_set_robust_list
285274	64	get_robust_list		__x64_sys_get_robust_list
286275	common	splice			__x64_sys_splice
287276	common	tee			__x64_sys_tee
288277	common	sync_file_range		__x64_sys_sync_file_range
289278	64	vmsplice		__x64_sys_vmsplice
290279	64	move_pages		__x64_sys_move_pages
291280	common	utimensat		__x64_sys_utimensat
292281	common	epoll_pwait		__x64_sys_epoll_pwait
293282	common	signalfd		__x64_sys_signalfd
294283	common	timerfd_create		__x64_sys_timerfd_create
295284	common	eventfd			__x64_sys_eventfd
296285	common	fallocate		__x64_sys_fallocate
297286	common	timerfd_settime		__x64_sys_timerfd_settime
298287	common	timerfd_gettime		__x64_sys_timerfd_gettime
299288	common	accept4			__x64_sys_accept4
300289	common	signalfd4		__x64_sys_signalfd4
301290	common	eventfd2		__x64_sys_eventfd2
302291	common	epoll_create1		__x64_sys_epoll_create1
303292	common	dup3			__x64_sys_dup3
304293	common	pipe2			__x64_sys_pipe2
305294	common	inotify_init1		__x64_sys_inotify_init1
306295	64	preadv			__x64_sys_preadv
307296	64	pwritev			__x64_sys_pwritev
308297	64	rt_tgsigqueueinfo	__x64_sys_rt_tgsigqueueinfo
309298	common	perf_event_open		__x64_sys_perf_event_open
310299	64	recvmmsg		__x64_sys_recvmmsg
311300	common	fanotify_init		__x64_sys_fanotify_init
312301	common	fanotify_mark		__x64_sys_fanotify_mark
313302	common	prlimit64		__x64_sys_prlimit64
314303	common	name_to_handle_at	__x64_sys_name_to_handle_at
315304	common	open_by_handle_at	__x64_sys_open_by_handle_at
316305	common	clock_adjtime		__x64_sys_clock_adjtime
317306	common	syncfs			__x64_sys_syncfs
318307	64	sendmmsg		__x64_sys_sendmmsg
319308	common	setns			__x64_sys_setns
320309	common	getcpu			__x64_sys_getcpu
321310	64	process_vm_readv	__x64_sys_process_vm_readv
322311	64	process_vm_writev	__x64_sys_process_vm_writev
323312	common	kcmp			__x64_sys_kcmp
324313	common	finit_module		__x64_sys_finit_module
325314	common	sched_setattr		__x64_sys_sched_setattr
326315	common	sched_getattr		__x64_sys_sched_getattr
327316	common	renameat2		__x64_sys_renameat2
328317	common	seccomp			__x64_sys_seccomp
329318	common	getrandom		__x64_sys_getrandom
330319	common	memfd_create		__x64_sys_memfd_create
331320	common	kexec_file_load		__x64_sys_kexec_file_load
332321	common	bpf			__x64_sys_bpf
333322	64	execveat		__x64_sys_execveat/ptregs
334323	common	userfaultfd		__x64_sys_userfaultfd
335324	common	membarrier		__x64_sys_membarrier
336325	common	mlock2			__x64_sys_mlock2
337326	common	copy_file_range		__x64_sys_copy_file_range
338327	64	preadv2			__x64_sys_preadv2
339328	64	pwritev2		__x64_sys_pwritev2
340329	common	pkey_mprotect		__x64_sys_pkey_mprotect
341330	common	pkey_alloc		__x64_sys_pkey_alloc
342331	common	pkey_free		__x64_sys_pkey_free
343332	common	statx			__x64_sys_statx
344
345#
346# x32-specific system call numbers start at 512 to avoid cache impact
347# for native 64-bit operation. The __x32_compat_sys stubs are created
348# on-the-fly for compat_sys_*() compatibility system calls if X86_X32
349# is defined.
350#
351512	x32	rt_sigaction		__x32_compat_sys_rt_sigaction
352513	x32	rt_sigreturn		sys32_x32_rt_sigreturn
353514	x32	ioctl			__x32_compat_sys_ioctl
354515	x32	readv			__x32_compat_sys_readv
355516	x32	writev			__x32_compat_sys_writev
356517	x32	recvfrom		__x32_compat_sys_recvfrom
357518	x32	sendmsg			__x32_compat_sys_sendmsg
358519	x32	recvmsg			__x32_compat_sys_recvmsg
359520	x32	execve			__x32_compat_sys_execve/ptregs
360521	x32	ptrace			__x32_compat_sys_ptrace
361522	x32	rt_sigpending		__x32_compat_sys_rt_sigpending
362523	x32	rt_sigtimedwait		__x32_compat_sys_rt_sigtimedwait
363524	x32	rt_sigqueueinfo		__x32_compat_sys_rt_sigqueueinfo
364525	x32	sigaltstack		__x32_compat_sys_sigaltstack
365526	x32	timer_create		__x32_compat_sys_timer_create
366527	x32	mq_notify		__x32_compat_sys_mq_notify
367528	x32	kexec_load		__x32_compat_sys_kexec_load
368529	x32	waitid			__x32_compat_sys_waitid
369530	x32	set_robust_list		__x32_compat_sys_set_robust_list
370531	x32	get_robust_list		__x32_compat_sys_get_robust_list
371532	x32	vmsplice		__x32_compat_sys_vmsplice
372533	x32	move_pages		__x32_compat_sys_move_pages
373534	x32	preadv			__x32_compat_sys_preadv64
374535	x32	pwritev			__x32_compat_sys_pwritev64
375536	x32	rt_tgsigqueueinfo	__x32_compat_sys_rt_tgsigqueueinfo
376537	x32	recvmmsg		__x32_compat_sys_recvmmsg
377538	x32	sendmmsg		__x32_compat_sys_sendmmsg
378539	x32	process_vm_readv	__x32_compat_sys_process_vm_readv
379540	x32	process_vm_writev	__x32_compat_sys_process_vm_writev
380541	x32	setsockopt		__x32_compat_sys_setsockopt
381542	x32	getsockopt		__x32_compat_sys_getsockopt
382543	x32	io_setup		__x32_compat_sys_io_setup
383544	x32	io_submit		__x32_compat_sys_io_submit
384545	x32	execveat		__x32_compat_sys_execveat/ptregs
385546	x32	preadv2			__x32_compat_sys_preadv64v2
386547	x32	pwritev2		__x32_compat_sys_pwritev64v2
387