tools/scripts/syscall.tbl

Source file repositories/reference/linux-study-clean/tools/scripts/syscall.tbl

File Facts

System
Linux kernel
Corpus path
tools/scripts/syscall.tbl
Extension
.tbl
Size
17616 bytes
Lines
415
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: syscall or user/kernel boundary
Status
core implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
#
# This file contains the system call numbers for all of the
# more recently added architectures.
#
# As a basic principle, no duplication of functionality
# should be added, e.g. we don't use lseek when llseek
# is present. New architectures should use this file
# and implement the less feature-full calls in user space.
#
0	common	io_setup			sys_io_setup			compat_sys_io_setup
1	common	io_destroy			sys_io_destroy
2	common	io_submit			sys_io_submit			compat_sys_io_submit
3	common	io_cancel			sys_io_cancel
4	time32	io_getevents			sys_io_getevents_time32
4	64	io_getevents			sys_io_getevents
5	common	setxattr			sys_setxattr
6	common	lsetxattr			sys_lsetxattr
7	common	fsetxattr			sys_fsetxattr
8	common	getxattr			sys_getxattr
9	common	lgetxattr			sys_lgetxattr
10	common	fgetxattr			sys_fgetxattr
11	common	listxattr			sys_listxattr
12	common	llistxattr			sys_llistxattr
13	common	flistxattr			sys_flistxattr
14	common	removexattr			sys_removexattr
15	common	lremovexattr			sys_lremovexattr
16	common	fremovexattr			sys_fremovexattr
17	common	getcwd				sys_getcwd
18	common	lookup_dcookie			sys_ni_syscall
19	common	eventfd2			sys_eventfd2
20	common	epoll_create1			sys_epoll_create1
21	common	epoll_ctl			sys_epoll_ctl
22	common	epoll_pwait			sys_epoll_pwait			compat_sys_epoll_pwait
23	common	dup				sys_dup
24	common	dup3				sys_dup3
25	32	fcntl64				sys_fcntl64			compat_sys_fcntl64
25	64	fcntl				sys_fcntl
26	common	inotify_init1			sys_inotify_init1
27	common	inotify_add_watch		sys_inotify_add_watch
28	common	inotify_rm_watch		sys_inotify_rm_watch
29	common	ioctl				sys_ioctl			compat_sys_ioctl
30	common	ioprio_set			sys_ioprio_set
31	common	ioprio_get			sys_ioprio_get
32	common	flock				sys_flock
33	common	mknodat				sys_mknodat
34	common	mkdirat				sys_mkdirat
35	common	unlinkat			sys_unlinkat
36	common	symlinkat			sys_symlinkat
37	common	linkat				sys_linkat
# renameat is superseded with flags by renameat2
38	renameat renameat			sys_renameat
39	common	umount2				sys_umount
40	common	mount				sys_mount
41	common	pivot_root			sys_pivot_root
42	common	nfsservctl			sys_ni_syscall
43	32	statfs64			sys_statfs64			compat_sys_statfs64
43	64	statfs				sys_statfs
44	32	fstatfs64			sys_fstatfs64			compat_sys_fstatfs64
44	64	fstatfs				sys_fstatfs
45	32	truncate64			sys_truncate64			compat_sys_truncate64
45	64	truncate			sys_truncate
46	32	ftruncate64			sys_ftruncate64			compat_sys_ftruncate64
46	64	ftruncate			sys_ftruncate
47	common	fallocate			sys_fallocate			compat_sys_fallocate
48	common	faccessat			sys_faccessat
49	common	chdir				sys_chdir
50	common	fchdir				sys_fchdir
51	common	chroot				sys_chroot
52	common	fchmod				sys_fchmod

Annotation

Implementation Notes