Skip to content

Instantly share code, notes, and snippets.

@alban
Created November 7, 2022 17:37
Show Gist options
  • Save alban/aa664b3c46aaf24aeb69caae29a01ae5 to your computer and use it in GitHub Desktop.
Save alban/aa664b3c46aaf24aeb69caae29a01ae5 to your computer and use it in GitHub Desktop.
Linux syscall names sorted by the length of the name
3 bpf
3 brk
3 dup
3 ipc
3 mpx
3 tee
4 acct
4 bind
4 dup2
4 dup3
4 exit
4 fork
4 gtty
4 idle
4 iopl
4 kcmp
4 kill
4 link
4 lock
4 mmap
4 nice
4 open
4 pipe
4 poll
4 prof
4 read
4 recv
4 rseq
4 rtas
4 send
4 stat
4 stty
4 sync
4 time
4 vm86
5 alarm
5 break
5 chdir
5 chmod
5 chown
5 clone
5 close
5 creat
5 fcntl
5 flock
5 fstat
5 fsync
5 ftime
5 futex
5 ioctl
5 lseek
5 lstat
5 mbind
5 mkdir
5 mknod
5 mlock
5 mmap2
5 mount
5 msync
5 pause
5 pipe2
5 ppoll
5 prctl
5 readv
5 rmdir
5 semop
5 setns
5 shmat
5 shmdt
5 statx
5 stime
5 sysfs
5 times
5 tkill
5 umask
5 uname
5 usr26
5 usr32
5 ustat
5 utime
5 vfork
5 wait4
5 write
6 accept
6 access
6 capget
6 capset
6 chroot
6 clone3
6 execve
6 fchdir
6 fchmod
6 fchown
6 fsopen
6 fspick
6 getcpu
6 getcwd
6 getgid
6 getpid
6 getsid
6 gettid
6 getuid
6 ioperm
6 keyctl
6 lchown
6 linkat
6 listen
6 mlock2
6 mremap
6 msgctl
6 msgget
6 msgrcv
6 msgsnd
6 munmap
6 openat
6 preadv
6 profil
6 ptrace
6 reboot
6 rename
6 select
6 semctl
6 semget
6 sendto
6 setgid
6 setsid
6 setuid
6 shmctl
6 shmget
6 signal
6 socket
6 splice
6 stat64
6 statfs
6 swapon
6 syncfs
6 syslog
6 tgkill
6 ulimit
6 umount
6 unlink
6 uselib
6 utimes
6 waitid
6 writev
7 accept4
7 add_key
7 bdflush
7 chown32
7 connect
7 eventfd
7 fcntl64
7 fsmount
7 fstat64
7 fstatfs
7 getegid
7 geteuid
7 getpgid
7 getpgrp
7 getpmsg
7 getppid
7 get_tls
7 _llseek
7 lstat64
7 madvise
7 mincore
7 mkdirat
7 mknodat
7 mq_open
7 munlock
7 oldstat
7 openat2
7 pread64
7 preadv2
7 putpmsg
7 pwritev
7 readdir
7 recvmsg
7 seccomp
7 sendmsg
7 setpgid
7 set_tls
7 spu_run
7 swapoff
7 symlink
7 syscall
7 _sysctl
7 sysinfo
7 sysmips
7 timerfd
7 tuxcall
7 umount2
7 unshare
7 vhangup
7 vm86old
7 vserver
7 waitpid
8 adjtimex
8 cachectl
8 eventfd2
8 execveat
8 fchmodat
8 fchown32
8 fchownat
8 fsconfig
8 getdents
8 getgid32
8 getuid32
8 getxattr
8 io_setup
8 lchown32
8 mlockall
8 mprotect
8 oldfstat
8 oldlstat
8 olduname
8 pselect6
8 pwrite64
8 pwritev2
8 quotactl
8 readlink
8 recvfrom
8 recvmmsg
8 renameat
8 security
8 sendfile
8 sendmmsg
8 setfsgid
8 setfsuid
8 setgid32
8 setregid
8 setreuid
8 setuid32
8 setxattr
8 sgetmask
8 shutdown
8 signalfd
8 ssetmask
8 statfs64
8 truncate
8 unlinkat
8 vmsplice
9 epoll_ctl
9 faccessat
9 fadvise64
9 fallocate
9 fdatasync
9 fgetxattr
9 fsetxattr
9 fstatat64
9 fstatfs64
9 ftruncate
9 futimesat
9 getegid32
9 geteuid32
9 getgroups
9 getitimer
9 getrandom
9 getresgid
9 getresuid
9 getrlimit
9 getrusage
9 io_cancel
9 io_submit
9 lgetxattr
9 listxattr
9 lsetxattr
9 mq_notify
9 mq_unlink
9 nanosleep
9 open_tree
9 pkey_free
9 prlimit64
9 readahead
9 renameat2
9 setgroups
9 setitimer
9 setresgid
9 setresuid
9 setrlimit
9 sigaction
9 signalfd4
9 sigreturn
9 symlinkat
9 utimensat
10 arch_prctl
10 breakpoint
10 cacheflush
10 epoll_wait
10 exit_group
10 faccessat2
10 flistxattr
10 getdents64
10 getsockopt
10 io_destroy
10 ioprio_get
10 ioprio_set
10 kexec_load
10 llistxattr
10 membarrier
10 modify_ldt
10 move_mount
10 move_pages
10 munlockall
10 newfstatat
10 _newselect
10 nfsservctl
10 pidfd_open
10 pivot_root
10 pkey_alloc
10 readlinkat
10 s390_sthyi
10 semtimedop
10 sendfile64
10 setfsgid32
10 setfsuid32
10 setregid32
10 setreuid32
10 setsockopt
10 sigpending
10 sigsuspend
10 socketcall
10 socketpair
10 spu_create
10 truncate64
10 ugetrlimit
11 afs_syscall
11 close_range
11 epoll_pwait
11 ftruncate64
11 futex_waitv
11 getgroups32
11 getpeername
11 getpriority
11 getresgid32
11 getresuid32
11 getsockname
11 init_module
11 multiplexer
11 oldolduname
11 personality
11 pidfd_getfd
11 quotactl_fd
11 removexattr
11 request_key
11 sched_yield
11 setgroups32
11 sethostname
11 setpriority
11 setresgid32
11 setresuid32
11 sigaltstack
11 sigprocmask
11 swapcontext
11 userfaultfd
12 clock_getres
12 epoll_create
12 epoll_pwait2
12 fadvise64_64
12 finit_module
12 fremovexattr
12 futex_time64
12 gettimeofday
12 inotify_init
12 io_getevents
12 lremovexattr
12 memfd_create
12 memfd_secret
12 mq_timedsend
12 ppoll_time64
12 query_module
12 rt_sigaction
12 rt_sigreturn
12 settimeofday
12 subpage_prot
12 timer_create
12 timer_delete
13 clock_adjtime
13 clock_gettime
13 clock_settime
13 create_module
13 delete_module
13 epoll_create1
13 epoll_ctl_old
13 fanotify_init
13 fanotify_mark
13 get_mempolicy
13 inotify_init1
13 io_pgetevents
13 migrate_pages
13 mount_setattr
13 mq_getsetattr
13 pkey_mprotect
13 rt_sigpending
13 rt_sigsuspend
13 sched_getattr
13 sched_setattr
13 setdomainname
13 set_mempolicy
13 switch_endian
13 timer_gettime
13 timer_settime
14 epoll_wait_old
14 io_uring_enter
14 io_uring_setup
14 lookup_dcookie
14 pciconfig_read
14 rt_sigprocmask
14 sched_getparam
14 sched_setparam
14 timerfd_create
15 clock_adjtime64
15 clock_gettime64
15 clock_nanosleep
15 clock_settime64
15 copy_file_range
15 get_kernel_syms
15 get_robust_list
15 get_thread_area
15 kexec_file_load
15 mq_timedreceive
15 pciconfig_write
15 perf_event_open
15 process_madvise
15 pselect6_time64
15 recvmmsg_time64
15 restart_syscall
15 rt_sigqueueinfo
15 rt_sigtimedwait
15 set_robust_list
15 set_thread_area
15 set_tid_address
15 sync_file_range
15 timerfd_gettime
15 timerfd_settime
15 timer_gettime64
15 timer_settime64
16 arm_fadvise64_64
16 inotify_rm_watch
16 pciconfig_iobase
16 process_mrelease
16 process_vm_readv
16 remap_file_pages
16 sync_file_range2
16 timer_getoverrun
16 utimensat_time64
17 inotify_add_watch
17 io_uring_register
17 landlock_add_rule
17 name_to_handle_at
17 open_by_handle_at
17 pidfd_send_signal
17 process_vm_writev
17 rt_tgsigqueueinfo
17 sched_getaffinity
17 sched_setaffinity
17 semtimedop_time64
17 timerfd_gettime64
17 timerfd_settime64
18 riscv_flush_icache
18 s390_pci_mmio_read
18 s390_runtime_instr
18 sched_getscheduler
18 sched_setscheduler
19 arm_sync_file_range
19 clock_getres_time64
19 mq_timedsend_time64
19 s390_pci_mmio_write
20 io_pgetevents_time64
20 s390_guarded_storage
20 sys_debug_setcontext
21 sched_rr_get_interval
22 clock_nanosleep_time64
22 landlock_restrict_self
22 mq_timedreceive_time64
22 rt_sigtimedwait_time64
22 sched_get_priority_max
22 sched_get_priority_min
23 landlock_create_ruleset
23 set_mempolicy_home_node
28 sched_rr_get_interval_time64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment