xref: /linux-6.15/scripts/syscall.tbl (revision c4a16820)
14fe53bf2SArnd Bergmann# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
24fe53bf2SArnd Bergmann#
34fe53bf2SArnd Bergmann# This file contains the system call numbers for all of the
44fe53bf2SArnd Bergmann# more recently added architectures.
54fe53bf2SArnd Bergmann#
64fe53bf2SArnd Bergmann# As a basic principle, no duplication of functionality
74fe53bf2SArnd Bergmann# should be added, e.g. we don't use lseek when llseek
84fe53bf2SArnd Bergmann# is present. New architectures should use this file
94fe53bf2SArnd Bergmann# and implement the less feature-full calls in user space.
104fe53bf2SArnd Bergmann#
114fe53bf2SArnd Bergmann0	common	io_setup			sys_io_setup			compat_sys_io_setup
124fe53bf2SArnd Bergmann1	common	io_destroy			sys_io_destroy
134fe53bf2SArnd Bergmann2	common	io_submit			sys_io_submit			compat_sys_io_submit
144fe53bf2SArnd Bergmann3	common	io_cancel			sys_io_cancel
154fe53bf2SArnd Bergmann4	time32	io_getevents			sys_io_getevents_time32
164fe53bf2SArnd Bergmann4	64	io_getevents			sys_io_getevents
174fe53bf2SArnd Bergmann5	common	setxattr			sys_setxattr
184fe53bf2SArnd Bergmann6	common	lsetxattr			sys_lsetxattr
194fe53bf2SArnd Bergmann7	common	fsetxattr			sys_fsetxattr
204fe53bf2SArnd Bergmann8	common	getxattr			sys_getxattr
214fe53bf2SArnd Bergmann9	common	lgetxattr			sys_lgetxattr
224fe53bf2SArnd Bergmann10	common	fgetxattr			sys_fgetxattr
234fe53bf2SArnd Bergmann11	common	listxattr			sys_listxattr
244fe53bf2SArnd Bergmann12	common	llistxattr			sys_llistxattr
254fe53bf2SArnd Bergmann13	common	flistxattr			sys_flistxattr
264fe53bf2SArnd Bergmann14	common	removexattr			sys_removexattr
274fe53bf2SArnd Bergmann15	common	lremovexattr			sys_lremovexattr
284fe53bf2SArnd Bergmann16	common	fremovexattr			sys_fremovexattr
294fe53bf2SArnd Bergmann17	common	getcwd				sys_getcwd
304fe53bf2SArnd Bergmann18	common	lookup_dcookie			sys_ni_syscall
314fe53bf2SArnd Bergmann19	common	eventfd2			sys_eventfd2
324fe53bf2SArnd Bergmann20	common	epoll_create1			sys_epoll_create1
334fe53bf2SArnd Bergmann21	common	epoll_ctl			sys_epoll_ctl
344fe53bf2SArnd Bergmann22	common	epoll_pwait			sys_epoll_pwait			compat_sys_epoll_pwait
354fe53bf2SArnd Bergmann23	common	dup				sys_dup
364fe53bf2SArnd Bergmann24	common	dup3				sys_dup3
374fe53bf2SArnd Bergmann25	32	fcntl64				sys_fcntl64			compat_sys_fcntl64
384fe53bf2SArnd Bergmann25	64	fcntl				sys_fcntl
394fe53bf2SArnd Bergmann26	common	inotify_init1			sys_inotify_init1
404fe53bf2SArnd Bergmann27	common	inotify_add_watch		sys_inotify_add_watch
414fe53bf2SArnd Bergmann28	common	inotify_rm_watch		sys_inotify_rm_watch
424fe53bf2SArnd Bergmann29	common	ioctl				sys_ioctl			compat_sys_ioctl
434fe53bf2SArnd Bergmann30	common	ioprio_set			sys_ioprio_set
444fe53bf2SArnd Bergmann31	common	ioprio_get			sys_ioprio_get
454fe53bf2SArnd Bergmann32	common	flock				sys_flock
464fe53bf2SArnd Bergmann33	common	mknodat				sys_mknodat
474fe53bf2SArnd Bergmann34	common	mkdirat				sys_mkdirat
484fe53bf2SArnd Bergmann35	common	unlinkat			sys_unlinkat
494fe53bf2SArnd Bergmann36	common	symlinkat			sys_symlinkat
504fe53bf2SArnd Bergmann37	common	linkat				sys_linkat
514fe53bf2SArnd Bergmann# renameat is superseded with flags by renameat2
524fe53bf2SArnd Bergmann38	renameat renameat			sys_renameat
534fe53bf2SArnd Bergmann39	common	umount2				sys_umount
544fe53bf2SArnd Bergmann40	common	mount				sys_mount
554fe53bf2SArnd Bergmann41	common	pivot_root			sys_pivot_root
56b82c1d23SArnd Bergmann42	common	nfsservctl			sys_ni_syscall
574fe53bf2SArnd Bergmann43	32	statfs64			sys_statfs64			compat_sys_statfs64
584fe53bf2SArnd Bergmann43	64	statfs				sys_statfs
594fe53bf2SArnd Bergmann44	32	fstatfs64			sys_fstatfs64			compat_sys_fstatfs64
604fe53bf2SArnd Bergmann44	64	fstatfs				sys_fstatfs
614fe53bf2SArnd Bergmann45	32	truncate64			sys_truncate64			compat_sys_truncate64
624fe53bf2SArnd Bergmann45	64	truncate			sys_truncate
634fe53bf2SArnd Bergmann46	32	ftruncate64			sys_ftruncate64			compat_sys_ftruncate64
644fe53bf2SArnd Bergmann46	64	ftruncate			sys_ftruncate
654fe53bf2SArnd Bergmann47	common	fallocate			sys_fallocate			compat_sys_fallocate
664fe53bf2SArnd Bergmann48	common	faccessat			sys_faccessat
674fe53bf2SArnd Bergmann49	common	chdir				sys_chdir
684fe53bf2SArnd Bergmann50	common	fchdir				sys_fchdir
694fe53bf2SArnd Bergmann51	common	chroot				sys_chroot
704fe53bf2SArnd Bergmann52	common	fchmod				sys_fchmod
714fe53bf2SArnd Bergmann53	common	fchmodat			sys_fchmodat
724fe53bf2SArnd Bergmann54	common	fchownat			sys_fchownat
734fe53bf2SArnd Bergmann55	common	fchown				sys_fchown
744fe53bf2SArnd Bergmann56	common	openat				sys_openat
754fe53bf2SArnd Bergmann57	common	close				sys_close
764fe53bf2SArnd Bergmann58	common	vhangup				sys_vhangup
774fe53bf2SArnd Bergmann59	common	pipe2				sys_pipe2
784fe53bf2SArnd Bergmann60	common	quotactl			sys_quotactl
794fe53bf2SArnd Bergmann61	common	getdents64			sys_getdents64
804fe53bf2SArnd Bergmann62	32	llseek				sys_llseek
814fe53bf2SArnd Bergmann62	64	lseek				sys_lseek
824fe53bf2SArnd Bergmann63	common	read				sys_read
834fe53bf2SArnd Bergmann64	common	write				sys_write
844fe53bf2SArnd Bergmann65	common	readv				sys_readv			sys_readv
854fe53bf2SArnd Bergmann66	common	writev				sys_writev			sys_writev
864fe53bf2SArnd Bergmann67	common	pread64				sys_pread64			compat_sys_pread64
874fe53bf2SArnd Bergmann68	common	pwrite64			sys_pwrite64			compat_sys_pwrite64
884fe53bf2SArnd Bergmann69	common	preadv				sys_preadv			compat_sys_preadv
894fe53bf2SArnd Bergmann70	common	pwritev				sys_pwritev			compat_sys_pwritev
904fe53bf2SArnd Bergmann71	32	sendfile64			sys_sendfile64
914fe53bf2SArnd Bergmann71	64	sendfile			sys_sendfile64
924fe53bf2SArnd Bergmann72	time32	pselect6			sys_pselect6_time32		compat_sys_pselect6_time32
934fe53bf2SArnd Bergmann72	64	pselect6			sys_pselect6
944fe53bf2SArnd Bergmann73	time32	ppoll				sys_ppoll_time32		compat_sys_ppoll_time32
954fe53bf2SArnd Bergmann73	64	ppoll				sys_ppoll
964fe53bf2SArnd Bergmann74	common	signalfd4			sys_signalfd4			compat_sys_signalfd4
974fe53bf2SArnd Bergmann75	common	vmsplice			sys_vmsplice
984fe53bf2SArnd Bergmann76	common	splice				sys_splice
994fe53bf2SArnd Bergmann77	common	tee				sys_tee
1004fe53bf2SArnd Bergmann78	common	readlinkat			sys_readlinkat
1014fe53bf2SArnd Bergmann79	stat64	fstatat64			sys_fstatat64
102343416f0SArnd Bergmann79	64	newfstatat			sys_newfstatat
1034fe53bf2SArnd Bergmann80	stat64	fstat64				sys_fstat64
10426fef9d0SArnd Bergmann80	64	fstat				sys_newfstat
1054fe53bf2SArnd Bergmann81	common	sync				sys_sync
1064fe53bf2SArnd Bergmann82	common	fsync				sys_fsync
1074fe53bf2SArnd Bergmann83	common	fdatasync			sys_fdatasync
1084fe53bf2SArnd Bergmann84	common	sync_file_range			sys_sync_file_range		compat_sys_sync_file_range
1094fe53bf2SArnd Bergmann85	common	timerfd_create			sys_timerfd_create
1104fe53bf2SArnd Bergmann86	time32	timerfd_settime			sys_timerfd_settime32
1114fe53bf2SArnd Bergmann86	64	timerfd_settime			sys_timerfd_settime
1124fe53bf2SArnd Bergmann87	time32	timerfd_gettime			sys_timerfd_gettime32
1134fe53bf2SArnd Bergmann87	64	timerfd_gettime			sys_timerfd_gettime
1144fe53bf2SArnd Bergmann88	time32	utimensat			sys_utimensat_time32
1154fe53bf2SArnd Bergmann88	64	utimensat			sys_utimensat
1164fe53bf2SArnd Bergmann89	common	acct				sys_acct
1174fe53bf2SArnd Bergmann90	common	capget				sys_capget
1184fe53bf2SArnd Bergmann91	common	capset				sys_capset
1194fe53bf2SArnd Bergmann92	common	personality			sys_personality
1204fe53bf2SArnd Bergmann93	common	exit				sys_exit
1214fe53bf2SArnd Bergmann94	common	exit_group			sys_exit_group
1224fe53bf2SArnd Bergmann95	common	waitid				sys_waitid			compat_sys_waitid
1234fe53bf2SArnd Bergmann96	common	set_tid_address			sys_set_tid_address
1244fe53bf2SArnd Bergmann97	common	unshare				sys_unshare
1254fe53bf2SArnd Bergmann98	time32	futex				sys_futex_time32
1264fe53bf2SArnd Bergmann98	64	futex				sys_futex
1274fe53bf2SArnd Bergmann99	common	set_robust_list			sys_set_robust_list		compat_sys_set_robust_list
1284fe53bf2SArnd Bergmann100	common	get_robust_list			sys_get_robust_list		compat_sys_get_robust_list
1294fe53bf2SArnd Bergmann101	time32	nanosleep			sys_nanosleep_time32
1304fe53bf2SArnd Bergmann101	64	nanosleep			sys_nanosleep
1314fe53bf2SArnd Bergmann102	common	getitimer			sys_getitimer			compat_sys_getitimer
1324fe53bf2SArnd Bergmann103	common	setitimer			sys_setitimer			compat_sys_setitimer
1334fe53bf2SArnd Bergmann104	common	kexec_load			sys_kexec_load			compat_sys_kexec_load
1344fe53bf2SArnd Bergmann105	common	init_module			sys_init_module
1354fe53bf2SArnd Bergmann106	common	delete_module			sys_delete_module
1364fe53bf2SArnd Bergmann107	common	timer_create			sys_timer_create		compat_sys_timer_create
1374fe53bf2SArnd Bergmann108	time32	timer_gettime			sys_timer_gettime32
1384fe53bf2SArnd Bergmann108	64	timer_gettime			sys_timer_gettime
1394fe53bf2SArnd Bergmann109	common	timer_getoverrun		sys_timer_getoverrun
1404fe53bf2SArnd Bergmann110	time32	timer_settime			sys_timer_settime32
1414fe53bf2SArnd Bergmann110	64	timer_settime			sys_timer_settime
1424fe53bf2SArnd Bergmann111	common	timer_delete			sys_timer_delete
1434fe53bf2SArnd Bergmann112	time32	clock_settime			sys_clock_settime32
1444fe53bf2SArnd Bergmann112	64	clock_settime			sys_clock_settime
1454fe53bf2SArnd Bergmann113	time32	clock_gettime			sys_clock_gettime32
1464fe53bf2SArnd Bergmann113	64	clock_gettime			sys_clock_gettime
1474fe53bf2SArnd Bergmann114	time32	clock_getres			sys_clock_getres_time32
1484fe53bf2SArnd Bergmann114	64	clock_getres			sys_clock_getres
1494fe53bf2SArnd Bergmann115	time32	clock_nanosleep			sys_clock_nanosleep_time32
1504fe53bf2SArnd Bergmann115	64	clock_nanosleep			sys_clock_nanosleep
1514fe53bf2SArnd Bergmann116	common	syslog				sys_syslog
1524fe53bf2SArnd Bergmann117	common	ptrace				sys_ptrace			compat_sys_ptrace
1534fe53bf2SArnd Bergmann118	common	sched_setparam			sys_sched_setparam
1544fe53bf2SArnd Bergmann119	common	sched_setscheduler		sys_sched_setscheduler
1554fe53bf2SArnd Bergmann120	common	sched_getscheduler		sys_sched_getscheduler
1564fe53bf2SArnd Bergmann121	common	sched_getparam			sys_sched_getparam
1574fe53bf2SArnd Bergmann122	common	sched_setaffinity		sys_sched_setaffinity		compat_sys_sched_setaffinity
1584fe53bf2SArnd Bergmann123	common	sched_getaffinity		sys_sched_getaffinity		compat_sys_sched_getaffinity
1594fe53bf2SArnd Bergmann124	common	sched_yield			sys_sched_yield
1604fe53bf2SArnd Bergmann125	common	sched_get_priority_max		sys_sched_get_priority_max
1614fe53bf2SArnd Bergmann126	common	sched_get_priority_min		sys_sched_get_priority_min
1624fe53bf2SArnd Bergmann127	time32	sched_rr_get_interval		sys_sched_rr_get_interval_time32
1634fe53bf2SArnd Bergmann127	64	sched_rr_get_interval		sys_sched_rr_get_interval
1644fe53bf2SArnd Bergmann128	common	restart_syscall			sys_restart_syscall
1654fe53bf2SArnd Bergmann129	common	kill				sys_kill
1664fe53bf2SArnd Bergmann130	common	tkill				sys_tkill
1674fe53bf2SArnd Bergmann131	common	tgkill				sys_tgkill
1684fe53bf2SArnd Bergmann132	common	sigaltstack			sys_sigaltstack			compat_sys_sigaltstack
1694fe53bf2SArnd Bergmann133	common	rt_sigsuspend			sys_rt_sigsuspend		compat_sys_rt_sigsuspend
1704fe53bf2SArnd Bergmann134	common	rt_sigaction			sys_rt_sigaction		compat_sys_rt_sigaction
1714fe53bf2SArnd Bergmann135	common	rt_sigprocmask			sys_rt_sigprocmask		compat_sys_rt_sigprocmask
1724fe53bf2SArnd Bergmann136	common	rt_sigpending			sys_rt_sigpending		compat_sys_rt_sigpending
1734fe53bf2SArnd Bergmann137	time32	rt_sigtimedwait			sys_rt_sigtimedwait_time32	compat_sys_rt_sigtimedwait_time32
1744fe53bf2SArnd Bergmann137	64	rt_sigtimedwait			sys_rt_sigtimedwait
1754fe53bf2SArnd Bergmann138	common	rt_sigqueueinfo			sys_rt_sigqueueinfo		compat_sys_rt_sigqueueinfo
1764fe53bf2SArnd Bergmann139	common	rt_sigreturn			sys_rt_sigreturn		compat_sys_rt_sigreturn
1774fe53bf2SArnd Bergmann140	common	setpriority			sys_setpriority
1784fe53bf2SArnd Bergmann141	common	getpriority			sys_getpriority
1794fe53bf2SArnd Bergmann142	common	reboot				sys_reboot
1804fe53bf2SArnd Bergmann143	common	setregid			sys_setregid
1814fe53bf2SArnd Bergmann144	common	setgid				sys_setgid
1824fe53bf2SArnd Bergmann145	common	setreuid			sys_setreuid
1834fe53bf2SArnd Bergmann146	common	setuid				sys_setuid
1844fe53bf2SArnd Bergmann147	common	setresuid			sys_setresuid
1854fe53bf2SArnd Bergmann148	common	getresuid			sys_getresuid
1864fe53bf2SArnd Bergmann149	common	setresgid			sys_setresgid
1874fe53bf2SArnd Bergmann150	common	getresgid			sys_getresgid
1884fe53bf2SArnd Bergmann151	common	setfsuid			sys_setfsuid
1894fe53bf2SArnd Bergmann152	common	setfsgid			sys_setfsgid
1904fe53bf2SArnd Bergmann153	common	times				sys_times			compat_sys_times
1914fe53bf2SArnd Bergmann154	common	setpgid				sys_setpgid
1924fe53bf2SArnd Bergmann155	common	getpgid				sys_getpgid
1934fe53bf2SArnd Bergmann156	common	getsid				sys_getsid
1944fe53bf2SArnd Bergmann157	common	setsid				sys_setsid
1954fe53bf2SArnd Bergmann158	common	getgroups			sys_getgroups
1964fe53bf2SArnd Bergmann159	common	setgroups			sys_setgroups
1974fe53bf2SArnd Bergmann160	common	uname				sys_newuname
1984fe53bf2SArnd Bergmann161	common	sethostname			sys_sethostname
1994fe53bf2SArnd Bergmann162	common	setdomainname			sys_setdomainname
2004fe53bf2SArnd Bergmann# getrlimit and setrlimit are superseded with prlimit64
2014fe53bf2SArnd Bergmann163	rlimit	getrlimit			sys_getrlimit			compat_sys_getrlimit
2024fe53bf2SArnd Bergmann164	rlimit	setrlimit			sys_setrlimit			compat_sys_setrlimit
2034fe53bf2SArnd Bergmann165	common	getrusage			sys_getrusage			compat_sys_getrusage
2044fe53bf2SArnd Bergmann166	common	umask				sys_umask
2054fe53bf2SArnd Bergmann167	common	prctl				sys_prctl
2064fe53bf2SArnd Bergmann168	common	getcpu				sys_getcpu
2074fe53bf2SArnd Bergmann169	time32	gettimeofday			sys_gettimeofday		compat_sys_gettimeofday
2084fe53bf2SArnd Bergmann169	64	gettimeofday			sys_gettimeofday
2094fe53bf2SArnd Bergmann170	time32	settimeofday			sys_settimeofday		compat_sys_settimeofday
2104fe53bf2SArnd Bergmann170	64	settimeofday			sys_settimeofday
2114fe53bf2SArnd Bergmann171	time32	adjtimex			sys_adjtimex_time32
2124fe53bf2SArnd Bergmann171	64	adjtimex			sys_adjtimex
2134fe53bf2SArnd Bergmann172	common	getpid				sys_getpid
2144fe53bf2SArnd Bergmann173	common	getppid				sys_getppid
2154fe53bf2SArnd Bergmann174	common	getuid				sys_getuid
2164fe53bf2SArnd Bergmann175	common	geteuid				sys_geteuid
2174fe53bf2SArnd Bergmann176	common	getgid				sys_getgid
2184fe53bf2SArnd Bergmann177	common	getegid				sys_getegid
2194fe53bf2SArnd Bergmann178	common	gettid				sys_gettid
2204fe53bf2SArnd Bergmann179	common	sysinfo				sys_sysinfo			compat_sys_sysinfo
2214fe53bf2SArnd Bergmann180	common	mq_open				sys_mq_open			compat_sys_mq_open
2224fe53bf2SArnd Bergmann181	common	mq_unlink			sys_mq_unlink
2234fe53bf2SArnd Bergmann182	time32	mq_timedsend			sys_mq_timedsend_time32
2244fe53bf2SArnd Bergmann182	64	mq_timedsend			sys_mq_timedsend
2254fe53bf2SArnd Bergmann183	time32	mq_timedreceive			sys_mq_timedreceive_time32
2264fe53bf2SArnd Bergmann183	64	mq_timedreceive			sys_mq_timedreceive
2274fe53bf2SArnd Bergmann184	common	mq_notify			sys_mq_notify			compat_sys_mq_notify
2284fe53bf2SArnd Bergmann185	common	mq_getsetattr			sys_mq_getsetattr		compat_sys_mq_getsetattr
2294fe53bf2SArnd Bergmann186	common	msgget				sys_msgget
2304fe53bf2SArnd Bergmann187	common	msgctl				sys_msgctl			compat_sys_msgctl
2314fe53bf2SArnd Bergmann188	common	msgrcv				sys_msgrcv			compat_sys_msgrcv
2324fe53bf2SArnd Bergmann189	common	msgsnd				sys_msgsnd			compat_sys_msgsnd
2334fe53bf2SArnd Bergmann190	common	semget				sys_semget
2344fe53bf2SArnd Bergmann191	common	semctl				sys_semctl			compat_sys_semctl
2354fe53bf2SArnd Bergmann192	time32	semtimedop			sys_semtimedop_time32
2364fe53bf2SArnd Bergmann192	64	semtimedop			sys_semtimedop
2374fe53bf2SArnd Bergmann193	common	semop				sys_semop
2384fe53bf2SArnd Bergmann194	common	shmget				sys_shmget
2394fe53bf2SArnd Bergmann195	common	shmctl				sys_shmctl			compat_sys_shmctl
2404fe53bf2SArnd Bergmann196	common	shmat				sys_shmat			compat_sys_shmat
2414fe53bf2SArnd Bergmann197	common	shmdt				sys_shmdt
2424fe53bf2SArnd Bergmann198	common	socket				sys_socket
2434fe53bf2SArnd Bergmann199	common	socketpair			sys_socketpair
2444fe53bf2SArnd Bergmann200	common	bind				sys_bind
2454fe53bf2SArnd Bergmann201	common	listen				sys_listen
2464fe53bf2SArnd Bergmann202	common	accept				sys_accept
2474fe53bf2SArnd Bergmann203	common	connect				sys_connect
2484fe53bf2SArnd Bergmann204	common	getsockname			sys_getsockname
2494fe53bf2SArnd Bergmann205	common	getpeername			sys_getpeername
2504fe53bf2SArnd Bergmann206	common	sendto				sys_sendto
2514fe53bf2SArnd Bergmann207	common	recvfrom			sys_recvfrom			compat_sys_recvfrom
2524fe53bf2SArnd Bergmann208	common	setsockopt			sys_setsockopt			sys_setsockopt
2534fe53bf2SArnd Bergmann209	common	getsockopt			sys_getsockopt			sys_getsockopt
2544fe53bf2SArnd Bergmann210	common	shutdown			sys_shutdown
2554fe53bf2SArnd Bergmann211	common	sendmsg				sys_sendmsg			compat_sys_sendmsg
2564fe53bf2SArnd Bergmann212	common	recvmsg				sys_recvmsg			compat_sys_recvmsg
2574fe53bf2SArnd Bergmann213	common	readahead			sys_readahead			compat_sys_readahead
2584fe53bf2SArnd Bergmann214	common	brk				sys_brk
2594fe53bf2SArnd Bergmann215	common	munmap				sys_munmap
2604fe53bf2SArnd Bergmann216	common	mremap				sys_mremap
2614fe53bf2SArnd Bergmann217	common	add_key				sys_add_key
2624fe53bf2SArnd Bergmann218	common	request_key			sys_request_key
2634fe53bf2SArnd Bergmann219	common	keyctl				sys_keyctl			compat_sys_keyctl
2644fe53bf2SArnd Bergmann220	common	clone				sys_clone
2654fe53bf2SArnd Bergmann221	common	execve				sys_execve			compat_sys_execve
2664fe53bf2SArnd Bergmann222	32	mmap2				sys_mmap2
2674fe53bf2SArnd Bergmann222	64	mmap				sys_mmap
2684fe53bf2SArnd Bergmann223	32	fadvise64_64			sys_fadvise64_64		compat_sys_fadvise64_64
2694fe53bf2SArnd Bergmann223	64	fadvise64			sys_fadvise64_64
2704fe53bf2SArnd Bergmann224	common	swapon				sys_swapon
2714fe53bf2SArnd Bergmann225	common	swapoff				sys_swapoff
2724fe53bf2SArnd Bergmann226	common	mprotect			sys_mprotect
2734fe53bf2SArnd Bergmann227	common	msync				sys_msync
2744fe53bf2SArnd Bergmann228	common	mlock				sys_mlock
2754fe53bf2SArnd Bergmann229	common	munlock				sys_munlock
2764fe53bf2SArnd Bergmann230	common	mlockall			sys_mlockall
2774fe53bf2SArnd Bergmann231	common	munlockall			sys_munlockall
2784fe53bf2SArnd Bergmann232	common	mincore				sys_mincore
2794fe53bf2SArnd Bergmann233	common	madvise				sys_madvise
2804fe53bf2SArnd Bergmann234	common	remap_file_pages		sys_remap_file_pages
2814fe53bf2SArnd Bergmann235	common	mbind				sys_mbind
2824fe53bf2SArnd Bergmann236	common	get_mempolicy			sys_get_mempolicy
2834fe53bf2SArnd Bergmann237	common	set_mempolicy			sys_set_mempolicy
2844fe53bf2SArnd Bergmann238	common	migrate_pages			sys_migrate_pages
2854fe53bf2SArnd Bergmann239	common	move_pages			sys_move_pages
2864fe53bf2SArnd Bergmann240	common	rt_tgsigqueueinfo		sys_rt_tgsigqueueinfo		compat_sys_rt_tgsigqueueinfo
2874fe53bf2SArnd Bergmann241	common	perf_event_open			sys_perf_event_open
2884fe53bf2SArnd Bergmann242	common	accept4				sys_accept4
2894fe53bf2SArnd Bergmann243	time32	recvmmsg			sys_recvmmsg_time32		compat_sys_recvmmsg_time32
2904fe53bf2SArnd Bergmann243	64	recvmmsg			sys_recvmmsg
2914fe53bf2SArnd Bergmann# Architectures may provide up to 16 syscalls of their own between 244 and 259
2924414ad8eSArnd Bergmann244	arc	cacheflush			sys_cacheflush
2934414ad8eSArnd Bergmann245	arc	arc_settls			sys_arc_settls
2944414ad8eSArnd Bergmann246	arc	arc_gettls			sys_arc_gettls
2954414ad8eSArnd Bergmann247	arc	sysfs				sys_sysfs
2964414ad8eSArnd Bergmann248	arc	arc_usr_cmpxchg			sys_arc_usr_cmpxchg
297f840cab6SArnd Bergmann
298f840cab6SArnd Bergmann244	csky	set_thread_area			sys_set_thread_area
299f840cab6SArnd Bergmann245	csky	cacheflush			sys_cacheflush
300f840cab6SArnd Bergmann
301ef608c57SArnd Bergmann244	nios2	cacheflush			sys_cacheflush
302ef608c57SArnd Bergmann
30377122bf9SArnd Bergmann244	or1k	or1k_atomic			sys_or1k_atomic
30477122bf9SArnd Bergmann
3053db80c99SArnd Bergmann258	riscv	riscv_hwprobe			sys_riscv_hwprobe
3063db80c99SArnd Bergmann259	riscv	riscv_flush_icache		sys_riscv_flush_icache
3073db80c99SArnd Bergmann
3084fe53bf2SArnd Bergmann260	time32	wait4				sys_wait4			compat_sys_wait4
3094fe53bf2SArnd Bergmann260	64	wait4				sys_wait4
3104fe53bf2SArnd Bergmann261	common	prlimit64			sys_prlimit64
3114fe53bf2SArnd Bergmann262	common	fanotify_init			sys_fanotify_init
3124fe53bf2SArnd Bergmann263	common	fanotify_mark			sys_fanotify_mark
3134fe53bf2SArnd Bergmann264	common	name_to_handle_at		sys_name_to_handle_at
3144fe53bf2SArnd Bergmann265	common	open_by_handle_at		sys_open_by_handle_at
3154fe53bf2SArnd Bergmann266	time32	clock_adjtime			sys_clock_adjtime32
3164fe53bf2SArnd Bergmann266	64	clock_adjtime			sys_clock_adjtime
3174fe53bf2SArnd Bergmann267	common	syncfs				sys_syncfs
3184fe53bf2SArnd Bergmann268	common	setns				sys_setns
3194fe53bf2SArnd Bergmann269	common	sendmmsg			sys_sendmmsg			compat_sys_sendmmsg
3204fe53bf2SArnd Bergmann270	common	process_vm_readv		sys_process_vm_readv
3214fe53bf2SArnd Bergmann271	common	process_vm_writev		sys_process_vm_writev
3224fe53bf2SArnd Bergmann272	common	kcmp				sys_kcmp
3234fe53bf2SArnd Bergmann273	common	finit_module			sys_finit_module
3244fe53bf2SArnd Bergmann274	common	sched_setattr			sys_sched_setattr
3254fe53bf2SArnd Bergmann275	common	sched_getattr			sys_sched_getattr
3264fe53bf2SArnd Bergmann276	common	renameat2			sys_renameat2
3274fe53bf2SArnd Bergmann277	common	seccomp				sys_seccomp
3284fe53bf2SArnd Bergmann278	common	getrandom			sys_getrandom
3294fe53bf2SArnd Bergmann279	common	memfd_create			sys_memfd_create
3304fe53bf2SArnd Bergmann280	common	bpf				sys_bpf
3314fe53bf2SArnd Bergmann281	common	execveat			sys_execveat			compat_sys_execveat
3324fe53bf2SArnd Bergmann282	common	userfaultfd			sys_userfaultfd
3334fe53bf2SArnd Bergmann283	common	membarrier			sys_membarrier
3344fe53bf2SArnd Bergmann284	common	mlock2				sys_mlock2
3354fe53bf2SArnd Bergmann285	common	copy_file_range			sys_copy_file_range
3364fe53bf2SArnd Bergmann286	common	preadv2				sys_preadv2			compat_sys_preadv2
3374fe53bf2SArnd Bergmann287	common	pwritev2			sys_pwritev2			compat_sys_pwritev2
3384fe53bf2SArnd Bergmann288	common	pkey_mprotect			sys_pkey_mprotect
3394fe53bf2SArnd Bergmann289	common	pkey_alloc			sys_pkey_alloc
3404fe53bf2SArnd Bergmann290	common	pkey_free			sys_pkey_free
3414fe53bf2SArnd Bergmann291	common	statx				sys_statx
3424fe53bf2SArnd Bergmann292	time32	io_pgetevents			sys_io_pgetevents_time32	compat_sys_io_pgetevents
3434fe53bf2SArnd Bergmann292	64	io_pgetevents			sys_io_pgetevents
3444fe53bf2SArnd Bergmann293	common	rseq				sys_rseq
3454fe53bf2SArnd Bergmann294	common	kexec_file_load			sys_kexec_file_load
3464fe53bf2SArnd Bergmann# 295 through 402 are unassigned to sync up with generic numbers don't use
3474fe53bf2SArnd Bergmann403	32	clock_gettime64			sys_clock_gettime
3484fe53bf2SArnd Bergmann404	32	clock_settime64			sys_clock_settime
3494fe53bf2SArnd Bergmann405	32	clock_adjtime64			sys_clock_adjtime
3504fe53bf2SArnd Bergmann406	32	clock_getres_time64		sys_clock_getres
3514fe53bf2SArnd Bergmann407	32	clock_nanosleep_time64		sys_clock_nanosleep
3524fe53bf2SArnd Bergmann408	32	timer_gettime64			sys_timer_gettime
3534fe53bf2SArnd Bergmann409	32	timer_settime64			sys_timer_settime
3544fe53bf2SArnd Bergmann410	32	timerfd_gettime64		sys_timerfd_gettime
3554fe53bf2SArnd Bergmann411	32	timerfd_settime64		sys_timerfd_settime
3564fe53bf2SArnd Bergmann412	32	utimensat_time64		sys_utimensat
3574fe53bf2SArnd Bergmann413	32	pselect6_time64			sys_pselect6			compat_sys_pselect6_time64
3584fe53bf2SArnd Bergmann414	32	ppoll_time64			sys_ppoll			compat_sys_ppoll_time64
3594fe53bf2SArnd Bergmann416	32	io_pgetevents_time64		sys_io_pgetevents		compat_sys_io_pgetevents_time64
3604fe53bf2SArnd Bergmann417	32	recvmmsg_time64			sys_recvmmsg			compat_sys_recvmmsg_time64
3614fe53bf2SArnd Bergmann418	32	mq_timedsend_time64		sys_mq_timedsend
3624fe53bf2SArnd Bergmann419	32	mq_timedreceive_time64		sys_mq_timedreceive
3634fe53bf2SArnd Bergmann420	32	semtimedop_time64		sys_semtimedop
3644fe53bf2SArnd Bergmann421	32	rt_sigtimedwait_time64		sys_rt_sigtimedwait		compat_sys_rt_sigtimedwait_time64
3654fe53bf2SArnd Bergmann422	32	futex_time64			sys_futex
3664fe53bf2SArnd Bergmann423	32	sched_rr_get_interval_time64	sys_sched_rr_get_interval
3674fe53bf2SArnd Bergmann424	common	pidfd_send_signal		sys_pidfd_send_signal
3684fe53bf2SArnd Bergmann425	common	io_uring_setup			sys_io_uring_setup
3694fe53bf2SArnd Bergmann426	common	io_uring_enter			sys_io_uring_enter
3704fe53bf2SArnd Bergmann427	common	io_uring_register		sys_io_uring_register
3714fe53bf2SArnd Bergmann428	common	open_tree			sys_open_tree
3724fe53bf2SArnd Bergmann429	common	move_mount			sys_move_mount
3734fe53bf2SArnd Bergmann430	common	fsopen				sys_fsopen
3744fe53bf2SArnd Bergmann431	common	fsconfig			sys_fsconfig
3754fe53bf2SArnd Bergmann432	common	fsmount				sys_fsmount
3764fe53bf2SArnd Bergmann433	common	fspick				sys_fspick
3774fe53bf2SArnd Bergmann434	common	pidfd_open			sys_pidfd_open
3784fe53bf2SArnd Bergmann435	common	clone3				sys_clone3
3794fe53bf2SArnd Bergmann436	common	close_range			sys_close_range
3804fe53bf2SArnd Bergmann437	common	openat2				sys_openat2
3814fe53bf2SArnd Bergmann438	common	pidfd_getfd			sys_pidfd_getfd
3824fe53bf2SArnd Bergmann439	common	faccessat2			sys_faccessat2
3834fe53bf2SArnd Bergmann440	common	process_madvise			sys_process_madvise
3844fe53bf2SArnd Bergmann441	common	epoll_pwait2			sys_epoll_pwait2		compat_sys_epoll_pwait2
3854fe53bf2SArnd Bergmann442	common	mount_setattr			sys_mount_setattr
3864fe53bf2SArnd Bergmann443	common	quotactl_fd			sys_quotactl_fd
3874fe53bf2SArnd Bergmann444	common	landlock_create_ruleset		sys_landlock_create_ruleset
3884fe53bf2SArnd Bergmann445	common	landlock_add_rule		sys_landlock_add_rule
3894fe53bf2SArnd Bergmann446	common	landlock_restrict_self		sys_landlock_restrict_self
3904fe53bf2SArnd Bergmann447	memfd_secret	memfd_secret		sys_memfd_secret
3914fe53bf2SArnd Bergmann448	common	process_mrelease		sys_process_mrelease
3924fe53bf2SArnd Bergmann449	common	futex_waitv			sys_futex_waitv
3934fe53bf2SArnd Bergmann450	common	set_mempolicy_home_node		sys_set_mempolicy_home_node
3944fe53bf2SArnd Bergmann451	common	cachestat			sys_cachestat
3954fe53bf2SArnd Bergmann452	common	fchmodat2			sys_fchmodat2
3964fe53bf2SArnd Bergmann453	common	map_shadow_stack		sys_map_shadow_stack
3974fe53bf2SArnd Bergmann454	common	futex_wake			sys_futex_wake
3984fe53bf2SArnd Bergmann455	common	futex_wait			sys_futex_wait
3994fe53bf2SArnd Bergmann456	common	futex_requeue			sys_futex_requeue
4004fe53bf2SArnd Bergmann457	common	statmount			sys_statmount
4014fe53bf2SArnd Bergmann458	common	listmount			sys_listmount
4024fe53bf2SArnd Bergmann459	common	lsm_get_self_attr		sys_lsm_get_self_attr
4034fe53bf2SArnd Bergmann460	common	lsm_set_self_attr		sys_lsm_set_self_attr
4044fe53bf2SArnd Bergmann461	common	lsm_list_modules		sys_lsm_list_modules
4054fe53bf2SArnd Bergmann462	common	mseal				sys_mseal
4066140be90SChristian Göttsche463	common	setxattrat			sys_setxattrat
4076140be90SChristian Göttsche464	common	getxattrat			sys_getxattrat
4086140be90SChristian Göttsche465	common	listxattrat			sys_listxattrat
4096140be90SChristian Göttsche466	common	removexattrat			sys_removexattrat
410*c4a16820SChristian Brauner467	common	open_tree_attr			sys_open_tree_attr
411