cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

syscall_n32.tbl (14044B)


      1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
      2#
      3# system call numbers and entry vectors for mips
      4#
      5# The format is:
      6# <number> <abi> <name> <entry point> <compat entry point>
      7#
      8# The <abi> is always "n32" for this file.
      9#
     100	n32	read				sys_read
     111	n32	write				sys_write
     122	n32	open				sys_open
     133	n32	close				sys_close
     144	n32	stat				sys_newstat
     155	n32	fstat				sys_newfstat
     166	n32	lstat				sys_newlstat
     177	n32	poll				sys_poll
     188	n32	lseek				sys_lseek
     199	n32	mmap				sys_mips_mmap
     2010	n32	mprotect			sys_mprotect
     2111	n32	munmap				sys_munmap
     2212	n32	brk				sys_brk
     2313	n32	rt_sigaction			compat_sys_rt_sigaction
     2414	n32	rt_sigprocmask			compat_sys_rt_sigprocmask
     2515	n32	ioctl				compat_sys_ioctl
     2616	n32	pread64				sys_pread64
     2717	n32	pwrite64			sys_pwrite64
     2818	n32	readv				sys_readv
     2919	n32	writev				sys_writev
     3020	n32	access				sys_access
     3121	n32	pipe				sysm_pipe
     3222	n32	_newselect			compat_sys_select
     3323	n32	sched_yield			sys_sched_yield
     3424	n32	mremap				sys_mremap
     3525	n32	msync				sys_msync
     3626	n32	mincore				sys_mincore
     3727	n32	madvise				sys_madvise
     3828	n32	shmget				sys_shmget
     3929	n32	shmat				sys_shmat
     4030	n32	shmctl				compat_sys_old_shmctl
     4131	n32	dup				sys_dup
     4232	n32	dup2				sys_dup2
     4333	n32	pause				sys_pause
     4434	n32	nanosleep			sys_nanosleep_time32
     4535	n32	getitimer			compat_sys_getitimer
     4636	n32	setitimer			compat_sys_setitimer
     4737	n32	alarm				sys_alarm
     4838	n32	getpid				sys_getpid
     4939	n32	sendfile			compat_sys_sendfile
     5040	n32	socket				sys_socket
     5141	n32	connect				sys_connect
     5242	n32	accept				sys_accept
     5343	n32	sendto				sys_sendto
     5444	n32	recvfrom			compat_sys_recvfrom
     5545	n32	sendmsg				compat_sys_sendmsg
     5646	n32	recvmsg				compat_sys_recvmsg
     5747	n32	shutdown			sys_shutdown
     5848	n32	bind				sys_bind
     5949	n32	listen				sys_listen
     6050	n32	getsockname			sys_getsockname
     6151	n32	getpeername			sys_getpeername
     6252	n32	socketpair			sys_socketpair
     6353	n32	setsockopt			sys_setsockopt
     6454	n32	getsockopt			sys_getsockopt
     6555	n32	clone				__sys_clone
     6656	n32	fork				__sys_fork
     6757	n32	execve				compat_sys_execve
     6858	n32	exit				sys_exit
     6959	n32	wait4				compat_sys_wait4
     7060	n32	kill				sys_kill
     7161	n32	uname				sys_newuname
     7262	n32	semget				sys_semget
     7363	n32	semop				sys_semop
     7464	n32	semctl				compat_sys_old_semctl
     7565	n32	shmdt				sys_shmdt
     7666	n32	msgget				sys_msgget
     7767	n32	msgsnd				compat_sys_msgsnd
     7868	n32	msgrcv				compat_sys_msgrcv
     7969	n32	msgctl				compat_sys_old_msgctl
     8070	n32	fcntl				compat_sys_fcntl
     8171	n32	flock				sys_flock
     8272	n32	fsync				sys_fsync
     8373	n32	fdatasync			sys_fdatasync
     8474	n32	truncate			sys_truncate
     8575	n32	ftruncate			sys_ftruncate
     8676	n32	getdents			compat_sys_getdents
     8777	n32	getcwd				sys_getcwd
     8878	n32	chdir				sys_chdir
     8979	n32	fchdir				sys_fchdir
     9080	n32	rename				sys_rename
     9181	n32	mkdir				sys_mkdir
     9282	n32	rmdir				sys_rmdir
     9383	n32	creat				sys_creat
     9484	n32	link				sys_link
     9585	n32	unlink				sys_unlink
     9686	n32	symlink				sys_symlink
     9787	n32	readlink			sys_readlink
     9888	n32	chmod				sys_chmod
     9989	n32	fchmod				sys_fchmod
    10090	n32	chown				sys_chown
    10191	n32	fchown				sys_fchown
    10292	n32	lchown				sys_lchown
    10393	n32	umask				sys_umask
    10494	n32	gettimeofday			compat_sys_gettimeofday
    10595	n32	getrlimit			compat_sys_getrlimit
    10696	n32	getrusage			compat_sys_getrusage
    10797	n32	sysinfo				compat_sys_sysinfo
    10898	n32	times				compat_sys_times
    10999	n32	ptrace				compat_sys_ptrace
    110100	n32	getuid				sys_getuid
    111101	n32	syslog				sys_syslog
    112102	n32	getgid				sys_getgid
    113103	n32	setuid				sys_setuid
    114104	n32	setgid				sys_setgid
    115105	n32	geteuid				sys_geteuid
    116106	n32	getegid				sys_getegid
    117107	n32	setpgid				sys_setpgid
    118108	n32	getppid				sys_getppid
    119109	n32	getpgrp				sys_getpgrp
    120110	n32	setsid				sys_setsid
    121111	n32	setreuid			sys_setreuid
    122112	n32	setregid			sys_setregid
    123113	n32	getgroups			sys_getgroups
    124114	n32	setgroups			sys_setgroups
    125115	n32	setresuid			sys_setresuid
    126116	n32	getresuid			sys_getresuid
    127117	n32	setresgid			sys_setresgid
    128118	n32	getresgid			sys_getresgid
    129119	n32	getpgid				sys_getpgid
    130120	n32	setfsuid			sys_setfsuid
    131121	n32	setfsgid			sys_setfsgid
    132122	n32	getsid				sys_getsid
    133123	n32	capget				sys_capget
    134124	n32	capset				sys_capset
    135125	n32	rt_sigpending			compat_sys_rt_sigpending
    136126	n32	rt_sigtimedwait			compat_sys_rt_sigtimedwait_time32
    137127	n32	rt_sigqueueinfo			compat_sys_rt_sigqueueinfo
    138128	n32	rt_sigsuspend			compat_sys_rt_sigsuspend
    139129	n32	sigaltstack			compat_sys_sigaltstack
    140130	n32	utime				sys_utime32
    141131	n32	mknod				sys_mknod
    142132	n32	personality			sys_32_personality
    143133	n32	ustat				compat_sys_ustat
    144134	n32	statfs				compat_sys_statfs
    145135	n32	fstatfs				compat_sys_fstatfs
    146136	n32	sysfs				sys_sysfs
    147137	n32	getpriority			sys_getpriority
    148138	n32	setpriority			sys_setpriority
    149139	n32	sched_setparam			sys_sched_setparam
    150140	n32	sched_getparam			sys_sched_getparam
    151141	n32	sched_setscheduler		sys_sched_setscheduler
    152142	n32	sched_getscheduler		sys_sched_getscheduler
    153143	n32	sched_get_priority_max		sys_sched_get_priority_max
    154144	n32	sched_get_priority_min		sys_sched_get_priority_min
    155145	n32	sched_rr_get_interval		sys_sched_rr_get_interval_time32
    156146	n32	mlock				sys_mlock
    157147	n32	munlock				sys_munlock
    158148	n32	mlockall			sys_mlockall
    159149	n32	munlockall			sys_munlockall
    160150	n32	vhangup				sys_vhangup
    161151	n32	pivot_root			sys_pivot_root
    162152	n32	_sysctl				sys_ni_syscall
    163153	n32	prctl				sys_prctl
    164154	n32	adjtimex			sys_adjtimex_time32
    165155	n32	setrlimit			compat_sys_setrlimit
    166156	n32	chroot				sys_chroot
    167157	n32	sync				sys_sync
    168158	n32	acct				sys_acct
    169159	n32	settimeofday			compat_sys_settimeofday
    170160	n32	mount				sys_mount
    171161	n32	umount2				sys_umount
    172162	n32	swapon				sys_swapon
    173163	n32	swapoff				sys_swapoff
    174164	n32	reboot				sys_reboot
    175165	n32	sethostname			sys_sethostname
    176166	n32	setdomainname			sys_setdomainname
    177167	n32	create_module			sys_ni_syscall
    178168	n32	init_module			sys_init_module
    179169	n32	delete_module			sys_delete_module
    180170	n32	get_kernel_syms			sys_ni_syscall
    181171	n32	query_module			sys_ni_syscall
    182172	n32	quotactl			sys_quotactl
    183173	n32	nfsservctl			sys_ni_syscall
    184174	n32	getpmsg				sys_ni_syscall
    185175	n32	putpmsg				sys_ni_syscall
    186176	n32	afs_syscall			sys_ni_syscall
    187# 177 reserved for security
    188177	n32	reserved177			sys_ni_syscall
    189178	n32	gettid				sys_gettid
    190179	n32	readahead			sys_readahead
    191180	n32	setxattr			sys_setxattr
    192181	n32	lsetxattr			sys_lsetxattr
    193182	n32	fsetxattr			sys_fsetxattr
    194183	n32	getxattr			sys_getxattr
    195184	n32	lgetxattr			sys_lgetxattr
    196185	n32	fgetxattr			sys_fgetxattr
    197186	n32	listxattr			sys_listxattr
    198187	n32	llistxattr			sys_llistxattr
    199188	n32	flistxattr			sys_flistxattr
    200189	n32	removexattr			sys_removexattr
    201190	n32	lremovexattr			sys_lremovexattr
    202191	n32	fremovexattr			sys_fremovexattr
    203192	n32	tkill				sys_tkill
    204193	n32	reserved193			sys_ni_syscall
    205194	n32	futex				sys_futex_time32
    206195	n32	sched_setaffinity		compat_sys_sched_setaffinity
    207196	n32	sched_getaffinity		compat_sys_sched_getaffinity
    208197	n32	cacheflush			sys_cacheflush
    209198	n32	cachectl			sys_cachectl
    210199	n32	sysmips				__sys_sysmips
    211200	n32	io_setup			compat_sys_io_setup
    212201	n32	io_destroy			sys_io_destroy
    213202	n32	io_getevents			sys_io_getevents_time32
    214203	n32	io_submit			compat_sys_io_submit
    215204	n32	io_cancel			sys_io_cancel
    216205	n32	exit_group			sys_exit_group
    217206	n32	lookup_dcookie			sys_lookup_dcookie
    218207	n32	epoll_create			sys_epoll_create
    219208	n32	epoll_ctl			sys_epoll_ctl
    220209	n32	epoll_wait			sys_epoll_wait
    221210	n32	remap_file_pages		sys_remap_file_pages
    222211	n32	rt_sigreturn			sysn32_rt_sigreturn
    223212	n32	fcntl64				compat_sys_fcntl64
    224213	n32	set_tid_address			sys_set_tid_address
    225214	n32	restart_syscall			sys_restart_syscall
    226215	n32	semtimedop			sys_semtimedop_time32
    227216	n32	fadvise64			sys_fadvise64_64
    228217	n32	statfs64			compat_sys_statfs64
    229218	n32	fstatfs64			compat_sys_fstatfs64
    230219	n32	sendfile64			sys_sendfile64
    231220	n32	timer_create			compat_sys_timer_create
    232221	n32	timer_settime			sys_timer_settime32
    233222	n32	timer_gettime			sys_timer_gettime32
    234223	n32	timer_getoverrun		sys_timer_getoverrun
    235224	n32	timer_delete			sys_timer_delete
    236225	n32	clock_settime			sys_clock_settime32
    237226	n32	clock_gettime			sys_clock_gettime32
    238227	n32	clock_getres			sys_clock_getres_time32
    239228	n32	clock_nanosleep			sys_clock_nanosleep_time32
    240229	n32	tgkill				sys_tgkill
    241230	n32	utimes				sys_utimes_time32
    242231	n32	mbind				compat_sys_mbind
    243232	n32	get_mempolicy			compat_sys_get_mempolicy
    244233	n32	set_mempolicy			compat_sys_set_mempolicy
    245234	n32	mq_open				compat_sys_mq_open
    246235	n32	mq_unlink			sys_mq_unlink
    247236	n32	mq_timedsend			sys_mq_timedsend_time32
    248237	n32	mq_timedreceive			sys_mq_timedreceive_time32
    249238	n32	mq_notify			compat_sys_mq_notify
    250239	n32	mq_getsetattr			compat_sys_mq_getsetattr
    251240	n32	vserver				sys_ni_syscall
    252241	n32	waitid				compat_sys_waitid
    253# 242 was sys_setaltroot
    254243	n32	add_key				sys_add_key
    255244	n32	request_key			sys_request_key
    256245	n32	keyctl				compat_sys_keyctl
    257246	n32	set_thread_area			sys_set_thread_area
    258247	n32	inotify_init			sys_inotify_init
    259248	n32	inotify_add_watch		sys_inotify_add_watch
    260249	n32	inotify_rm_watch		sys_inotify_rm_watch
    261250	n32	migrate_pages			compat_sys_migrate_pages
    262251	n32	openat				sys_openat
    263252	n32	mkdirat				sys_mkdirat
    264253	n32	mknodat				sys_mknodat
    265254	n32	fchownat			sys_fchownat
    266255	n32	futimesat			sys_futimesat_time32
    267256	n32	newfstatat			sys_newfstatat
    268257	n32	unlinkat			sys_unlinkat
    269258	n32	renameat			sys_renameat
    270259	n32	linkat				sys_linkat
    271260	n32	symlinkat			sys_symlinkat
    272261	n32	readlinkat			sys_readlinkat
    273262	n32	fchmodat			sys_fchmodat
    274263	n32	faccessat			sys_faccessat
    275264	n32	pselect6			compat_sys_pselect6_time32
    276265	n32	ppoll				compat_sys_ppoll_time32
    277266	n32	unshare				sys_unshare
    278267	n32	splice				sys_splice
    279268	n32	sync_file_range			sys_sync_file_range
    280269	n32	tee				sys_tee
    281270	n32	vmsplice			sys_vmsplice
    282271	n32	move_pages			compat_sys_move_pages
    283272	n32	set_robust_list			compat_sys_set_robust_list
    284273	n32	get_robust_list			compat_sys_get_robust_list
    285274	n32	kexec_load			compat_sys_kexec_load
    286275	n32	getcpu				sys_getcpu
    287276	n32	epoll_pwait			compat_sys_epoll_pwait
    288277	n32	ioprio_set			sys_ioprio_set
    289278	n32	ioprio_get			sys_ioprio_get
    290279	n32	utimensat			sys_utimensat_time32
    291280	n32	signalfd			compat_sys_signalfd
    292281	n32	timerfd				sys_ni_syscall
    293282	n32	eventfd				sys_eventfd
    294283	n32	fallocate			sys_fallocate
    295284	n32	timerfd_create			sys_timerfd_create
    296285	n32	timerfd_gettime			sys_timerfd_gettime32
    297286	n32	timerfd_settime			sys_timerfd_settime32
    298287	n32	signalfd4			compat_sys_signalfd4
    299288	n32	eventfd2			sys_eventfd2
    300289	n32	epoll_create1			sys_epoll_create1
    301290	n32	dup3				sys_dup3
    302291	n32	pipe2				sys_pipe2
    303292	n32	inotify_init1			sys_inotify_init1
    304293	n32	preadv				compat_sys_preadv
    305294	n32	pwritev				compat_sys_pwritev
    306295	n32	rt_tgsigqueueinfo		compat_sys_rt_tgsigqueueinfo
    307296	n32	perf_event_open			sys_perf_event_open
    308297	n32	accept4				sys_accept4
    309298	n32	recvmmsg			compat_sys_recvmmsg_time32
    310299	n32	getdents64			sys_getdents64
    311300	n32	fanotify_init			sys_fanotify_init
    312301	n32	fanotify_mark			sys_fanotify_mark
    313302	n32	prlimit64			sys_prlimit64
    314303	n32	name_to_handle_at		sys_name_to_handle_at
    315304	n32	open_by_handle_at		sys_open_by_handle_at
    316305	n32	clock_adjtime			sys_clock_adjtime32
    317306	n32	syncfs				sys_syncfs
    318307	n32	sendmmsg			compat_sys_sendmmsg
    319308	n32	setns				sys_setns
    320309	n32	process_vm_readv		sys_process_vm_readv
    321310	n32	process_vm_writev		sys_process_vm_writev
    322311	n32	kcmp				sys_kcmp
    323312	n32	finit_module			sys_finit_module
    324313	n32	sched_setattr			sys_sched_setattr
    325314	n32	sched_getattr			sys_sched_getattr
    326315	n32	renameat2			sys_renameat2
    327316	n32	seccomp				sys_seccomp
    328317	n32	getrandom			sys_getrandom
    329318	n32	memfd_create			sys_memfd_create
    330319	n32	bpf				sys_bpf
    331320	n32	execveat			compat_sys_execveat
    332321	n32	userfaultfd			sys_userfaultfd
    333322	n32	membarrier			sys_membarrier
    334323	n32	mlock2				sys_mlock2
    335324	n32	copy_file_range			sys_copy_file_range
    336325	n32	preadv2				compat_sys_preadv2
    337326	n32	pwritev2			compat_sys_pwritev2
    338327	n32	pkey_mprotect			sys_pkey_mprotect
    339328	n32	pkey_alloc			sys_pkey_alloc
    340329	n32	pkey_free			sys_pkey_free
    341330	n32	statx				sys_statx
    342331	n32	rseq				sys_rseq
    343332	n32	io_pgetevents			compat_sys_io_pgetevents
    344# 333 through 402 are unassigned to sync up with generic numbers
    345403	n32	clock_gettime64			sys_clock_gettime
    346404	n32	clock_settime64			sys_clock_settime
    347405	n32	clock_adjtime64			sys_clock_adjtime
    348406	n32	clock_getres_time64		sys_clock_getres
    349407	n32	clock_nanosleep_time64		sys_clock_nanosleep
    350408	n32	timer_gettime64			sys_timer_gettime
    351409	n32	timer_settime64			sys_timer_settime
    352410	n32	timerfd_gettime64		sys_timerfd_gettime
    353411	n32	timerfd_settime64		sys_timerfd_settime
    354412	n32	utimensat_time64		sys_utimensat
    355413	n32	pselect6_time64			compat_sys_pselect6_time64
    356414	n32	ppoll_time64			compat_sys_ppoll_time64
    357416	n32	io_pgetevents_time64		sys_io_pgetevents
    358417	n32	recvmmsg_time64			compat_sys_recvmmsg_time64
    359418	n32	mq_timedsend_time64		sys_mq_timedsend
    360419	n32	mq_timedreceive_time64		sys_mq_timedreceive
    361420	n32	semtimedop_time64		sys_semtimedop
    362421	n32	rt_sigtimedwait_time64		compat_sys_rt_sigtimedwait_time64
    363422	n32	futex_time64			sys_futex
    364423	n32	sched_rr_get_interval_time64	sys_sched_rr_get_interval
    365424	n32	pidfd_send_signal		sys_pidfd_send_signal
    366425	n32	io_uring_setup			sys_io_uring_setup
    367426	n32	io_uring_enter			sys_io_uring_enter
    368427	n32	io_uring_register		sys_io_uring_register
    369428	n32	open_tree			sys_open_tree
    370429	n32	move_mount			sys_move_mount
    371430	n32	fsopen				sys_fsopen
    372431	n32	fsconfig			sys_fsconfig
    373432	n32	fsmount				sys_fsmount
    374433	n32	fspick				sys_fspick
    375434	n32	pidfd_open			sys_pidfd_open
    376435	n32	clone3				__sys_clone3
    377436	n32	close_range			sys_close_range
    378437	n32	openat2				sys_openat2
    379438	n32	pidfd_getfd			sys_pidfd_getfd
    380439	n32	faccessat2			sys_faccessat2
    381440	n32	process_madvise			sys_process_madvise
    382441	n32	epoll_pwait2			compat_sys_epoll_pwait2
    383442	n32	mount_setattr			sys_mount_setattr
    384# 443 reserved for quotactl_path
    385444	n32	landlock_create_ruleset		sys_landlock_create_ruleset
    386445	n32	landlock_add_rule		sys_landlock_add_rule
    387446	n32	landlock_restrict_self		sys_landlock_restrict_self