xref: /linux/arch/parisc/kernel/syscalls/syscall.tbl (revision d4ce5458ea1b7d8ca49c436d602095c4912777d3)
1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2#
3# system call numbers and entry vectors for parisc
4#
5# The format is:
6# <number> <abi> <name> <entry point> <compat entry point>
7#
8# The <abi> can be common, 64, or 32 for this file.
9#
100	common	restart_syscall		sys_restart_syscall
111	common	exit			sys_exit
122	common	fork			sys_fork_wrapper
133	common	read			sys_read
144	common	write			sys_write
155	common	open			sys_open			compat_sys_open
166	common	close			sys_close
177	common	waitpid			sys_waitpid
188	common	creat			sys_creat
199	common	link			sys_link
2010	common	unlink			sys_unlink
2111	common	execve			sys_execve			compat_sys_execve
2212	common	chdir			sys_chdir
2313	common	time			sys_time			compat_sys_time
2414	common	mknod			sys_mknod
2515	common	chmod			sys_chmod
2616	common	lchown			sys_lchown
2717	common	socket			sys_socket
2818	common	stat			sys_newstat			compat_sys_newstat
2919	common	lseek			sys_lseek			compat_sys_lseek
3020	common	getpid			sys_getpid
3121	common	mount			sys_mount			compat_sys_mount
3222	common	bind			sys_bind
3323	common	setuid			sys_setuid
3424	common	getuid			sys_getuid
3525	common	stime			sys_stime			compat_sys_stime
3626	common	ptrace			sys_ptrace			compat_sys_ptrace
3727	common	alarm			sys_alarm
3828	common	fstat			sys_newfstat			compat_sys_newfstat
3929	common	pause			sys_pause
4030	common	utime			sys_utime			compat_sys_utime
4131	common	connect			sys_connect
4232	common	listen			sys_listen
4333	common	access			sys_access
4434	common	nice			sys_nice
4535	common	accept			sys_accept
4636	common	sync			sys_sync
4737	common	kill			sys_kill
4838	common	rename			sys_rename
4939	common	mkdir			sys_mkdir
5040	common	rmdir			sys_rmdir
5141	common	dup			sys_dup
5242	common	pipe			sys_pipe
5343	common	times			sys_times			compat_sys_times
5444	common	getsockname		sys_getsockname
5545	common	brk			sys_brk
5646	common	setgid			sys_setgid
5747	common	getgid			sys_getgid
5848	common	signal			sys_signal
5949	common	geteuid			sys_geteuid
6050	common	getegid			sys_getegid
6151	common	acct			sys_acct
6252	common	umount2			sys_umount
6353	common	getpeername		sys_getpeername
6454	common	ioctl			sys_ioctl			compat_sys_ioctl
6555	common	fcntl			sys_fcntl			compat_sys_fcntl
6656	common	socketpair		sys_socketpair
6757	common	setpgid			sys_setpgid
6858	common	send			sys_send
6959	common	uname			sys_newuname
7060	common	umask			sys_umask
7161	common	chroot			sys_chroot
7262	common	ustat			sys_ustat			compat_sys_ustat
7363	common	dup2			sys_dup2
7464	common	getppid			sys_getppid
7565	common	getpgrp			sys_getpgrp
7666	common	setsid			sys_setsid
7767	common	pivot_root		sys_pivot_root
7868	common	sgetmask		sys_sgetmask			sys32_unimplemented
7969	common	ssetmask		sys_ssetmask			sys32_unimplemented
8070	common	setreuid		sys_setreuid
8171	common	setregid		sys_setregid
8272	common	mincore			sys_mincore
8373	common	sigpending		sys_sigpending			compat_sys_sigpending
8474	common	sethostname		sys_sethostname
8575	common	setrlimit		sys_setrlimit			compat_sys_setrlimit
8676	common	getrlimit		sys_getrlimit			compat_sys_getrlimit
8777	common	getrusage		sys_getrusage			compat_sys_getrusage
8878	common	gettimeofday		sys_gettimeofday		compat_sys_gettimeofday
8979	common	settimeofday		sys_settimeofday		compat_sys_settimeofday
9080	common	getgroups		sys_getgroups
9181	common	setgroups		sys_setgroups
9282	common	sendto			sys_sendto
9383	common	symlink			sys_symlink
9484	common	lstat			sys_newlstat			compat_sys_newlstat
9585	common	readlink		sys_readlink
9686	common	uselib			sys_ni_syscall
9787	common	swapon			sys_swapon
9888	common	reboot			sys_reboot
9989	common	mmap2			sys_mmap2
10090	common	mmap			sys_mmap
10191	common	munmap			sys_munmap
10292	common	truncate		sys_truncate			compat_sys_truncate
10393	common	ftruncate		sys_ftruncate			compat_sys_ftruncate
10494	common	fchmod			sys_fchmod
10595	common	fchown			sys_fchown
10696	common	getpriority		sys_getpriority
10797	common	setpriority		sys_setpriority
10898	common	recv			sys_recv
10999	common	statfs			sys_statfs			compat_sys_statfs
110100	common	fstatfs			sys_fstatfs			compat_sys_fstatfs
111101	common	stat64			sys_stat64
112# 102 was socketcall
113103	common	syslog			sys_syslog
114104	common	setitimer		sys_setitimer			compat_sys_setitimer
115105	common	getitimer		sys_getitimer			compat_sys_getitimer
116106	common	capget			sys_capget
117107	common	capset			sys_capset
118108	32	pread64			parisc_pread64
119108	64	pread64			sys_pread64
120109	32	pwrite64		parisc_pwrite64
121109	64	pwrite64		sys_pwrite64
122110	common	getcwd			sys_getcwd
123111	common	vhangup			sys_vhangup
124112	common	fstat64			sys_fstat64
125113	common	vfork			sys_vfork_wrapper
126114	common	wait4			sys_wait4			compat_sys_wait4
127115	common	swapoff			sys_swapoff
128116	common	sysinfo			sys_sysinfo			compat_sys_sysinfo
129117	common	shutdown		sys_shutdown
130118	common	fsync			sys_fsync
131119	common	madvise			sys_madvise
132120	common	clone			sys_clone_wrapper
133121	common	setdomainname		sys_setdomainname
134122	common	sendfile		sys_sendfile			compat_sys_sendfile
135123	common	recvfrom		sys_recvfrom
136124	common	adjtimex		sys_adjtimex			compat_sys_adjtimex
137125	common	mprotect		sys_mprotect
138126	common	sigprocmask		sys_sigprocmask			compat_sys_sigprocmask
139# 127 was create_module
140128	common	init_module		sys_init_module
141129	common	delete_module		sys_delete_module
142# 130 was get_kernel_syms
143131	common	quotactl		sys_quotactl
144132	common	getpgid			sys_getpgid
145133	common	fchdir			sys_fchdir
146134	common	bdflush			sys_bdflush
147135	common	sysfs			sys_sysfs
148136	32	personality		parisc_personality
149136	64	personality		sys_personality
150# 137 was afs_syscall
151138	common	setfsuid		sys_setfsuid
152139	common	setfsgid		sys_setfsgid
153140	common	_llseek			sys_llseek
154141	common	getdents		sys_getdents			compat_sys_getdents
155142	common	_newselect		sys_select			compat_sys_select
156143	common	flock			sys_flock
157144	common	msync			sys_msync
158145	common	readv			sys_readv			compat_sys_readv
159146	common	writev			sys_writev			compat_sys_writev
160147	common	getsid			sys_getsid
161148	common	fdatasync		sys_fdatasync
162149	common	_sysctl			sys_sysctl			compat_sys_sysctl
163150	common	mlock			sys_mlock
164151	common	munlock			sys_munlock
165152	common	mlockall		sys_mlockall
166153	common	munlockall		sys_munlockall
167154	common	sched_setparam		sys_sched_setparam
168155	common	sched_getparam		sys_sched_getparam
169156	common	sched_setscheduler	sys_sched_setscheduler
170157	common	sched_getscheduler	sys_sched_getscheduler
171158	common	sched_yield		sys_sched_yield
172159	common	sched_get_priority_max	sys_sched_get_priority_max
173160	common	sched_get_priority_min	sys_sched_get_priority_min
174161	common	sched_rr_get_interval	sys_sched_rr_get_interval	compat_sys_sched_rr_get_interval
175162	common	nanosleep		sys_nanosleep			compat_sys_nanosleep
176163	common	mremap			sys_mremap
177164	common	setresuid		sys_setresuid
178165	common	getresuid		sys_getresuid
179166	common	sigaltstack		sys_sigaltstack			compat_sys_sigaltstack
180# 167 was query_module
181168	common	poll			sys_poll
182# 169 was nfsservctl
183170	common	setresgid		sys_setresgid
184171	common	getresgid		sys_getresgid
185172	common	prctl			sys_prctl
186173	common	rt_sigreturn		sys_rt_sigreturn_wrapper
187174	common	rt_sigaction		sys_rt_sigaction		compat_sys_rt_sigaction
188175	common	rt_sigprocmask		sys_rt_sigprocmask		compat_sys_rt_sigprocmask
189176	common	rt_sigpending		sys_rt_sigpending		compat_sys_rt_sigpending
190177	common	rt_sigtimedwait		sys_rt_sigtimedwait		compat_sys_rt_sigtimedwait
191178	common	rt_sigqueueinfo		sys_rt_sigqueueinfo		compat_sys_rt_sigqueueinfo
192179	common	rt_sigsuspend		sys_rt_sigsuspend		compat_sys_rt_sigsuspend
193180	common	chown			sys_chown
194181	common	setsockopt		sys_setsockopt			compat_sys_setsockopt
195182	common	getsockopt		sys_getsockopt			compat_sys_getsockopt
196183	common	sendmsg			sys_sendmsg			compat_sys_sendmsg
197184	common	recvmsg			sys_recvmsg			compat_sys_recvmsg
198185	common	semop			sys_semop
199186	common	semget			sys_semget
200187	common	semctl			sys_semctl			compat_sys_semctl
201188	common	msgsnd			sys_msgsnd			compat_sys_msgsnd
202189	common	msgrcv			sys_msgrcv			compat_sys_msgrcv
203190	common	msgget			sys_msgget
204191	common	msgctl			sys_msgctl			compat_sys_msgctl
205192	common	shmat			sys_shmat			compat_sys_shmat
206193	common	shmdt			sys_shmdt
207194	common	shmget			sys_shmget
208195	common	shmctl			sys_shmctl			compat_sys_shmctl
209# 196 was getpmsg
210# 197 was putpmsg
211198	common	lstat64			sys_lstat64
212199	32	truncate64		parisc_truncate64
213199	64	truncate64		sys_truncate64
214200	32	ftruncate64		parisc_ftruncate64
215200	64	ftruncate64		sys_ftruncate64
216201	common	getdents64		sys_getdents64
217202	common	fcntl64			sys_fcntl64			compat_sys_fcntl64
218# 203 was attrctl
219# 204 was acl_get
220# 205 was acl_set
221206	common	gettid			sys_gettid
222207	32	readahead		parisc_readahead
223207	64	readahead		sys_readahead
224208	common	tkill			sys_tkill
225209	common	sendfile64		sys_sendfile64			compat_sys_sendfile64
226210	common	futex			sys_futex			compat_sys_futex
227211	common	sched_setaffinity	sys_sched_setaffinity		compat_sys_sched_setaffinity
228212	common	sched_getaffinity	sys_sched_getaffinity		compat_sys_sched_getaffinity
229# 213 was set_thread_area
230# 214 was get_thread_area
231215	common	io_setup		sys_io_setup			compat_sys_io_setup
232216	common	io_destroy		sys_io_destroy
233217	common	io_getevents		sys_io_getevents		compat_sys_io_getevents
234218	common	io_submit		sys_io_submit			compat_sys_io_submit
235219	common	io_cancel		sys_io_cancel
236# 220 was alloc_hugepages
237# 221 was free_hugepages
238222	common	exit_group		sys_exit_group
239223	common	lookup_dcookie		sys_lookup_dcookie		compat_sys_lookup_dcookie
240224	common	epoll_create		sys_epoll_create
241225	common	epoll_ctl		sys_epoll_ctl
242226	common	epoll_wait		sys_epoll_wait
243227	common	remap_file_pages	sys_remap_file_pages
244228	common	semtimedop		sys_semtimedop			compat_sys_semtimedop
245229	common	mq_open			sys_mq_open			compat_sys_mq_open
246230	common	mq_unlink		sys_mq_unlink
247231	common	mq_timedsend		sys_mq_timedsend		compat_sys_mq_timedsend
248232	common	mq_timedreceive		sys_mq_timedreceive		compat_sys_mq_timedreceive
249233	common	mq_notify		sys_mq_notify			compat_sys_mq_notify
250234	common	mq_getsetattr		sys_mq_getsetattr		compat_sys_mq_getsetattr
251235	common	waitid			sys_waitid			compat_sys_waitid
252236	32	fadvise64_64		parisc_fadvise64_64
253236	64	fadvise64_64		sys_fadvise64_64
254237	common	set_tid_address		sys_set_tid_address
255238	common	setxattr		sys_setxattr
256239	common	lsetxattr		sys_lsetxattr
257240	common	fsetxattr		sys_fsetxattr
258241	common	getxattr		sys_getxattr
259242	common	lgetxattr		sys_lgetxattr
260243	common	fgetxattr		sys_fgetxattr
261244	common	listxattr		sys_listxattr
262245	common	llistxattr		sys_llistxattr
263246	common	flistxattr		sys_flistxattr
264247	common	removexattr		sys_removexattr
265248	common	lremovexattr		sys_lremovexattr
266249	common	fremovexattr		sys_fremovexattr
267250	common	timer_create		sys_timer_create		compat_sys_timer_create
268251	common	timer_settime		sys_timer_settime		compat_sys_timer_settime
269252	common	timer_gettime		sys_timer_gettime		compat_sys_timer_gettime
270253	common	timer_getoverrun	sys_timer_getoverrun
271254	common	timer_delete		sys_timer_delete
272255	common	clock_settime		sys_clock_settime		compat_sys_clock_settime
273256	common	clock_gettime		sys_clock_gettime		compat_sys_clock_gettime
274257	common	clock_getres		sys_clock_getres		compat_sys_clock_getres
275258	common	clock_nanosleep		sys_clock_nanosleep		compat_sys_clock_nanosleep
276259	common	tgkill			sys_tgkill
277260	common	mbind			sys_mbind			compat_sys_mbind
278261	common	get_mempolicy		sys_get_mempolicy		compat_sys_get_mempolicy
279262	common	set_mempolicy		sys_set_mempolicy		compat_sys_set_mempolicy
280# 263 was vserver
281264	common	add_key			sys_add_key
282265	common	request_key		sys_request_key
283266	common	keyctl			sys_keyctl			compat_sys_keyctl
284267	common	ioprio_set		sys_ioprio_set
285268	common	ioprio_get		sys_ioprio_get
286269	common	inotify_init		sys_inotify_init
287270	common	inotify_add_watch	sys_inotify_add_watch
288271	common	inotify_rm_watch	sys_inotify_rm_watch
289272	common	migrate_pages		sys_migrate_pages
290273	common	pselect6		sys_pselect6			compat_sys_pselect6
291274	common	ppoll			sys_ppoll			compat_sys_ppoll
292275	common	openat			sys_openat			compat_sys_openat
293276	common	mkdirat			sys_mkdirat
294277	common	mknodat			sys_mknodat
295278	common	fchownat		sys_fchownat
296279	common	futimesat		sys_futimesat			compat_sys_futimesat
297280	common	fstatat64		sys_fstatat64
298281	common	unlinkat		sys_unlinkat
299282	common	renameat		sys_renameat
300283	common	linkat			sys_linkat
301284	common	symlinkat		sys_symlinkat
302285	common	readlinkat		sys_readlinkat
303286	common	fchmodat		sys_fchmodat
304287	common	faccessat		sys_faccessat
305288	common	unshare			sys_unshare
306289	common	set_robust_list		sys_set_robust_list		compat_sys_set_robust_list
307290	common	get_robust_list		sys_get_robust_list		compat_sys_get_robust_list
308291	common	splice			sys_splice
309292	32	sync_file_range		parisc_sync_file_range
310292	64	sync_file_range		sys_sync_file_range
311293	common	tee			sys_tee
312294	common	vmsplice		sys_vmsplice			compat_sys_vmsplice
313295	common	move_pages		sys_move_pages			compat_sys_move_pages
314296	common	getcpu			sys_getcpu
315297	common	epoll_pwait		sys_epoll_pwait			compat_sys_epoll_pwait
316298	common	statfs64		sys_statfs64			compat_sys_statfs64
317299	common	fstatfs64		sys_fstatfs64			compat_sys_fstatfs64
318300	common	kexec_load		sys_kexec_load			compat_sys_kexec_load
319301	common	utimensat		sys_utimensat			compat_sys_utimensat
320302	common	signalfd		sys_signalfd			compat_sys_signalfd
321# 303 was timerfd
322304	common	eventfd			sys_eventfd
323305	32	fallocate		parisc_fallocate
324305	64	fallocate		sys_fallocate
325306	common	timerfd_create		sys_timerfd_create
326307	common	timerfd_settime		sys_timerfd_settime		compat_sys_timerfd_settime
327308	common	timerfd_gettime		sys_timerfd_gettime		compat_sys_timerfd_gettime
328309	common	signalfd4		sys_signalfd4			compat_sys_signalfd4
329310	common	eventfd2		sys_eventfd2
330311	common	epoll_create1		sys_epoll_create1
331312	common	dup3			sys_dup3
332313	common	pipe2			sys_pipe2
333314	common	inotify_init1		sys_inotify_init1
334315	common	preadv	sys_preadv	compat_sys_preadv
335316	common	pwritev	sys_pwritev	compat_sys_pwritev
336317	common	rt_tgsigqueueinfo	sys_rt_tgsigqueueinfo		compat_sys_rt_tgsigqueueinfo
337318	common	perf_event_open		sys_perf_event_open
338319	common	recvmmsg		sys_recvmmsg			compat_sys_recvmmsg
339320	common	accept4			sys_accept4
340321	common	prlimit64		sys_prlimit64
341322	common	fanotify_init		sys_fanotify_init
342323	common	fanotify_mark		sys_fanotify_mark		sys32_fanotify_mark
343324	common	clock_adjtime		sys_clock_adjtime		compat_sys_clock_adjtime
344325	common	name_to_handle_at	sys_name_to_handle_at
345326	common	open_by_handle_at	sys_open_by_handle_at		compat_sys_open_by_handle_at
346327	common	syncfs			sys_syncfs
347328	common	setns			sys_setns
348329	common	sendmmsg		sys_sendmmsg			compat_sys_sendmmsg
349330	common	process_vm_readv	sys_process_vm_readv		compat_sys_process_vm_readv
350331	common	process_vm_writev	sys_process_vm_writev		compat_sys_process_vm_writev
351332	common	kcmp			sys_kcmp
352333	common	finit_module		sys_finit_module
353334	common	sched_setattr		sys_sched_setattr
354335	common	sched_getattr		sys_sched_getattr
355336	common	utimes			sys_utimes			compat_sys_utimes
356337	common	renameat2		sys_renameat2
357338	common	seccomp			sys_seccomp
358339	common	getrandom		sys_getrandom
359340	common	memfd_create		sys_memfd_create
360341	common	bpf			sys_bpf
361342	common	execveat		sys_execveat			compat_sys_execveat
362343	common	membarrier		sys_membarrier
363344	common	userfaultfd		sys_userfaultfd
364345	common	mlock2			sys_mlock2
365346	common	copy_file_range		sys_copy_file_range
366347	common	preadv2			sys_preadv2			compat_sys_preadv2
367348	common	pwritev2		sys_pwritev2			compat_sys_pwritev2
368349	common	statx			sys_statx
369350	common	io_pgetevents		sys_io_pgetevents		compat_sys_io_pgetevents
370