arch/sh/kernel/syscalls/syscall.tbl

Source file repositories/reference/linux-study-clean/arch/sh/kernel/syscalls/syscall.tbl

File Facts

System
Linux kernel
Corpus path
arch/sh/kernel/syscalls/syscall.tbl
Extension
.tbl
Size
17480 bytes
Lines
478
Domain
Architecture Layer
Bucket
arch/sh
Inferred role
Architecture Layer: syscall or user/kernel boundary
Status
core implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
#
# system call numbers and entry vectors for sh
#
# The format is:
# <number> <abi> <name> <entry point>
#
# The <abi> is always "common" for this file
#
0	common	restart_syscall			sys_restart_syscall
1	common	exit				sys_exit
2	common	fork				sys_fork
3	common	read				sys_read
4	common	write				sys_write
5	common	open				sys_open
6	common	close				sys_close
7	common	waitpid				sys_waitpid
8	common	creat				sys_creat
9	common	link				sys_link
10	common	unlink				sys_unlink
11	common	execve				sys_execve
12	common	chdir				sys_chdir
13	common	time				sys_time32
14	common	mknod				sys_mknod
15	common	chmod				sys_chmod
16	common	lchown				sys_lchown16
# 17 was break
18	common	oldstat				sys_stat
19	common	lseek				sys_lseek
20	common	getpid				sys_getpid
21	common	mount				sys_mount
22	common	umount				sys_oldumount
23	common	setuid				sys_setuid16
24	common	getuid				sys_getuid16
25	common	stime				sys_stime32
26	common	ptrace				sys_ptrace
27	common	alarm				sys_alarm
28	common	oldfstat			sys_fstat
29	common	pause				sys_pause
30	common	utime				sys_utime32
# 31 was stty
# 32 was gtty
33	common	access				sys_access
34	common	nice				sys_nice
# 35 was ftime
36	common	sync				sys_sync
37	common	kill				sys_kill
38	common	rename				sys_rename
39	common	mkdir				sys_mkdir
40	common	rmdir				sys_rmdir
41	common	dup				sys_dup
42	common	pipe				sys_sh_pipe
43	common	times				sys_times
# 44 was prof
45	common	brk				sys_brk
46	common	setgid				sys_setgid16
47	common	getgid				sys_getgid16
48	common	signal				sys_signal
49	common	geteuid				sys_geteuid16
50	common	getegid				sys_getegid16
51	common	acct				sys_acct
52	common	umount2				sys_umount
# 53 was lock
54	common	ioctl				sys_ioctl
55	common	fcntl				sys_fcntl
# 56 was mpx
57	common	setpgid				sys_setpgid
# 58 was ulimit
# 59 was olduname
60	common	umask				sys_umask

Annotation

Implementation Notes