Linux System Call Table

These are the system call numbers (NR) and their corresponding symbolic names.

These vary significantly across architectures/ABIs, both in mappings and in actual name.

This is a quick reference for people debugging things (e.g. seccomp failures).

For more details on syscalls in general, see the syscall(2) man page.

aad0d1aas0

aaae0d3e0s2e0e2d4

Random Names

Depending on the environment you're in, syscall names might use slightly different naming conventions.

The kernel headers (e.g. asm/unistd.h) use names like __NR_xxx, but don't provide any other utility code. The C library headers (e.g. syscall.h & sys/syscall.h) use names like SYS_xxx with the intention they be used with syscall(...). These defines will be exactly the same -- so __NR_foo will have the same value as SYS_foo.

Which one a developer chooses to use is a bit arbitrary, and most likely belies their background (with kernel developers tending towards __NR_xxx). If you're writing userland C code and the syscall(...) function, you probably should stick to SYS_xxx instead.

The short name “NR” itself just refers to “number”. You might see “syscall number” and “NR” and “syscall NR” used interchangeably.

Another fun difference is that some architectures namespace syscalls that are specific to their port in some way. Or they don‘t. It’s another situation of different kernel maintainers making different choices and there not being a central authority who noticed & enforced things. For example, ARM has a few __ARM_NR_xxx syscalls that they consider “private”, and they have a few __NR_arm_xxx syscalls to indicate that they have a custom wrapper around the xxx syscall!

Another edge case to keep in mind is that different architectures might use the same name for different entry points. It‘s uncommon, but can come up when looking at syscalls with variants. For example, an older architecture port might have setuid & setuid32 while newer ones only have setuid. The older port’s setuid takes a 16-bit argument while the newer port's setuid takes a 32-bit argument and is equivalent to setuid32. There are many parallels with filesystem calls like statfs & statfs64.

Kernel Implementations

The cs/ links to kernel sources are mostly best effort. They focus on the common C entry point, but depending on your execution environment, that might not be the first place the kernel executes. Unfortunately, they‘re Google-internal only currently as we haven’t found any good public indexes to point to instead.

Every architecture may point a syscall from its initial entry point to custom trampoline code. For example, ARM‘s fstatfs64 implementation starts execution in sys_fstatfs64_wrapper which lives under arch/arm/ as assembly code. That in turn calls sys_fstatfs64 which is C code in the common fs/ tree. Usually these trampolines are not complicated, but they might add an extra check to overall execution. If you’re seeing confusing behavior related to the C code, you might want to dive deeper.

When working with 32-bit ABIs on 64-bit kernels, you might run into the syscall compat layers which try to swizzle structures. This shows up a lot on x86 & ARM systems where the userland is 32-bit but the kernel is 64-bit. These will use conventions like compat_sys_xxx instead of sys_xxx, and COMPAT_SYSCALL_XXX wrappers instead of SYSCALL_XXX. They‘re responsible for taking the 32-bit structures from userland, converting them to the 64-bit structures the kernel uses, then calling the 64-bit C code. Normally this conversion is not a problem, but if the code detects issues with the data structures, it’ll error out before the common implementation of the syscall is ever executed.

The Android/ARC++ container executes under the alt-syscall layer. This allows defining of a custom syscall table for the purpose of hard disabling any syscalls for all processes (without needing seccomp), or for adding extra checks to the entry/exit points of the common implementation, or stubbing things out regardless of any arguments. All of this code will run before the common implementation of the syscall is ever executed. Since the tables are hand maintained in our kernel (and not upstream), new syscalls aren‘t added to the whitelist automatically, so you might see confusing errors like ENOSYS, but only when run inside of the container. If you’re seeing misbehavior, you should check to see if alt-syscall is enabled for the process, and if so, look at the wrappers under security/chromiumos/.

Calling Conventions

Here's a cheat sheet for the syscall calling convention for arches supported by Chrome OS. These are useful when looking at seccomp failures in minidumps.

This is only meant as a cheat sheet for people writing seccomp filters, or similar low level tools. It is not a complete reference for the entire calling convention for each architecture as that can be extremely nuanced & complicated. If you need that level of detail, you should start with the syscall(2) notes, and then check out the respective psABI (Processor Specific Application Binary Interface) supplemental chapters.

The arg0 names below match minijail‘s seccomp filter syntax. It’s not uncommon for source code to count from 1 instead of 0, so be aware as you go spelunking into implementations.
arch syscall NR return arg0 arg1 arg2 arg3 arg4 arg5
arm r7 r0 r0 r1 r2 r3 r4 r5
arm64 x8 x0 x0 x1 x2 x3 x4 x5
x86 eax eax ebx ecx edx esi edi ebp
x86_64 rax rax rdi rsi rdx r10 r8 r9

Tables

x86_64 (64-bit)

Compiled from Linux 4.14.0 headers.

NR syscall name references %rax arg0 (%rdi) arg1 (%rsi) arg2 (%rdx) arg3 (%r10) arg4 (%r8) arg5 (%r9)
0 read man/ cs/ 0x00 unsigned int fd char *buf size_t count - - -
1 write man/ cs/ 0x01 unsigned int fd const char *buf size_t count - - -
2 open man/ cs/ 0x02 const char *filename int flags umode_t mode - - -
3 close man/ cs/ 0x03 unsigned int fd - - - - -
4 stat man/ cs/ 0x04 const char *filename struct __old_kernel_stat *statbuf - - - -
5 fstat man/ cs/ 0x05 unsigned int fd struct __old_kernel_stat *statbuf - - - -
6 lstat man/ cs/ 0x06 const char *filename struct __old_kernel_stat *statbuf - - - -
7 poll man/ cs/ 0x07 struct pollfd *ufds unsigned int nfds int timeout - - -
8 lseek man/ cs/ 0x08 unsigned int fd off_t offset unsigned int whence - - -
9 mmap man/ cs/ 0x09 ? ? ? ? ? ?
10 mprotect man/ cs/ 0x0a unsigned long start size_t len unsigned long prot - - -
11 munmap man/ cs/ 0x0b unsigned long addr size_t len - - - -
12 brk man/ cs/ 0x0c unsigned long brk - - - - -
13 rt_sigaction man/ cs/ 0x0d int const struct sigaction * struct sigaction * size_t - -
14 rt_sigprocmask man/ cs/ 0x0e int how sigset_t *set sigset_t *oset size_t sigsetsize - -
15 rt_sigreturn man/ cs/ 0x0f ? ? ? ? ? ?
16 ioctl man/ cs/ 0x10 unsigned int fd unsigned int cmd unsigned long arg - - -
17 pread64 man/ cs/ 0x11 unsigned int fd char *buf size_t count loff_t pos - -
18 pwrite64 man/ cs/ 0x12 unsigned int fd const char *buf size_t count loff_t pos - -
19 readv man/ cs/ 0x13 unsigned long fd const struct iovec *vec unsigned long vlen - - -
20 writev man/ cs/ 0x14 unsigned long fd const struct iovec *vec unsigned long vlen - - -
21 access man/ cs/ 0x15 const char *filename int mode - - - -
22 pipe man/ cs/ 0x16 int *fildes - - - - -
23 select man/ cs/ 0x17 int n fd_set *inp fd_set *outp fd_set *exp struct timeval *tvp -
24 sched_yield man/ cs/ 0x18 - - - - - -
25 mremap man/ cs/ 0x19 unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr -
26 msync man/ cs/ 0x1a unsigned long start size_t len int flags - - -
27 mincore man/ cs/ 0x1b unsigned long start size_t len unsigned char * vec - - -
28 madvise man/ cs/ 0x1c unsigned long start size_t len int behavior - - -
29 shmget man/ cs/ 0x1d key_t key size_t size int flag - - -
30 shmat man/ cs/ 0x1e int shmid char *shmaddr int shmflg - - -
31 shmctl man/ cs/ 0x1f int shmid int cmd struct shmid_ds *buf - - -
32 dup man/ cs/ 0x20 unsigned int fildes - - - - -
33 dup2 man/ cs/ 0x21 unsigned int oldfd unsigned int newfd - - - -
34 pause man/ cs/ 0x22 - - - - - -
35 nanosleep man/ cs/ 0x23 struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - - - -
36 getitimer man/ cs/ 0x24 int which struct itimerval *value - - - -
37 alarm man/ cs/ 0x25 unsigned int seconds - - - - -
38 setitimer man/ cs/ 0x26 int which struct itimerval *value struct itimerval *ovalue - - -
39 getpid man/ cs/ 0x27 - - - - - -
40 sendfile man/ cs/ 0x28 int out_fd int in_fd off_t *offset size_t count - -
41 socket man/ cs/ 0x29 int int int - - -
42 connect man/ cs/ 0x2a int struct sockaddr * int - - -
43 accept man/ cs/ 0x2b int struct sockaddr * int * - - -
44 sendto man/ cs/ 0x2c int void * size_t unsigned struct sockaddr * int
45 recvfrom man/ cs/ 0x2d int void * size_t unsigned struct sockaddr * int *
46 sendmsg man/ cs/ 0x2e int fd struct user_msghdr *msg unsigned flags - - -
47 recvmsg man/ cs/ 0x2f int fd struct user_msghdr *msg unsigned flags - - -
48 shutdown man/ cs/ 0x30 int int - - - -
49 bind man/ cs/ 0x31 int struct sockaddr * int - - -
50 listen man/ cs/ 0x32 int int - - - -
51 getsockname man/ cs/ 0x33 int struct sockaddr * int * - - -
52 getpeername man/ cs/ 0x34 int struct sockaddr * int * - - -
53 socketpair man/ cs/ 0x35 int int int int * - -
54 setsockopt man/ cs/ 0x36 int fd int level int optname char *optval int optlen -
55 getsockopt man/ cs/ 0x37 int fd int level int optname char *optval int *optlen -
56 clone man/ cs/ 0x38 unsigned long unsigned long int * int * unsigned long -
57 fork man/ cs/ 0x39 - - - - - -
58 vfork man/ cs/ 0x3a - - - - - -
59 execve man/ cs/ 0x3b const char *filename const char *const *argv const char *const *envp - - -
60 exit man/ cs/ 0x3c int error_code - - - - -
61 wait4 man/ cs/ 0x3d pid_t pid int *stat_addr int options struct rusage *ru - -
62 kill man/ cs/ 0x3e pid_t pid int sig - - - -
63 uname man/ cs/ 0x3f struct old_utsname * - - - - -
64 semget man/ cs/ 0x40 key_t key int nsems int semflg - - -
65 semop man/ cs/ 0x41 int semid struct sembuf *sops unsigned nsops - - -
66 semctl man/ cs/ 0x42 int semid int semnum int cmd unsigned long arg - -
67 shmdt man/ cs/ 0x43 char *shmaddr - - - - -
68 msgget man/ cs/ 0x44 key_t key int msgflg - - - -
69 msgsnd man/ cs/ 0x45 int msqid struct msgbuf *msgp size_t msgsz int msgflg - -
70 msgrcv man/ cs/ 0x46 int msqid struct msgbuf *msgp size_t msgsz long msgtyp int msgflg -
71 msgctl man/ cs/ 0x47 int msqid int cmd struct msqid_ds *buf - - -
72 fcntl man/ cs/ 0x48 unsigned int fd unsigned int cmd unsigned long arg - - -
73 flock man/ cs/ 0x49 unsigned int fd unsigned int cmd - - - -
74 fsync man/ cs/ 0x4a unsigned int fd - - - - -
75 fdatasync man/ cs/ 0x4b unsigned int fd - - - - -
76 truncate man/ cs/ 0x4c const char *path long length - - - -
77 ftruncate man/ cs/ 0x4d unsigned int fd unsigned long length - - - -
78 getdents man/ cs/ 0x4e unsigned int fd struct linux_dirent *dirent unsigned int count - - -
79 getcwd man/ cs/ 0x4f char *buf unsigned long size - - - -
80 chdir man/ cs/ 0x50 const char *filename - - - - -
81 fchdir man/ cs/ 0x51 unsigned int fd - - - - -
82 rename man/ cs/ 0x52 const char *oldname const char *newname - - - -
83 mkdir man/ cs/ 0x53 const char *pathname umode_t mode - - - -
84 rmdir man/ cs/ 0x54 const char *pathname - - - - -
85 creat man/ cs/ 0x55 const char *pathname umode_t mode - - - -
86 link man/ cs/ 0x56 const char *oldname const char *newname - - - -
87 unlink man/ cs/ 0x57 const char *pathname - - - - -
88 symlink man/ cs/ 0x58 const char *old const char *new - - - -
89 readlink man/ cs/ 0x59 const char *path char *buf int bufsiz - - -
90 chmod man/ cs/ 0x5a const char *filename umode_t mode - - - -
91 fchmod man/ cs/ 0x5b unsigned int fd umode_t mode - - - -
92 chown man/ cs/ 0x5c const char *filename uid_t user gid_t group - - -
93 fchown man/ cs/ 0x5d unsigned int fd uid_t user gid_t group - - -
94 lchown man/ cs/ 0x5e const char *filename uid_t user gid_t group - - -
95 umask man/ cs/ 0x5f int mask - - - - -
96 gettimeofday man/ cs/ 0x60 struct timeval *tv struct timezone *tz - - - -
97 getrlimit man/ cs/ 0x61 unsigned int resource struct rlimit *rlim - - - -
98 getrusage man/ cs/ 0x62 int who struct rusage *ru - - - -
99 sysinfo man/ cs/ 0x63 struct sysinfo *info - - - - -
100 times man/ cs/ 0x64 struct tms *tbuf - - - - -
101 ptrace man/ cs/ 0x65 long request long pid unsigned long addr unsigned long data - -
102 getuid man/ cs/ 0x66 - - - - - -
103 syslog man/ cs/ 0x67 int type char *buf int len - - -
104 getgid man/ cs/ 0x68 - - - - - -
105 setuid man/ cs/ 0x69 uid_t uid - - - - -
106 setgid man/ cs/ 0x6a gid_t gid - - - - -
107 geteuid man/ cs/ 0x6b - - - - - -
108 getegid man/ cs/ 0x6c - - - - - -
109 setpgid man/ cs/ 0x6d pid_t pid pid_t pgid - - - -
110 getppid man/ cs/ 0x6e - - - - - -
111 getpgrp man/ cs/ 0x6f - - - - - -
112 setsid man/ cs/ 0x70 - - - - - -
113 setreuid man/ cs/ 0x71 uid_t ruid uid_t euid - - - -
114 setregid man/ cs/ 0x72 gid_t rgid gid_t egid - - - -
115 getgroups man/ cs/ 0x73 int gidsetsize gid_t *grouplist - - - -
116 setgroups man/ cs/ 0x74 int gidsetsize gid_t *grouplist - - - -
117 setresuid man/ cs/ 0x75 uid_t ruid uid_t euid uid_t suid - - -
118 getresuid man/ cs/ 0x76 uid_t *ruid uid_t *euid uid_t *suid - - -
119 setresgid man/ cs/ 0x77 gid_t rgid gid_t egid gid_t sgid - - -
120 getresgid man/ cs/ 0x78 gid_t *rgid gid_t *egid gid_t *sgid - - -
121 getpgid man/ cs/ 0x79 pid_t pid - - - - -
122 setfsuid man/ cs/ 0x7a uid_t uid - - - - -
123 setfsgid man/ cs/ 0x7b gid_t gid - - - - -
124 getsid man/ cs/ 0x7c pid_t pid - - - - -
125 capget man/ cs/ 0x7d cap_user_header_t header cap_user_data_t dataptr - - - -
126 capset man/ cs/ 0x7e cap_user_header_t header const cap_user_data_t data - - - -
127 rt_sigpending man/ cs/ 0x7f sigset_t *set size_t sigsetsize - - - -
128 rt_sigtimedwait man/ cs/ 0x80 const sigset_t *uthese siginfo_t *uinfo const struct timespec *uts size_t sigsetsize - -
129 rt_sigqueueinfo man/ cs/ 0x81 pid_t pid int sig siginfo_t *uinfo - - -
130 rt_sigsuspend man/ cs/ 0x82 sigset_t *unewset size_t sigsetsize - - - -
131 sigaltstack man/ cs/ 0x83 const struct sigaltstack *uss struct sigaltstack *uoss - - - -
132 utime man/ cs/ 0x84 char *filename struct utimbuf *times - - - -
133 mknod man/ cs/ 0x85 const char *filename umode_t mode unsigned dev - - -
134 uselib man/ cs/ 0x86 const char *library - - - - -
135 personality man/ cs/ 0x87 unsigned int personality - - - - -
136 ustat man/ cs/ 0x88 unsigned dev struct ustat *ubuf - - - -
137 statfs man/ cs/ 0x89 const char * path struct statfs *buf - - - -
138 fstatfs man/ cs/ 0x8a unsigned int fd struct statfs *buf - - - -
139 sysfs man/ cs/ 0x8b int option unsigned long arg1 unsigned long arg2 - - -
140 getpriority man/ cs/ 0x8c int which int who - - - -
141 setpriority man/ cs/ 0x8d int which int who int niceval - - -
142 sched_setparam man/ cs/ 0x8e pid_t pid struct sched_param *param - - - -
143 sched_getparam man/ cs/ 0x8f pid_t pid struct sched_param *param - - - -
144 sched_setscheduler man/ cs/ 0x90 pid_t pid int policy struct sched_param *param - - -
145 sched_getscheduler man/ cs/ 0x91 pid_t pid - - - - -
146 sched_get_priority_max man/ cs/ 0x92 int policy - - - - -
147 sched_get_priority_min man/ cs/ 0x93 int policy - - - - -
148 sched_rr_get_interval man/ cs/ 0x94 pid_t pid struct timespec *interval - - - -
149 mlock man/ cs/ 0x95 unsigned long start size_t len - - - -
150 munlock man/ cs/ 0x96 unsigned long start size_t len - - - -
151 mlockall man/ cs/ 0x97 int flags - - - - -
152 munlockall man/ cs/ 0x98 - - - - - -
153 vhangup man/ cs/ 0x99 - - - - - -
154 modify_ldt man/ cs/ 0x9a ? ? ? ? ? ?
155 pivot_root man/ cs/ 0x9b const char *new_root const char *put_old - - - -
156 _sysctl man/ cs/ 0x9c ? ? ? ? ? ?
157 prctl man/ cs/ 0x9d int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
158 arch_prctl man/ cs/ 0x9e ? ? ? ? ? ?
159 adjtimex man/ cs/ 0x9f struct timex *txc_p - - - - -
160 setrlimit man/ cs/ 0xa0 unsigned int resource struct rlimit *rlim - - - -
161 chroot man/ cs/ 0xa1 const char *filename - - - - -
162 sync man/ cs/ 0xa2 - - - - - -
163 acct man/ cs/ 0xa3 const char *name - - - - -
164 settimeofday man/ cs/ 0xa4 struct timeval *tv struct timezone *tz - - - -
165 mount man/ cs/ 0xa5 char *dev_name char *dir_name char *type unsigned long flags void *data -
166 umount2 man/ cs/ 0xa6 ? ? ? ? ? ?
167 swapon man/ cs/ 0xa7 const char *specialfile int swap_flags - - - -
168 swapoff man/ cs/ 0xa8 const char *specialfile - - - - -
169 reboot man/ cs/ 0xa9 int magic1 int magic2 unsigned int cmd void *arg - -
170 sethostname man/ cs/ 0xaa char *name int len - - - -
171 setdomainname man/ cs/ 0xab char *name int len - - - -
172 iopl man/ cs/ 0xac ? ? ? ? ? ?
173 ioperm man/ cs/ 0xad unsigned long from unsigned long num int on - - -
174 create_module man/ cs/ 0xae ? ? ? ? ? ?
175 init_module man/ cs/ 0xaf void *umod unsigned long len const char *uargs - - -
176 delete_module man/ cs/ 0xb0 const char *name_user unsigned int flags - - - -
177 get_kernel_syms man/ cs/ 0xb1 ? ? ? ? ? ?
178 query_module man/ cs/ 0xb2 ? ? ? ? ? ?
179 quotactl man/ cs/ 0xb3 unsigned int cmd const char *special qid_t id void *addr - -
180 nfsservctl man/ cs/ 0xb4 ? ? ? ? ? ?
181 getpmsg man/ cs/ 0xb5 ? ? ? ? ? ?
182 putpmsg man/ cs/ 0xb6 ? ? ? ? ? ?
183 afs_syscall man/ cs/ 0xb7 ? ? ? ? ? ?
184 tuxcall man/ cs/ 0xb8 ? ? ? ? ? ?
185 security man/ cs/ 0xb9 ? ? ? ? ? ?
186 gettid man/ cs/ 0xba - - - - - -
187 readahead man/ cs/ 0xbb int fd loff_t offset size_t count - - -
188 setxattr man/ cs/ 0xbc const char *path const char *name const void *value size_t size int flags -
189 lsetxattr man/ cs/ 0xbd const char *path const char *name const void *value size_t size int flags -
190 fsetxattr man/ cs/ 0xbe int fd const char *name const void *value size_t size int flags -
191 getxattr man/ cs/ 0xbf const char *path const char *name void *value size_t size - -
192 lgetxattr man/ cs/ 0xc0 const char *path const char *name void *value size_t size - -
193 fgetxattr man/ cs/ 0xc1 int fd const char *name void *value size_t size - -
194 listxattr man/ cs/ 0xc2 const char *path char *list size_t size - - -
195 llistxattr man/ cs/ 0xc3 const char *path char *list size_t size - - -
196 flistxattr man/ cs/ 0xc4 int fd char *list size_t size - - -
197 removexattr man/ cs/ 0xc5 const char *path const char *name - - - -
198 lremovexattr man/ cs/ 0xc6 const char *path const char *name - - - -
199 fremovexattr man/ cs/ 0xc7 int fd const char *name - - - -
200 tkill man/ cs/ 0xc8 pid_t pid int sig - - - -
201 time man/ cs/ 0xc9 time_t *tloc - - - - -
202 futex man/ cs/ 0xca u32 *uaddr int op u32 val struct timespec *utime u32 *uaddr2 u32 val3
203 sched_setaffinity man/ cs/ 0xcb pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
204 sched_getaffinity man/ cs/ 0xcc pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
205 set_thread_area man/ cs/ 0xcd ? ? ? ? ? ?
206 io_setup man/ cs/ 0xce unsigned nr_reqs aio_context_t *ctx - - - -
207 io_destroy man/ cs/ 0xcf aio_context_t ctx - - - - -
208 io_getevents man/ cs/ 0xd0 aio_context_t ctx_id long min_nr long nr struct io_event *events struct timespec *timeout -
209 io_submit man/ cs/ 0xd1 aio_context_t long struct iocb * * - - -
210 io_cancel man/ cs/ 0xd2 aio_context_t ctx_id struct iocb *iocb struct io_event *result - - -
211 get_thread_area man/ cs/ 0xd3 ? ? ? ? ? ?
212 lookup_dcookie man/ cs/ 0xd4 u64 cookie64 char *buf size_t len - - -
213 epoll_create man/ cs/ 0xd5 int size - - - - -
214 epoll_ctl_old man/ cs/ 0xd6 ? ? ? ? ? ?
215 epoll_wait_old man/ cs/ 0xd7 ? ? ? ? ? ?
216 remap_file_pages man/ cs/ 0xd8 unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags -
217 getdents64 man/ cs/ 0xd9 unsigned int fd struct linux_dirent64 *dirent unsigned int count - - -
218 set_tid_address man/ cs/ 0xda int *tidptr - - - - -
219 restart_syscall man/ cs/ 0xdb - - - - - -
220 semtimedop man/ cs/ 0xdc int semid struct sembuf *sops unsigned nsops const struct __kernel_timespec *timeout - -
221 fadvise64 man/ cs/ 0xdd int fd loff_t offset size_t len int advice - -
222 timer_create man/ cs/ 0xde clockid_t which_clock struct sigevent *timer_event_spec timer_t * created_timer_id - - -
223 timer_settime man/ cs/ 0xdf timer_t timer_id int flags const struct __kernel_itimerspec *new_setting struct itimerspec *old_setting - -
224 timer_gettime man/ cs/ 0xe0 timer_t timer_id struct __kernel_itimerspec *setting - - - -
225 timer_getoverrun man/ cs/ 0xe1 timer_t timer_id - - - - -
226 timer_delete man/ cs/ 0xe2 timer_t timer_id - - - - -
227 clock_settime man/ cs/ 0xe3 clockid_t which_clock const struct __kernel_timespec *tp - - - -
228 clock_gettime man/ cs/ 0xe4 clockid_t which_clock struct __kernel_timespec *tp - - - -
229 clock_getres man/ cs/ 0xe5 clockid_t which_clock struct __kernel_timespec *tp - - - -
230 clock_nanosleep man/ cs/ 0xe6 clockid_t which_clock int flags const struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - -
231 exit_group man/ cs/ 0xe7 int error_code - - - - -
232 epoll_wait man/ cs/ 0xe8 int epfd struct epoll_event *events int maxevents int timeout - -
233 epoll_ctl man/ cs/ 0xe9 int epfd int op int fd struct epoll_event *event - -
234 tgkill man/ cs/ 0xea pid_t tgid pid_t pid int sig - - -
235 utimes man/ cs/ 0xeb char *filename struct timeval *utimes - - - -
236 vserver man/ cs/ 0xec ? ? ? ? ? ?
237 mbind man/ cs/ 0xed unsigned long start unsigned long len unsigned long mode const unsigned long *nmask unsigned long maxnode unsigned flags
238 set_mempolicy man/ cs/ 0xee int mode const unsigned long *nmask unsigned long maxnode - - -
239 get_mempolicy man/ cs/ 0xef int *policy unsigned long *nmask unsigned long maxnode unsigned long addr unsigned long flags -
240 mq_open man/ cs/ 0xf0 const char *name int oflag umode_t mode struct mq_attr *attr - -
241 mq_unlink man/ cs/ 0xf1 const char *name - - - - -
242 mq_timedsend man/ cs/ 0xf2 mqd_t mqdes const char *msg_ptr size_t msg_len unsigned int msg_prio const struct __kernel_timespec *abs_timeout -
243 mq_timedreceive man/ cs/ 0xf3 mqd_t mqdes char *msg_ptr size_t msg_len unsigned int *msg_prio const struct __kernel_timespec *abs_timeout -
244 mq_notify man/ cs/ 0xf4 mqd_t mqdes const struct sigevent *notification - - - -
245 mq_getsetattr man/ cs/ 0xf5 mqd_t mqdes const struct mq_attr *mqstat struct mq_attr *omqstat - - -
246 kexec_load man/ cs/ 0xf6 unsigned long entry unsigned long nr_segments struct kexec_segment *segments unsigned long flags - -
247 waitid man/ cs/ 0xf7 int which pid_t pid struct siginfo *infop int options struct rusage *ru -
248 add_key man/ cs/ 0xf8 const char *_type const char *_description const void *_payload size_t plen key_serial_t destringid -
249 request_key man/ cs/ 0xf9 const char *_type const char *_description const char *_callout_info key_serial_t destringid - -
250 keyctl man/ cs/ 0xfa int cmd unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
251 ioprio_set man/ cs/ 0xfb int which int who int ioprio - - -
252 ioprio_get man/ cs/ 0xfc int which int who - - - -
253 inotify_init man/ cs/ 0xfd - - - - - -
254 inotify_add_watch man/ cs/ 0xfe int fd const char *path u32 mask - - -
255 inotify_rm_watch man/ cs/ 0xff int fd __s32 wd - - - -
256 migrate_pages man/ cs/ 0x100 pid_t pid unsigned long maxnode const unsigned long *from const unsigned long *to - -
257 openat man/ cs/ 0x101 int dfd const char *filename int flags umode_t mode - -
258 mkdirat man/ cs/ 0x102 int dfd const char * pathname umode_t mode - - -
259 mknodat man/ cs/ 0x103 int dfd const char * filename umode_t mode unsigned dev - -
260 fchownat man/ cs/ 0x104 int dfd const char *filename uid_t user gid_t group int flag -
261 futimesat man/ cs/ 0x105 int dfd const char *filename struct timeval *utimes - - -
262 newfstatat man/ cs/ 0x106 int dfd const char *filename struct stat *statbuf int flag - -
263 unlinkat man/ cs/ 0x107 int dfd const char * pathname int flag - - -
264 renameat man/ cs/ 0x108 int olddfd const char * oldname int newdfd const char * newname - -
265 linkat man/ cs/ 0x109 int olddfd const char *oldname int newdfd const char *newname int flags -
266 symlinkat man/ cs/ 0x10a const char * oldname int newdfd const char * newname - - -
267 readlinkat man/ cs/ 0x10b int dfd const char *path char *buf int bufsiz - -
268 fchmodat man/ cs/ 0x10c int dfd const char * filename umode_t mode - - -
269 faccessat man/ cs/ 0x10d int dfd const char *filename int mode - - -
270 pselect6 man/ cs/ 0x10e int fd_set * fd_set * fd_set * struct timespec * void *
271 ppoll man/ cs/ 0x10f struct pollfd * unsigned int struct timespec * const sigset_t * size_t -
272 unshare man/ cs/ 0x110 unsigned long unshare_flags - - - - -
273 set_robust_list man/ cs/ 0x111 struct robust_list_head *head size_t len - - - -
274 get_robust_list man/ cs/ 0x112 int pid struct robust_list_head * *head_ptr size_t *len_ptr - - -
275 splice man/ cs/ 0x113 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
276 tee man/ cs/ 0x114 int fdin int fdout size_t len unsigned int flags - -
277 sync_file_range man/ cs/ 0x115 int fd loff_t offset loff_t nbytes unsigned int flags - -
278 vmsplice man/ cs/ 0x116 int fd const struct iovec *iov unsigned long nr_segs unsigned int flags - -
279 move_pages man/ cs/ 0x117 pid_t pid unsigned long nr_pages const void * *pages const int *nodes int *status int flags
280 utimensat man/ cs/ 0x118 int dfd const char *filename struct timespec *utimes int flags - -
281 epoll_pwait man/ cs/ 0x119 int epfd struct epoll_event *events int maxevents int timeout const sigset_t *sigmask size_t sigsetsize
282 signalfd man/ cs/ 0x11a int ufd sigset_t *user_mask size_t sizemask - - -
283 timerfd_create man/ cs/ 0x11b int clockid int flags - - - -
284 eventfd man/ cs/ 0x11c unsigned int count - - - - -
285 fallocate man/ cs/ 0x11d int fd int mode loff_t offset loff_t len - -
286 timerfd_settime man/ cs/ 0x11e int ufd int flags const struct __kernel_itimerspec *utmr struct __kernel_itimerspec *otmr - -
287 timerfd_gettime man/ cs/ 0x11f int ufd struct __kernel_itimerspec *otmr - - - -
288 accept4 man/ cs/ 0x120 int struct sockaddr * int * int - -
289 signalfd4 man/ cs/ 0x121 int ufd sigset_t *user_mask size_t sizemask int flags - -
290 eventfd2 man/ cs/ 0x122 unsigned int count int flags - - - -
291 epoll_create1 man/ cs/ 0x123 int flags - - - - -
292 dup3 man/ cs/ 0x124 unsigned int oldfd unsigned int newfd int flags - - -
293 pipe2 man/ cs/ 0x125 int *fildes int flags - - - -
294 inotify_init1 man/ cs/ 0x126 int flags - - - - -
295 preadv man/ cs/ 0x127 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
296 pwritev man/ cs/ 0x128 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
297 rt_tgsigqueueinfo man/ cs/ 0x129 pid_t tgid pid_t pid int sig siginfo_t *uinfo - -
298 perf_event_open man/ cs/ 0x12a struct perf_event_attr *attr_uptr pid_t pid int cpu int group_fd unsigned long flags -
299 recvmmsg man/ cs/ 0x12b int fd struct mmsghdr *msg unsigned int vlen unsigned flags struct timespec *timeout -
300 fanotify_init man/ cs/ 0x12c unsigned int flags unsigned int event_f_flags - - - -
301 fanotify_mark man/ cs/ 0x12d int fanotify_fd unsigned int flags u64 mask int fd const char *pathname -
302 prlimit64 man/ cs/ 0x12e pid_t pid unsigned int resource const struct rlimit64 *new_rlim struct rlimit64 *old_rlim - -
303 name_to_handle_at man/ cs/ 0x12f int dfd const char *name struct file_handle *handle int *mnt_id int flag -
304 open_by_handle_at man/ cs/ 0x130 int mountdirfd struct file_handle *handle int flags - - -
305 clock_adjtime man/ cs/ 0x131 clockid_t which_clock struct timex *tx - - - -
306 syncfs man/ cs/ 0x132 int fd - - - - -
307 sendmmsg man/ cs/ 0x133 int fd struct mmsghdr *msg unsigned int vlen unsigned flags - -
308 setns man/ cs/ 0x134 int fd int nstype - - - -
309 getcpu man/ cs/ 0x135 unsigned *cpu unsigned *node struct getcpu_cache *cache - - -
310 process_vm_readv man/ cs/ 0x136 pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
311 process_vm_writev man/ cs/ 0x137 pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
312 kcmp man/ cs/ 0x138 pid_t pid1 pid_t pid2 int type unsigned long idx1 unsigned long idx2 -
313 finit_module man/ cs/ 0x139 int fd const char *uargs int flags - - -
314 sched_setattr man/ cs/ 0x13a pid_t pid struct sched_attr *attr unsigned int flags - - -
315 sched_getattr man/ cs/ 0x13b pid_t pid struct sched_attr *attr unsigned int size unsigned int flags - -
316 renameat2 man/ cs/ 0x13c int olddfd const char *oldname int newdfd const char *newname unsigned int flags -
317 seccomp man/ cs/ 0x13d unsigned int op unsigned int flags const char *uargs - - -
318 getrandom man/ cs/ 0x13e char *buf size_t count unsigned int flags - - -
319 memfd_create man/ cs/ 0x13f const char *uname_ptr unsigned int flags - - - -
320 kexec_file_load man/ cs/ 0x140 int kernel_fd int initrd_fd unsigned long cmdline_len const char *cmdline_ptr unsigned long flags -
321 bpf man/ cs/ 0x141 int cmd union bpf_attr *attr unsigned int size - - -
322 execveat man/ cs/ 0x142 int dfd const char *filename const char *const *argv const char *const *envp int flags -
323 userfaultfd man/ cs/ 0x143 int flags - - - - -
324 membarrier man/ cs/ 0x144 int cmd int flags - - - -
325 mlock2 man/ cs/ 0x145 unsigned long start size_t len int flags - - -
326 copy_file_range man/ cs/ 0x146 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
327 preadv2 man/ cs/ 0x147 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
328 pwritev2 man/ cs/ 0x148 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
329 pkey_mprotect man/ cs/ 0x149 unsigned long start size_t len unsigned long prot int pkey - -
330 pkey_alloc man/ cs/ 0x14a unsigned long flags unsigned long init_val - - - -
331 pkey_free man/ cs/ 0x14b int pkey - - - - -
332 statx man/ cs/ 0x14c int dfd const char *path unsigned flags unsigned mask struct statx *buffer -

arm (32-bit/EABI)

Compiled from Linux 4.14.0 headers.

NR syscall name references %r7 arg0 (%r0) arg1 (%r1) arg2 (%r2) arg3 (%r3) arg4 (%r4) arg5 (%r5)
0 restart_syscall man/ cs/ 0x00 - - - - - -
1 exit man/ cs/ 0x01 int error_code - - - - -
2 fork man/ cs/ 0x02 - - - - - -
3 read man/ cs/ 0x03 unsigned int fd char *buf size_t count - - -
4 write man/ cs/ 0x04 unsigned int fd const char *buf size_t count - - -
5 open man/ cs/ 0x05 const char *filename int flags umode_t mode - - -
6 close man/ cs/ 0x06 unsigned int fd - - - - -
7 not implemented 0x07
8 creat man/ cs/ 0x08 const char *pathname umode_t mode - - - -
9 link man/ cs/ 0x09 const char *oldname const char *newname - - - -
10 unlink man/ cs/ 0x0a const char *pathname - - - - -
11 execve man/ cs/ 0x0b const char *filename const char *const *argv const char *const *envp - - -
12 chdir man/ cs/ 0x0c const char *filename - - - - -
13 not implemented 0x0d
14 mknod man/ cs/ 0x0e const char *filename umode_t mode unsigned dev - - -
15 chmod man/ cs/ 0x0f const char *filename umode_t mode - - - -
16 lchown man/ cs/ 0x10 const char *filename uid_t user gid_t group - - -
17 not implemented 0x11
18 not implemented 0x12
19 lseek man/ cs/ 0x13 unsigned int fd off_t offset unsigned int whence - - -
20 getpid man/ cs/ 0x14 - - - - - -
21 mount man/ cs/ 0x15 char *dev_name char *dir_name char *type unsigned long flags void *data -
22 not implemented 0x16
23 setuid man/ cs/ 0x17 uid_t uid - - - - -
24 getuid man/ cs/ 0x18 - - - - - -
25 not implemented 0x19
26 ptrace man/ cs/ 0x1a long request long pid unsigned long addr unsigned long data - -
27 not implemented 0x1b
28 not implemented 0x1c
29 pause man/ cs/ 0x1d - - - - - -
30 not implemented 0x1e
31 not implemented 0x1f
32 not implemented 0x20
33 access man/ cs/ 0x21 const char *filename int mode - - - -
34 nice man/ cs/ 0x22 int increment - - - - -
35 not implemented 0x23
36 sync man/ cs/ 0x24 - - - - - -
37 kill man/ cs/ 0x25 pid_t pid int sig - - - -
38 rename man/ cs/ 0x26 const char *oldname const char *newname - - - -
39 mkdir man/ cs/ 0x27 const char *pathname umode_t mode - - - -
40 rmdir man/ cs/ 0x28 const char *pathname - - - - -
41 dup man/ cs/ 0x29 unsigned int fildes - - - - -
42 pipe man/ cs/ 0x2a int *fildes - - - - -
43 times man/ cs/ 0x2b struct tms *tbuf - - - - -
44 not implemented 0x2c
45 brk man/ cs/ 0x2d unsigned long brk - - - - -
46 setgid man/ cs/ 0x2e gid_t gid - - - - -
47 getgid man/ cs/ 0x2f - - - - - -
48 not implemented 0x30
49 geteuid man/ cs/ 0x31 - - - - - -
50 getegid man/ cs/ 0x32 - - - - - -
51 acct man/ cs/ 0x33 const char *name - - - - -
52 umount2 man/ cs/ 0x34 ? ? ? ? ? ?
53 not implemented 0x35
54 ioctl man/ cs/ 0x36 unsigned int fd unsigned int cmd unsigned long arg - - -
55 fcntl man/ cs/ 0x37 unsigned int fd unsigned int cmd unsigned long arg - - -
56 not implemented 0x38
57 setpgid man/ cs/ 0x39 pid_t pid pid_t pgid - - - -
58 not implemented 0x3a
59 not implemented 0x3b
60 umask man/ cs/ 0x3c int mask - - - - -
61 chroot man/ cs/ 0x3d const char *filename - - - - -
62 ustat man/ cs/ 0x3e unsigned dev struct ustat *ubuf - - - -
63 dup2 man/ cs/ 0x3f unsigned int oldfd unsigned int newfd - - - -
64 getppid man/ cs/ 0x40 - - - - - -
65 getpgrp man/ cs/ 0x41 - - - - - -
66 setsid man/ cs/ 0x42 - - - - - -
67 sigaction man/ cs/ 0x43 int const struct old_sigaction * struct old_sigaction * - - -
68 not implemented 0x44
69 not implemented 0x45
70 setreuid man/ cs/ 0x46 uid_t ruid uid_t euid - - - -
71 setregid man/ cs/ 0x47 gid_t rgid gid_t egid - - - -
72 sigsuspend man/ cs/ 0x48 int unused1 int unused2 old_sigset_t mask - - -
73 sigpending man/ cs/ 0x49 old_sigset_t *uset - - - - -
74 sethostname man/ cs/ 0x4a char *name int len - - - -
75 setrlimit man/ cs/ 0x4b unsigned int resource struct rlimit *rlim - - - -
76 not implemented 0x4c
77 getrusage man/ cs/ 0x4d int who struct rusage *ru - - - -
78 gettimeofday man/ cs/ 0x4e struct timeval *tv struct timezone *tz - - - -
79 settimeofday man/ cs/ 0x4f struct timeval *tv struct timezone *tz - - - -
80 getgroups man/ cs/ 0x50 int gidsetsize gid_t *grouplist - - - -
81 setgroups man/ cs/ 0x51 int gidsetsize gid_t *grouplist - - - -
82 not implemented 0x52
83 symlink man/ cs/ 0x53 const char *old const char *new - - - -
84 not implemented 0x54
85 readlink man/ cs/ 0x55 const char *path char *buf int bufsiz - - -
86 uselib man/ cs/ 0x56 const char *library - - - - -
87 swapon man/ cs/ 0x57 const char *specialfile int swap_flags - - - -
88 reboot man/ cs/ 0x58 int magic1 int magic2 unsigned int cmd void *arg - -
89 not implemented 0x59
90 not implemented 0x5a
91 munmap man/ cs/ 0x5b unsigned long addr size_t len - - - -
92 truncate man/ cs/ 0x5c const char *path long length - - - -
93 ftruncate man/ cs/ 0x5d unsigned int fd unsigned long length - - - -
94 fchmod man/ cs/ 0x5e unsigned int fd umode_t mode - - - -
95 fchown man/ cs/ 0x5f unsigned int fd uid_t user gid_t group - - -
96 getpriority man/ cs/ 0x60 int which int who - - - -
97 setpriority man/ cs/ 0x61 int which int who int niceval - - -
98 not implemented 0x62
99 statfs man/ cs/ 0x63 const char * path struct statfs *buf - - - -
100 fstatfs man/ cs/ 0x64 unsigned int fd struct statfs *buf - - - -
101 not implemented 0x65
102 not implemented 0x66
103 syslog man/ cs/ 0x67 int type char *buf int len - - -
104 setitimer man/ cs/ 0x68 int which struct itimerval *value struct itimerval *ovalue - - -
105 getitimer man/ cs/ 0x69 int which struct itimerval *value - - - -
106 stat man/ cs/ 0x6a const char *filename struct __old_kernel_stat *statbuf - - - -
107 lstat man/ cs/ 0x6b const char *filename struct __old_kernel_stat *statbuf - - - -
108 fstat man/ cs/ 0x6c unsigned int fd struct __old_kernel_stat *statbuf - - - -
109 not implemented 0x6d
110 not implemented 0x6e
111 vhangup man/ cs/ 0x6f - - - - - -
112 not implemented 0x70
113 not implemented 0x71
114 wait4 man/ cs/ 0x72 pid_t pid int *stat_addr int options struct rusage *ru - -
115 swapoff man/ cs/ 0x73 const char *specialfile - - - - -
116 sysinfo man/ cs/ 0x74 struct sysinfo *info - - - - -
117 not implemented 0x75
118 fsync man/ cs/ 0x76 unsigned int fd - - - - -
119 sigreturn man/ cs/ 0x77 ? ? ? ? ? ?
120 clone man/ cs/ 0x78 unsigned long unsigned long int * int * unsigned long -
121 setdomainname man/ cs/ 0x79 char *name int len - - - -
122 uname man/ cs/ 0x7a struct old_utsname * - - - - -
123 not implemented 0x7b
124 adjtimex man/ cs/ 0x7c struct timex *txc_p - - - - -
125 mprotect man/ cs/ 0x7d unsigned long start size_t len unsigned long prot - - -
126 sigprocmask man/ cs/ 0x7e int how old_sigset_t *set old_sigset_t *oset - - -
127 not implemented 0x7f
128 init_module man/ cs/ 0x80 void *umod unsigned long len const char *uargs - - -
129 delete_module man/ cs/ 0x81 const char *name_user unsigned int flags - - - -
130 not implemented 0x82
131 quotactl man/ cs/ 0x83 unsigned int cmd const char *special qid_t id void *addr - -
132 getpgid man/ cs/ 0x84 pid_t pid - - - - -
133 fchdir man/ cs/ 0x85 unsigned int fd - - - - -
134 bdflush man/ cs/ 0x86 int func long data - - - -
135 sysfs man/ cs/ 0x87 int option unsigned long arg1 unsigned long arg2 - - -
136 personality man/ cs/ 0x88 unsigned int personality - - - - -
137 not implemented 0x89
138 setfsuid man/ cs/ 0x8a uid_t uid - - - - -
139 setfsgid man/ cs/ 0x8b gid_t gid - - - - -
140 _llseek man/ cs/ 0x8c ? ? ? ? ? ?
141 getdents man/ cs/ 0x8d unsigned int fd struct linux_dirent *dirent unsigned int count - - -
142 _newselect man/ cs/ 0x8e ? ? ? ? ? ?
143 flock man/ cs/ 0x8f unsigned int fd unsigned int cmd - - - -
144 msync man/ cs/ 0x90 unsigned long start size_t len int flags - - -
145 readv man/ cs/ 0x91 unsigned long fd const struct iovec *vec unsigned long vlen - - -
146 writev man/ cs/ 0x92 unsigned long fd const struct iovec *vec unsigned long vlen - - -
147 getsid man/ cs/ 0x93 pid_t pid - - - - -
148 fdatasync man/ cs/ 0x94 unsigned int fd - - - - -
149 _sysctl man/ cs/ 0x95 ? ? ? ? ? ?
150 mlock man/ cs/ 0x96 unsigned long start size_t len - - - -
151 munlock man/ cs/ 0x97 unsigned long start size_t len - - - -
152 mlockall man/ cs/ 0x98 int flags - - - - -
153 munlockall man/ cs/ 0x99 - - - - - -
154 sched_setparam man/ cs/ 0x9a pid_t pid struct sched_param *param - - - -
155 sched_getparam man/ cs/ 0x9b pid_t pid struct sched_param *param - - - -
156 sched_setscheduler man/ cs/ 0x9c pid_t pid int policy struct sched_param *param - - -
157 sched_getscheduler man/ cs/ 0x9d pid_t pid - - - - -
158 sched_yield man/ cs/ 0x9e - - - - - -
159 sched_get_priority_max man/ cs/ 0x9f int policy - - - - -
160 sched_get_priority_min man/ cs/ 0xa0 int policy - - - - -
161 sched_rr_get_interval man/ cs/ 0xa1 pid_t pid struct timespec *interval - - - -
162 nanosleep man/ cs/ 0xa2 struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - - - -
163 mremap man/ cs/ 0xa3 unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr -
164 setresuid man/ cs/ 0xa4 uid_t ruid uid_t euid uid_t suid - - -
165 getresuid man/ cs/ 0xa5 uid_t *ruid uid_t *euid uid_t *suid - - -
166 not implemented 0xa6
167 not implemented 0xa7
168 poll man/ cs/ 0xa8 struct pollfd *ufds unsigned int nfds int timeout - - -
169 nfsservctl man/ cs/ 0xa9 ? ? ? ? ? ?
170 setresgid man/ cs/ 0xaa gid_t rgid gid_t egid gid_t sgid - - -
171 getresgid man/ cs/ 0xab gid_t *rgid gid_t *egid gid_t *sgid - - -
172 prctl man/ cs/ 0xac int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
173 rt_sigreturn man/ cs/ 0xad ? ? ? ? ? ?
174 rt_sigaction man/ cs/ 0xae int const struct sigaction * struct sigaction * size_t - -
175 rt_sigprocmask man/ cs/ 0xaf int how sigset_t *set sigset_t *oset size_t sigsetsize - -
176 rt_sigpending man/ cs/ 0xb0 sigset_t *set size_t sigsetsize - - - -
177 rt_sigtimedwait man/ cs/ 0xb1 const sigset_t *uthese siginfo_t *uinfo const struct timespec *uts size_t sigsetsize - -
178 rt_sigqueueinfo man/ cs/ 0xb2 pid_t pid int sig siginfo_t *uinfo - - -
179 rt_sigsuspend man/ cs/ 0xb3 sigset_t *unewset size_t sigsetsize - - - -
180 pread64 man/ cs/ 0xb4 unsigned int fd char *buf size_t count loff_t pos - -
181 pwrite64 man/ cs/ 0xb5 unsigned int fd const char *buf size_t count loff_t pos - -
182 chown man/ cs/ 0xb6 const char *filename uid_t user gid_t group - - -
183 getcwd man/ cs/ 0xb7 char *buf unsigned long size - - - -
184 capget man/ cs/ 0xb8 cap_user_header_t header cap_user_data_t dataptr - - - -
185 capset man/ cs/ 0xb9 cap_user_header_t header const cap_user_data_t data - - - -
186 sigaltstack man/ cs/ 0xba const struct sigaltstack *uss struct sigaltstack *uoss - - - -
187 sendfile man/ cs/ 0xbb int out_fd int in_fd off_t *offset size_t count - -
188 not implemented 0xbc
189 not implemented 0xbd
190 vfork man/ cs/ 0xbe - - - - - -
191 ugetrlimit man/ cs/ 0xbf ? ? ? ? ? ?
192 mmap2 man/ cs/ 0xc0 ? ? ? ? ? ?
193 truncate64 man/ cs/ 0xc1 const char *path loff_t length - - - -
194 ftruncate64 man/ cs/ 0xc2 unsigned int fd loff_t length - - - -
195 stat64 man/ cs/ 0xc3 const char *filename struct stat64 *statbuf - - - -
196 lstat64 man/ cs/ 0xc4 const char *filename struct stat64 *statbuf - - - -
197 fstat64 man/ cs/ 0xc5 unsigned long fd struct stat64 *statbuf - - - -
198 lchown32 man/ cs/ 0xc6 ? ? ? ? ? ?
199 getuid32 man/ cs/ 0xc7 ? ? ? ? ? ?
200 getgid32 man/ cs/ 0xc8 ? ? ? ? ? ?
201 geteuid32 man/ cs/ 0xc9 ? ? ? ? ? ?
202 getegid32 man/ cs/ 0xca ? ? ? ? ? ?
203 setreuid32 man/ cs/ 0xcb ? ? ? ? ? ?
204 setregid32 man/ cs/ 0xcc ? ? ? ? ? ?
205 getgroups32 man/ cs/ 0xcd ? ? ? ? ? ?
206 setgroups32 man/ cs/ 0xce ? ? ? ? ? ?
207 fchown32 man/ cs/ 0xcf ? ? ? ? ? ?
208 setresuid32 man/ cs/ 0xd0 ? ? ? ? ? ?
209 getresuid32 man/ cs/ 0xd1 ? ? ? ? ? ?
210 setresgid32 man/ cs/ 0xd2 ? ? ? ? ? ?
211 getresgid32 man/ cs/ 0xd3 ? ? ? ? ? ?
212 chown32 man/ cs/ 0xd4 ? ? ? ? ? ?
213 setuid32 man/ cs/ 0xd5 ? ? ? ? ? ?
214 setgid32 man/ cs/ 0xd6 ? ? ? ? ? ?
215 setfsuid32 man/ cs/ 0xd7 ? ? ? ? ? ?
216 setfsgid32 man/ cs/ 0xd8 ? ? ? ? ? ?
217 getdents64 man/ cs/ 0xd9 unsigned int fd struct linux_dirent64 *dirent unsigned int count - - -
218 pivot_root man/ cs/ 0xda const char *new_root const char *put_old - - - -
219 mincore man/ cs/ 0xdb unsigned long start size_t len unsigned char * vec - - -
220 madvise man/ cs/ 0xdc unsigned long start size_t len int behavior - - -
221 fcntl64 man/ cs/ 0xdd unsigned int fd unsigned int cmd unsigned long arg - - -
222 not implemented 0xde
223 not implemented 0xdf
224 gettid man/ cs/ 0xe0 - - - - - -
225 readahead man/ cs/ 0xe1 int fd loff_t offset size_t count - - -
226 setxattr man/ cs/ 0xe2 const char *path const char *name const void *value size_t size int flags -
227 lsetxattr man/ cs/ 0xe3 const char *path const char *name const void *value size_t size int flags -
228 fsetxattr man/ cs/ 0xe4 int fd const char *name const void *value size_t size int flags -
229 getxattr man/ cs/ 0xe5 const char *path const char *name void *value size_t size - -
230 lgetxattr man/ cs/ 0xe6 const char *path const char *name void *value size_t size - -
231 fgetxattr man/ cs/ 0xe7 int fd const char *name void *value size_t size - -
232 listxattr man/ cs/ 0xe8 const char *path char *list size_t size - - -
233 llistxattr man/ cs/ 0xe9 const char *path char *list size_t size - - -
234 flistxattr man/ cs/ 0xea int fd char *list size_t size - - -
235 removexattr man/ cs/ 0xeb const char *path const char *name - - - -
236 lremovexattr man/ cs/ 0xec const char *path const char *name - - - -
237 fremovexattr man/ cs/ 0xed int fd const char *name - - - -
238 tkill man/ cs/ 0xee pid_t pid int sig - - - -
239 sendfile64 man/ cs/ 0xef int out_fd int in_fd loff_t *offset size_t count - -
240 futex man/ cs/ 0xf0 u32 *uaddr int op u32 val struct timespec *utime u32 *uaddr2 u32 val3
241 sched_setaffinity man/ cs/ 0xf1 pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
242 sched_getaffinity man/ cs/ 0xf2 pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
243 io_setup man/ cs/ 0xf3 unsigned nr_reqs aio_context_t *ctx - - - -
244 io_destroy man/ cs/ 0xf4 aio_context_t ctx - - - - -
245 io_getevents man/ cs/ 0xf5 aio_context_t ctx_id long min_nr long nr struct io_event *events struct timespec *timeout -
246 io_submit man/ cs/ 0xf6 aio_context_t long struct iocb * * - - -
247 io_cancel man/ cs/ 0xf7 aio_context_t ctx_id struct iocb *iocb struct io_event *result - - -
248 exit_group man/ cs/ 0xf8 int error_code - - - - -
249 lookup_dcookie man/ cs/ 0xf9 u64 cookie64 char *buf size_t len - - -
250 epoll_create man/ cs/ 0xfa int size - - - - -
251 epoll_ctl man/ cs/ 0xfb int epfd int op int fd struct epoll_event *event - -
252 epoll_wait man/ cs/ 0xfc int epfd struct epoll_event *events int maxevents int timeout - -
253 remap_file_pages man/ cs/ 0xfd unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags -
254 not implemented 0xfe
255 not implemented 0xff
256 set_tid_address man/ cs/ 0x100 int *tidptr - - - - -
257 timer_create man/ cs/ 0x101 clockid_t which_clock struct sigevent *timer_event_spec timer_t * created_timer_id - - -
258 timer_settime man/ cs/ 0x102 timer_t timer_id int flags const struct __kernel_itimerspec *new_setting struct itimerspec *old_setting - -
259 timer_gettime man/ cs/ 0x103 timer_t timer_id struct __kernel_itimerspec *setting - - - -
260 timer_getoverrun man/ cs/ 0x104 timer_t timer_id - - - - -
261 timer_delete man/ cs/ 0x105 timer_t timer_id - - - - -
262 clock_settime man/ cs/ 0x106 clockid_t which_clock const struct __kernel_timespec *tp - - - -
263 clock_gettime man/ cs/ 0x107 clockid_t which_clock struct __kernel_timespec *tp - - - -
264 clock_getres man/ cs/ 0x108 clockid_t which_clock struct __kernel_timespec *tp - - - -
265 clock_nanosleep man/ cs/ 0x109 clockid_t which_clock int flags const struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - -
266 statfs64 man/ cs/ 0x10a const char *path size_t sz struct statfs64 *buf - - -
267 fstatfs64 man/ cs/ 0x10b unsigned int fd size_t sz struct statfs64 *buf - - -
268 tgkill man/ cs/ 0x10c pid_t tgid pid_t pid int sig - - -
269 utimes man/ cs/ 0x10d char *filename struct timeval *utimes - - - -
270 arm_fadvise64_64 man/ cs/ 0x10e ? ? ? ? ? ?
271 pciconfig_iobase man/ cs/ 0x10f long which unsigned long bus unsigned long devfn - - -
272 pciconfig_read man/ cs/ 0x110 unsigned long bus unsigned long dfn unsigned long off unsigned long len void *buf -
273 pciconfig_write man/ cs/ 0x111 unsigned long bus unsigned long dfn unsigned long off unsigned long len void *buf -
274 mq_open man/ cs/ 0x112 const char *name int oflag umode_t mode struct mq_attr *attr - -
275 mq_unlink man/ cs/ 0x113 const char *name - - - - -
276 mq_timedsend man/ cs/ 0x114 mqd_t mqdes const char *msg_ptr size_t msg_len unsigned int msg_prio const struct __kernel_timespec *abs_timeout -
277 mq_timedreceive man/ cs/ 0x115 mqd_t mqdes char *msg_ptr size_t msg_len unsigned int *msg_prio const struct __kernel_timespec *abs_timeout -
278 mq_notify man/ cs/ 0x116 mqd_t mqdes const struct sigevent *notification - - - -
279 mq_getsetattr man/ cs/ 0x117 mqd_t mqdes const struct mq_attr *mqstat struct mq_attr *omqstat - - -
280 waitid man/ cs/ 0x118 int which pid_t pid struct siginfo *infop int options struct rusage *ru -
281 socket man/ cs/ 0x119 int int int - - -
282 bind man/ cs/ 0x11a int struct sockaddr * int - - -
283 connect man/ cs/ 0x11b int struct sockaddr * int - - -
284 listen man/ cs/ 0x11c int int - - - -
285 accept man/ cs/ 0x11d int struct sockaddr * int * - - -
286 getsockname man/ cs/ 0x11e int struct sockaddr * int * - - -
287 getpeername man/ cs/ 0x11f int struct sockaddr * int * - - -
288 socketpair man/ cs/ 0x120 int int int int * - -
289 send man/ cs/ 0x121 int void * size_t unsigned - -
290 sendto man/ cs/ 0x122 int void * size_t unsigned struct sockaddr * int
291 recv man/ cs/ 0x123 int void * size_t unsigned - -
292 recvfrom man/ cs/ 0x124 int void * size_t unsigned struct sockaddr * int *
293 shutdown man/ cs/ 0x125 int int - - - -
294 setsockopt man/ cs/ 0x126 int fd int level int optname char *optval int optlen -
295 getsockopt man/ cs/ 0x127 int fd int level int optname char *optval int *optlen -
296 sendmsg man/ cs/ 0x128 int fd struct user_msghdr *msg unsigned flags - - -
297 recvmsg man/ cs/ 0x129 int fd struct user_msghdr *msg unsigned flags - - -
298 semop man/ cs/ 0x12a int semid struct sembuf *sops unsigned nsops - - -
299 semget man/ cs/ 0x12b key_t key int nsems int semflg - - -
300 semctl man/ cs/ 0x12c int semid int semnum int cmd unsigned long arg - -
301 msgsnd man/ cs/ 0x12d int msqid struct msgbuf *msgp size_t msgsz int msgflg - -
302 msgrcv man/ cs/ 0x12e int msqid struct msgbuf *msgp size_t msgsz long msgtyp int msgflg -
303 msgget man/ cs/ 0x12f key_t key int msgflg - - - -
304 msgctl man/ cs/ 0x130 int msqid int cmd struct msqid_ds *buf - - -
305 shmat man/ cs/ 0x131 int shmid char *shmaddr int shmflg - - -
306 shmdt man/ cs/ 0x132 char *shmaddr - - - - -
307 shmget man/ cs/ 0x133 key_t key size_t size int flag - - -
308 shmctl man/ cs/ 0x134 int shmid int cmd struct shmid_ds *buf - - -
309 add_key man/ cs/ 0x135 const char *_type const char *_description const void *_payload size_t plen key_serial_t destringid -
310 request_key man/ cs/ 0x136 const char *_type const char *_description const char *_callout_info key_serial_t destringid - -
311 keyctl man/ cs/ 0x137 int cmd unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
312 semtimedop man/ cs/ 0x138 int semid struct sembuf *sops unsigned nsops const struct __kernel_timespec *timeout - -
313 vserver man/ cs/ 0x139 ? ? ? ? ? ?
314 ioprio_set man/ cs/ 0x13a int which int who int ioprio - - -
315 ioprio_get man/ cs/ 0x13b int which int who - - - -
316 inotify_init man/ cs/ 0x13c - - - - - -
317 inotify_add_watch man/ cs/ 0x13d int fd const char *path u32 mask - - -
318 inotify_rm_watch man/ cs/ 0x13e int fd __s32 wd - - - -
319 mbind man/ cs/ 0x13f unsigned long start unsigned long len unsigned long mode const unsigned long *nmask unsigned long maxnode unsigned flags
320 get_mempolicy man/ cs/ 0x140 int *policy unsigned long *nmask unsigned long maxnode unsigned long addr unsigned long flags -
321 set_mempolicy man/ cs/ 0x141 int mode const unsigned long *nmask unsigned long maxnode - - -
322 openat man/ cs/ 0x142 int dfd const char *filename int flags umode_t mode - -
323 mkdirat man/ cs/ 0x143 int dfd const char * pathname umode_t mode - - -
324 mknodat man/ cs/ 0x144 int dfd const char * filename umode_t mode unsigned dev - -
325 fchownat man/ cs/ 0x145 int dfd const char *filename uid_t user gid_t group int flag -
326 futimesat man/ cs/ 0x146 int dfd const char *filename struct timeval *utimes - - -
327 fstatat64 man/ cs/ 0x147 int dfd const char *filename struct stat64 *statbuf int flag - -
328 unlinkat man/ cs/ 0x148 int dfd const char * pathname int flag - - -
329 renameat man/ cs/ 0x149 int olddfd const char * oldname int newdfd const char * newname - -
330 linkat man/ cs/ 0x14a int olddfd const char *oldname int newdfd const char *newname int flags -
331 symlinkat man/ cs/ 0x14b const char * oldname int newdfd const char * newname - - -
332 readlinkat man/ cs/ 0x14c int dfd const char *path char *buf int bufsiz - -
333 fchmodat man/ cs/ 0x14d int dfd const char * filename umode_t mode - - -
334 faccessat man/ cs/ 0x14e int dfd const char *filename int mode - - -
335 pselect6 man/ cs/ 0x14f int fd_set * fd_set * fd_set * struct timespec * void *
336 ppoll man/ cs/ 0x150 struct pollfd * unsigned int struct timespec * const sigset_t * size_t -
337 unshare man/ cs/ 0x151 unsigned long unshare_flags - - - - -
338 set_robust_list man/ cs/ 0x152 struct robust_list_head *head size_t len - - - -
339 get_robust_list man/ cs/ 0x153 int pid struct robust_list_head * *head_ptr size_t *len_ptr - - -
340 splice man/ cs/ 0x154 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
341 arm_sync_file_range man/ cs/ 0x155 ? ? ? ? ? ?
341 sync_file_range2 man/ cs/ 0x155 int fd unsigned int flags loff_t offset loff_t nbytes - -
342 tee man/ cs/ 0x156 int fdin int fdout size_t len unsigned int flags - -
343 vmsplice man/ cs/ 0x157 int fd const struct iovec *iov unsigned long nr_segs unsigned int flags - -
344 move_pages man/ cs/ 0x158 pid_t pid unsigned long nr_pages const void * *pages const int *nodes int *status int flags
345 getcpu man/ cs/ 0x159 unsigned *cpu unsigned *node struct getcpu_cache *cache - - -
346 epoll_pwait man/ cs/ 0x15a int epfd struct epoll_event *events int maxevents int timeout const sigset_t *sigmask size_t sigsetsize
347 kexec_load man/ cs/ 0x15b unsigned long entry unsigned long nr_segments struct kexec_segment *segments unsigned long flags - -
348 utimensat man/ cs/ 0x15c int dfd const char *filename struct timespec *utimes int flags - -
349 signalfd man/ cs/ 0x15d int ufd sigset_t *user_mask size_t sizemask - - -
350 timerfd_create man/ cs/ 0x15e int clockid int flags - - - -
351 eventfd man/ cs/ 0x15f unsigned int count - - - - -
352 fallocate man/ cs/ 0x160 int fd int mode loff_t offset loff_t len - -
353 timerfd_settime man/ cs/ 0x161 int ufd int flags const struct __kernel_itimerspec *utmr struct __kernel_itimerspec *otmr - -
354 timerfd_gettime man/ cs/ 0x162 int ufd struct __kernel_itimerspec *otmr - - - -
355 signalfd4 man/ cs/ 0x163 int ufd sigset_t *user_mask size_t sizemask int flags - -
356 eventfd2 man/ cs/ 0x164 unsigned int count int flags - - - -
357 epoll_create1 man/ cs/ 0x165 int flags - - - - -
358 dup3 man/ cs/ 0x166 unsigned int oldfd unsigned int newfd int flags - - -
359 pipe2 man/ cs/ 0x167 int *fildes int flags - - - -
360 inotify_init1 man/ cs/ 0x168 int flags - - - - -
361 preadv man/ cs/ 0x169 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
362 pwritev man/ cs/ 0x16a unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
363 rt_tgsigqueueinfo man/ cs/ 0x16b pid_t tgid pid_t pid int sig siginfo_t *uinfo - -
364 perf_event_open man/ cs/ 0x16c struct perf_event_attr *attr_uptr pid_t pid int cpu int group_fd unsigned long flags -
365 recvmmsg man/ cs/ 0x16d int fd struct mmsghdr *msg unsigned int vlen unsigned flags struct timespec *timeout -
366 accept4 man/ cs/ 0x16e int struct sockaddr * int * int - -
367 fanotify_init man/ cs/ 0x16f unsigned int flags unsigned int event_f_flags - - - -
368 fanotify_mark man/ cs/ 0x170 int fanotify_fd unsigned int flags u64 mask int fd const char *pathname -
369 prlimit64 man/ cs/ 0x171 pid_t pid unsigned int resource const struct rlimit64 *new_rlim struct rlimit64 *old_rlim - -
370 name_to_handle_at man/ cs/ 0x172 int dfd const char *name struct file_handle *handle int *mnt_id int flag -
371 open_by_handle_at man/ cs/ 0x173 int mountdirfd struct file_handle *handle int flags - - -
372 clock_adjtime man/ cs/ 0x174 clockid_t which_clock struct timex *tx - - - -
373 syncfs man/ cs/ 0x175 int fd - - - - -
374 sendmmsg man/ cs/ 0x176 int fd struct mmsghdr *msg unsigned int vlen unsigned flags - -
375 setns man/ cs/ 0x177 int fd int nstype - - - -
376 process_vm_readv man/ cs/ 0x178 pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
377 process_vm_writev man/ cs/ 0x179 pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
378 kcmp man/ cs/ 0x17a pid_t pid1 pid_t pid2 int type unsigned long idx1 unsigned long idx2 -
379 finit_module man/ cs/ 0x17b int fd const char *uargs int flags - - -
380 sched_setattr man/ cs/ 0x17c pid_t pid struct sched_attr *attr unsigned int flags - - -
381 sched_getattr man/ cs/ 0x17d pid_t pid struct sched_attr *attr unsigned int size unsigned int flags - -
382 renameat2 man/ cs/ 0x17e int olddfd const char *oldname int newdfd const char *newname unsigned int flags -
383 seccomp man/ cs/ 0x17f unsigned int op unsigned int flags const char *uargs - - -
384 getrandom man/ cs/ 0x180 char *buf size_t count unsigned int flags - - -
385 memfd_create man/ cs/ 0x181 const char *uname_ptr unsigned int flags - - - -
386 bpf man/ cs/ 0x182 int cmd union bpf_attr *attr unsigned int size - - -
387 execveat man/ cs/ 0x183 int dfd const char *filename const char *const *argv const char *const *envp int flags -
388 userfaultfd man/ cs/ 0x184 int flags - - - - -
389 membarrier man/ cs/ 0x185 int cmd int flags - - - -
390 mlock2 man/ cs/ 0x186 unsigned long start size_t len int flags - - -
391 copy_file_range man/ cs/ 0x187 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
392 preadv2 man/ cs/ 0x188 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
393 pwritev2 man/ cs/ 0x189 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
394 pkey_mprotect man/ cs/ 0x18a unsigned long start size_t len unsigned long prot int pkey - -
395 pkey_alloc man/ cs/ 0x18b unsigned long flags unsigned long init_val - - - -
396 pkey_free man/ cs/ 0x18c int pkey - - - - -
397 statx man/ cs/ 0x18d int dfd const char *path unsigned flags unsigned mask struct statx *buffer -
983041 ARM_breakpoint man/ cs/ 0xf0001 ? ? ? ? ? ?
983042 ARM_cacheflush man/ cs/ 0xf0002 ? ? ? ? ? ?
983043 ARM_usr26 man/ cs/ 0xf0003 ? ? ? ? ? ?
983044 ARM_usr32 man/ cs/ 0xf0004 ? ? ? ? ? ?
983045 ARM_set_tls man/ cs/ 0xf0005 ? ? ? ? ? ?

arm64 (64-bit)

Compiled from Linux 4.14.0 headers.

NR syscall name references %x8 arg0 (%x0) arg1 (%x1) arg2 (%x2) arg3 (%x3) arg4 (%x4) arg5 (%x5)
0 io_setup man/ cs/ 0x00 unsigned nr_reqs aio_context_t *ctx - - - -
1 io_destroy man/ cs/ 0x01 aio_context_t ctx - - - - -
2 io_submit man/ cs/ 0x02 aio_context_t long struct iocb * * - - -
3 io_cancel man/ cs/ 0x03 aio_context_t ctx_id struct iocb *iocb struct io_event *result - - -
4 io_getevents man/ cs/ 0x04 aio_context_t ctx_id long min_nr long nr struct io_event *events struct timespec *timeout -
5 setxattr man/ cs/ 0x05 const char *path const char *name const void *value size_t size int flags -
6 lsetxattr man/ cs/ 0x06 const char *path const char *name const void *value size_t size int flags -
7 fsetxattr man/ cs/ 0x07 int fd const char *name const void *value size_t size int flags -
8 getxattr man/ cs/ 0x08 const char *path const char *name void *value size_t size - -
9 lgetxattr man/ cs/ 0x09 const char *path const char *name void *value size_t size - -
10 fgetxattr man/ cs/ 0x0a int fd const char *name void *value size_t size - -
11 listxattr man/ cs/ 0x0b const char *path char *list size_t size - - -
12 llistxattr man/ cs/ 0x0c const char *path char *list size_t size - - -
13 flistxattr man/ cs/ 0x0d int fd char *list size_t size - - -
14 removexattr man/ cs/ 0x0e const char *path const char *name - - - -
15 lremovexattr man/ cs/ 0x0f const char *path const char *name - - - -
16 fremovexattr man/ cs/ 0x10 int fd const char *name - - - -
17 getcwd man/ cs/ 0x11 char *buf unsigned long size - - - -
18 lookup_dcookie man/ cs/ 0x12 u64 cookie64 char *buf size_t len - - -
19 eventfd2 man/ cs/ 0x13 unsigned int count int flags - - - -
20 epoll_create1 man/ cs/ 0x14 int flags - - - - -
21 epoll_ctl man/ cs/ 0x15 int epfd int op int fd struct epoll_event *event - -
22 epoll_pwait man/ cs/ 0x16 int epfd struct epoll_event *events int maxevents int timeout const sigset_t *sigmask size_t sigsetsize
23 dup man/ cs/ 0x17 unsigned int fildes - - - - -
24 dup3 man/ cs/ 0x18 unsigned int oldfd unsigned int newfd int flags - - -
25 fcntl man/ cs/ 0x19 unsigned int fd unsigned int cmd unsigned long arg - - -
26 inotify_init1 man/ cs/ 0x1a int flags - - - - -
27 inotify_add_watch man/ cs/ 0x1b int fd const char *path u32 mask - - -
28 inotify_rm_watch man/ cs/ 0x1c int fd __s32 wd - - - -
29 ioctl man/ cs/ 0x1d unsigned int fd unsigned int cmd unsigned long arg - - -
30 ioprio_set man/ cs/ 0x1e int which int who int ioprio - - -
31 ioprio_get man/ cs/ 0x1f int which int who - - - -
32 flock man/ cs/ 0x20 unsigned int fd unsigned int cmd - - - -
33 mknodat man/ cs/ 0x21 int dfd const char * filename umode_t mode unsigned dev - -
34 mkdirat man/ cs/ 0x22 int dfd const char * pathname umode_t mode - - -
35 unlinkat man/ cs/ 0x23 int dfd const char * pathname int flag - - -
36 symlinkat man/ cs/ 0x24 const char * oldname int newdfd const char * newname - - -
37 linkat man/ cs/ 0x25 int olddfd const char *oldname int newdfd const char *newname int flags -
38 renameat man/ cs/ 0x26 int olddfd const char * oldname int newdfd const char * newname - -
39 umount2 man/ cs/ 0x27 ? ? ? ? ? ?
40 mount man/ cs/ 0x28 char *dev_name char *dir_name char *type unsigned long flags void *data -
41 pivot_root man/ cs/ 0x29 const char *new_root const char *put_old - - - -
42 nfsservctl man/ cs/ 0x2a ? ? ? ? ? ?
43 statfs man/ cs/ 0x2b const char * path struct statfs *buf - - - -
44 fstatfs man/ cs/ 0x2c unsigned int fd struct statfs *buf - - - -
45 truncate man/ cs/ 0x2d const char *path long length - - - -
46 ftruncate man/ cs/ 0x2e unsigned int fd unsigned long length - - - -
47 fallocate man/ cs/ 0x2f int fd int mode loff_t offset loff_t len - -
48 faccessat man/ cs/ 0x30 int dfd const char *filename int mode - - -
49 chdir man/ cs/ 0x31 const char *filename - - - - -
50 fchdir man/ cs/ 0x32 unsigned int fd - - - - -
51 chroot man/ cs/ 0x33 const char *filename - - - - -
52 fchmod man/ cs/ 0x34 unsigned int fd umode_t mode - - - -
53 fchmodat man/ cs/ 0x35 int dfd const char * filename umode_t mode - - -
54 fchownat man/ cs/ 0x36 int dfd const char *filename uid_t user gid_t group int flag -
55 fchown man/ cs/ 0x37 unsigned int fd uid_t user gid_t group - - -
56 openat man/ cs/ 0x38 int dfd const char *filename int flags umode_t mode - -
57 close man/ cs/ 0x39 unsigned int fd - - - - -
58 vhangup man/ cs/ 0x3a - - - - - -
59 pipe2 man/ cs/ 0x3b int *fildes int flags - - - -
60 quotactl man/ cs/ 0x3c unsigned int cmd const char *special qid_t id void *addr - -
61 getdents64 man/ cs/ 0x3d unsigned int fd struct linux_dirent64 *dirent unsigned int count - - -
62 lseek man/ cs/ 0x3e unsigned int fd off_t offset unsigned int whence - - -
63 read man/ cs/ 0x3f unsigned int fd char *buf size_t count - - -
64 write man/ cs/ 0x40 unsigned int fd const char *buf size_t count - - -
65 readv man/ cs/ 0x41 unsigned long fd const struct iovec *vec unsigned long vlen - - -
66 writev man/ cs/ 0x42 unsigned long fd const struct iovec *vec unsigned long vlen - - -
67 pread64 man/ cs/ 0x43 unsigned int fd char *buf size_t count loff_t pos - -
68 pwrite64 man/ cs/ 0x44 unsigned int fd const char *buf size_t count loff_t pos - -
69 preadv man/ cs/ 0x45 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
70 pwritev man/ cs/ 0x46 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
71 sendfile man/ cs/ 0x47 int out_fd int in_fd off_t *offset size_t count - -
72 pselect6 man/ cs/ 0x48 int fd_set * fd_set * fd_set * struct timespec * void *
73 ppoll man/ cs/ 0x49 struct pollfd * unsigned int struct timespec * const sigset_t * size_t -
74 signalfd4 man/ cs/ 0x4a int ufd sigset_t *user_mask size_t sizemask int flags - -
75 vmsplice man/ cs/ 0x4b int fd const struct iovec *iov unsigned long nr_segs unsigned int flags - -
76 splice man/ cs/ 0x4c int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
77 tee man/ cs/ 0x4d int fdin int fdout size_t len unsigned int flags - -
78 readlinkat man/ cs/ 0x4e int dfd const char *path char *buf int bufsiz - -
79 newfstatat man/ cs/ 0x4f int dfd const char *filename struct stat *statbuf int flag - -
80 fstat man/ cs/ 0x50 unsigned int fd struct __old_kernel_stat *statbuf - - - -
81 sync man/ cs/ 0x51 - - - - - -
82 fsync man/ cs/ 0x52 unsigned int fd - - - - -
83 fdatasync man/ cs/ 0x53 unsigned int fd - - - - -
84 sync_file_range man/ cs/ 0x54 int fd loff_t offset loff_t nbytes unsigned int flags - -
85 timerfd_create man/ cs/ 0x55 int clockid int flags - - - -
86 timerfd_settime man/ cs/ 0x56 int ufd int flags const struct __kernel_itimerspec *utmr struct __kernel_itimerspec *otmr - -
87 timerfd_gettime man/ cs/ 0x57 int ufd struct __kernel_itimerspec *otmr - - - -
88 utimensat man/ cs/ 0x58 int dfd const char *filename struct timespec *utimes int flags - -
89 acct man/ cs/ 0x59 const char *name - - - - -
90 capget man/ cs/ 0x5a cap_user_header_t header cap_user_data_t dataptr - - - -
91 capset man/ cs/ 0x5b cap_user_header_t header const cap_user_data_t data - - - -
92 personality man/ cs/ 0x5c unsigned int personality - - - - -
93 exit man/ cs/ 0x5d int error_code - - - - -
94 exit_group man/ cs/ 0x5e int error_code - - - - -
95 waitid man/ cs/ 0x5f int which pid_t pid struct siginfo *infop int options struct rusage *ru -
96 set_tid_address man/ cs/ 0x60 int *tidptr - - - - -
97 unshare man/ cs/ 0x61 unsigned long unshare_flags - - - - -
98 futex man/ cs/ 0x62 u32 *uaddr int op u32 val struct timespec *utime u32 *uaddr2 u32 val3
99 set_robust_list man/ cs/ 0x63 struct robust_list_head *head size_t len - - - -
100 get_robust_list man/ cs/ 0x64 int pid struct robust_list_head * *head_ptr size_t *len_ptr - - -
101 nanosleep man/ cs/ 0x65 struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - - - -
102 getitimer man/ cs/ 0x66 int which struct itimerval *value - - - -
103 setitimer man/ cs/ 0x67 int which struct itimerval *value struct itimerval *ovalue - - -
104 kexec_load man/ cs/ 0x68 unsigned long entry unsigned long nr_segments struct kexec_segment *segments unsigned long flags - -
105 init_module man/ cs/ 0x69 void *umod unsigned long len const char *uargs - - -
106 delete_module man/ cs/ 0x6a const char *name_user unsigned int flags - - - -
107 timer_create man/ cs/ 0x6b clockid_t which_clock struct sigevent *timer_event_spec timer_t * created_timer_id - - -
108 timer_gettime man/ cs/ 0x6c timer_t timer_id struct __kernel_itimerspec *setting - - - -
109 timer_getoverrun man/ cs/ 0x6d timer_t timer_id - - - - -
110 timer_settime man/ cs/ 0x6e timer_t timer_id int flags const struct __kernel_itimerspec *new_setting struct itimerspec *old_setting - -
111 timer_delete man/ cs/ 0x6f timer_t timer_id - - - - -
112 clock_settime man/ cs/ 0x70 clockid_t which_clock const struct __kernel_timespec *tp - - - -
113 clock_gettime man/ cs/ 0x71 clockid_t which_clock struct __kernel_timespec *tp - - - -
114 clock_getres man/ cs/ 0x72 clockid_t which_clock struct __kernel_timespec *tp - - - -
115 clock_nanosleep man/ cs/ 0x73 clockid_t which_clock int flags const struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - -
116 syslog man/ cs/ 0x74 int type char *buf int len - - -
117 ptrace man/ cs/ 0x75 long request long pid unsigned long addr unsigned long data - -
118 sched_setparam man/ cs/ 0x76 pid_t pid struct sched_param *param - - - -
119 sched_setscheduler man/ cs/ 0x77 pid_t pid int policy struct sched_param *param - - -
120 sched_getscheduler man/ cs/ 0x78 pid_t pid - - - - -
121 sched_getparam man/ cs/ 0x79 pid_t pid struct sched_param *param - - - -
122 sched_setaffinity man/ cs/ 0x7a pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
123 sched_getaffinity man/ cs/ 0x7b pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
124 sched_yield man/ cs/ 0x7c - - - - - -
125 sched_get_priority_max man/ cs/ 0x7d int policy - - - - -
126 sched_get_priority_min man/ cs/ 0x7e int policy - - - - -
127 sched_rr_get_interval man/ cs/ 0x7f pid_t pid struct timespec *interval - - - -
128 restart_syscall man/ cs/ 0x80 - - - - - -
129 kill man/ cs/ 0x81 pid_t pid int sig - - - -
130 tkill man/ cs/ 0x82 pid_t pid int sig - - - -
131 tgkill man/ cs/ 0x83 pid_t tgid pid_t pid int sig - - -
132 sigaltstack man/ cs/ 0x84 const struct sigaltstack *uss struct sigaltstack *uoss - - - -
133 rt_sigsuspend man/ cs/ 0x85 sigset_t *unewset size_t sigsetsize - - - -
134 rt_sigaction man/ cs/ 0x86 int const struct sigaction * struct sigaction * size_t - -
135 rt_sigprocmask man/ cs/ 0x87 int how sigset_t *set sigset_t *oset size_t sigsetsize - -
136 rt_sigpending man/ cs/ 0x88 sigset_t *set size_t sigsetsize - - - -
137 rt_sigtimedwait man/ cs/ 0x89 const sigset_t *uthese siginfo_t *uinfo const struct timespec *uts size_t sigsetsize - -
138 rt_sigqueueinfo man/ cs/ 0x8a pid_t pid int sig siginfo_t *uinfo - - -
139 rt_sigreturn man/ cs/ 0x8b ? ? ? ? ? ?
140 setpriority man/ cs/ 0x8c int which int who int niceval - - -
141 getpriority man/ cs/ 0x8d int which int who - - - -
142 reboot man/ cs/ 0x8e int magic1 int magic2 unsigned int cmd void *arg - -
143 setregid man/ cs/ 0x8f gid_t rgid gid_t egid - - - -
144 setgid man/ cs/ 0x90 gid_t gid - - - - -
145 setreuid man/ cs/ 0x91 uid_t ruid uid_t euid - - - -
146 setuid man/ cs/ 0x92 uid_t uid - - - - -
147 setresuid man/ cs/ 0x93 uid_t ruid uid_t euid uid_t suid - - -
148 getresuid man/ cs/ 0x94 uid_t *ruid uid_t *euid uid_t *suid - - -
149 setresgid man/ cs/ 0x95 gid_t rgid gid_t egid gid_t sgid - - -
150 getresgid man/ cs/ 0x96 gid_t *rgid gid_t *egid gid_t *sgid - - -
151 setfsuid man/ cs/ 0x97 uid_t uid - - - - -
152 setfsgid man/ cs/ 0x98 gid_t gid - - - - -
153 times man/ cs/ 0x99 struct tms *tbuf - - - - -
154 setpgid man/ cs/ 0x9a pid_t pid pid_t pgid - - - -
155 getpgid man/ cs/ 0x9b pid_t pid - - - - -
156 getsid man/ cs/ 0x9c pid_t pid - - - - -
157 setsid man/ cs/ 0x9d - - - - - -
158 getgroups man/ cs/ 0x9e int gidsetsize gid_t *grouplist - - - -
159 setgroups man/ cs/ 0x9f int gidsetsize gid_t *grouplist - - - -
160 uname man/ cs/ 0xa0 struct old_utsname * - - - - -
161 sethostname man/ cs/ 0xa1 char *name int len - - - -
162 setdomainname man/ cs/ 0xa2 char *name int len - - - -
163 getrlimit man/ cs/ 0xa3 unsigned int resource struct rlimit *rlim - - - -
164 setrlimit man/ cs/ 0xa4 unsigned int resource struct rlimit *rlim - - - -
165 getrusage man/ cs/ 0xa5 int who struct rusage *ru - - - -
166 umask man/ cs/ 0xa6 int mask - - - - -
167 prctl man/ cs/ 0xa7 int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
168 getcpu man/ cs/ 0xa8 unsigned *cpu unsigned *node struct getcpu_cache *cache - - -
169 gettimeofday man/ cs/ 0xa9 struct timeval *tv struct timezone *tz - - - -
170 settimeofday man/ cs/ 0xaa struct timeval *tv struct timezone *tz - - - -
171 adjtimex man/ cs/ 0xab struct timex *txc_p - - - - -
172 getpid man/ cs/ 0xac - - - - - -
173 getppid man/ cs/ 0xad - - - - - -
174 getuid man/ cs/ 0xae - - - - - -
175 geteuid man/ cs/ 0xaf - - - - - -
176 getgid man/ cs/ 0xb0 - - - - - -
177 getegid man/ cs/ 0xb1 - - - - - -
178 gettid man/ cs/ 0xb2 - - - - - -
179 sysinfo man/ cs/ 0xb3 struct sysinfo *info - - - - -
180 mq_open man/ cs/ 0xb4 const char *name int oflag umode_t mode struct mq_attr *attr - -
181 mq_unlink man/ cs/ 0xb5 const char *name - - - - -
182 mq_timedsend man/ cs/ 0xb6 mqd_t mqdes const char *msg_ptr size_t msg_len unsigned int msg_prio const struct __kernel_timespec *abs_timeout -
183 mq_timedreceive man/ cs/ 0xb7 mqd_t mqdes char *msg_ptr size_t msg_len unsigned int *msg_prio const struct __kernel_timespec *abs_timeout -
184 mq_notify man/ cs/ 0xb8 mqd_t mqdes const struct sigevent *notification - - - -
185 mq_getsetattr man/ cs/ 0xb9 mqd_t mqdes const struct mq_attr *mqstat struct mq_attr *omqstat - - -
186 msgget man/ cs/ 0xba key_t key int msgflg - - - -
187 msgctl man/ cs/ 0xbb int msqid int cmd struct msqid_ds *buf - - -
188 msgrcv man/ cs/ 0xbc int msqid struct msgbuf *msgp size_t msgsz long msgtyp int msgflg -
189 msgsnd man/ cs/ 0xbd int msqid struct msgbuf *msgp size_t msgsz int msgflg - -
190 semget man/ cs/ 0xbe key_t key int nsems int semflg - - -
191 semctl man/ cs/ 0xbf int semid int semnum int cmd unsigned long arg - -
192 semtimedop man/ cs/ 0xc0 int semid struct sembuf *sops unsigned nsops const struct __kernel_timespec *timeout - -
193 semop man/ cs/ 0xc1 int semid struct sembuf *sops unsigned nsops - - -
194 shmget man/ cs/ 0xc2 key_t key size_t size int flag - - -
195 shmctl man/ cs/ 0xc3 int shmid int cmd struct shmid_ds *buf - - -
196 shmat man/ cs/ 0xc4 int shmid char *shmaddr int shmflg - - -
197 shmdt man/ cs/ 0xc5 char *shmaddr - - - - -
198 socket man/ cs/ 0xc6 int int int - - -
199 socketpair man/ cs/ 0xc7 int int int int * - -
200 bind man/ cs/ 0xc8 int struct sockaddr * int - - -
201 listen man/ cs/ 0xc9 int int - - - -
202 accept man/ cs/ 0xca int struct sockaddr * int * - - -
203 connect man/ cs/ 0xcb int struct sockaddr * int - - -
204 getsockname man/ cs/ 0xcc int struct sockaddr * int * - - -
205 getpeername man/ cs/ 0xcd int struct sockaddr * int * - - -
206 sendto man/ cs/ 0xce int void * size_t unsigned struct sockaddr * int
207 recvfrom man/ cs/ 0xcf int void * size_t unsigned struct sockaddr * int *
208 setsockopt man/ cs/ 0xd0 int fd int level int optname char *optval int optlen -
209 getsockopt man/ cs/ 0xd1 int fd int level int optname char *optval int *optlen -
210 shutdown man/ cs/ 0xd2 int int - - - -
211 sendmsg man/ cs/ 0xd3 int fd struct user_msghdr *msg unsigned flags - - -
212 recvmsg man/ cs/ 0xd4 int fd struct user_msghdr *msg unsigned flags - - -
213 readahead man/ cs/ 0xd5 int fd loff_t offset size_t count - - -
214 brk man/ cs/ 0xd6 unsigned long brk - - - - -
215 munmap man/ cs/ 0xd7 unsigned long addr size_t len - - - -
216 mremap man/ cs/ 0xd8 unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr -
217 add_key man/ cs/ 0xd9 const char *_type const char *_description const void *_payload size_t plen key_serial_t destringid -
218 request_key man/ cs/ 0xda const char *_type const char *_description const char *_callout_info key_serial_t destringid - -
219 keyctl man/ cs/ 0xdb int cmd unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
220 clone man/ cs/ 0xdc unsigned long unsigned long int * int * unsigned long -
221 execve man/ cs/ 0xdd const char *filename const char *const *argv const char *const *envp - - -
222 mmap man/ cs/ 0xde ? ? ? ? ? ?
223 fadvise64 man/ cs/ 0xdf int fd loff_t offset size_t len int advice - -
224 swapon man/ cs/ 0xe0 const char *specialfile int swap_flags - - - -
225 swapoff man/ cs/ 0xe1 const char *specialfile - - - - -
226 mprotect man/ cs/ 0xe2 unsigned long start size_t len unsigned long prot - - -
227 msync man/ cs/ 0xe3 unsigned long start size_t len int flags - - -
228 mlock man/ cs/ 0xe4 unsigned long start size_t len - - - -
229 munlock man/ cs/ 0xe5 unsigned long start size_t len - - - -
230 mlockall man/ cs/ 0xe6 int flags - - - - -
231 munlockall man/ cs/ 0xe7 - - - - - -
232 mincore man/ cs/ 0xe8 unsigned long start size_t len unsigned char * vec - - -
233 madvise man/ cs/ 0xe9 unsigned long start size_t len int behavior - - -
234 remap_file_pages man/ cs/ 0xea unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags -
235 mbind man/ cs/ 0xeb unsigned long start unsigned long len unsigned long mode const unsigned long *nmask unsigned long maxnode unsigned flags
236 get_mempolicy man/ cs/ 0xec int *policy unsigned long *nmask unsigned long maxnode unsigned long addr unsigned long flags -
237 set_mempolicy man/ cs/ 0xed int mode const unsigned long *nmask unsigned long maxnode - - -
238 migrate_pages man/ cs/ 0xee pid_t pid unsigned long maxnode const unsigned long *from const unsigned long *to - -
239 move_pages man/ cs/ 0xef pid_t pid unsigned long nr_pages const void * *pages const int *nodes int *status int flags
240 rt_tgsigqueueinfo man/ cs/ 0xf0 pid_t tgid pid_t pid int sig siginfo_t *uinfo - -
241 perf_event_open man/ cs/ 0xf1 struct perf_event_attr *attr_uptr pid_t pid int cpu int group_fd unsigned long flags -
242 accept4 man/ cs/ 0xf2 int struct sockaddr * int * int - -
243 recvmmsg man/ cs/ 0xf3 int fd struct mmsghdr *msg unsigned int vlen unsigned flags struct timespec *timeout -
244 not implemented 0xf4
245 not implemented 0xf5
246 not implemented 0xf6
247 not implemented 0xf7
248 not implemented 0xf8
249 not implemented 0xf9
250 not implemented 0xfa
251 not implemented 0xfb
252 not implemented 0xfc
253 not implemented 0xfd
254 not implemented 0xfe
255 not implemented 0xff
256 not implemented 0x100
257 not implemented 0x101
258 not implemented 0x102
259 not implemented 0x103
260 wait4 man/ cs/ 0x104 pid_t pid int *stat_addr int options struct rusage *ru - -
261 prlimit64 man/ cs/ 0x105 pid_t pid unsigned int resource const struct rlimit64 *new_rlim struct rlimit64 *old_rlim - -
262 fanotify_init man/ cs/ 0x106 unsigned int flags unsigned int event_f_flags - - - -
263 fanotify_mark man/ cs/ 0x107 int fanotify_fd unsigned int flags u64 mask int fd const char *pathname -
264 name_to_handle_at man/ cs/ 0x108 int dfd const char *name struct file_handle *handle int *mnt_id int flag -
265 open_by_handle_at man/ cs/ 0x109 int mountdirfd struct file_handle *handle int flags - - -
266 clock_adjtime man/ cs/ 0x10a clockid_t which_clock struct timex *tx - - - -
267 syncfs man/ cs/ 0x10b int fd - - - - -
268 setns man/ cs/ 0x10c int fd int nstype - - - -
269 sendmmsg man/ cs/ 0x10d int fd struct mmsghdr *msg unsigned int vlen unsigned flags - -
270 process_vm_readv man/ cs/ 0x10e pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
271 process_vm_writev man/ cs/ 0x10f pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
272 kcmp man/ cs/ 0x110 pid_t pid1 pid_t pid2 int type unsigned long idx1 unsigned long idx2 -
273 finit_module man/ cs/ 0x111 int fd const char *uargs int flags - - -
274 sched_setattr man/ cs/ 0x112 pid_t pid struct sched_attr *attr unsigned int flags - - -
275 sched_getattr man/ cs/ 0x113 pid_t pid struct sched_attr *attr unsigned int size unsigned int flags - -
276 renameat2 man/ cs/ 0x114 int olddfd const char *oldname int newdfd const char *newname unsigned int flags -
277 seccomp man/ cs/ 0x115 unsigned int op unsigned int flags const char *uargs - - -
278 getrandom man/ cs/ 0x116 char *buf size_t count unsigned int flags - - -
279 memfd_create man/ cs/ 0x117 const char *uname_ptr unsigned int flags - - - -
280 bpf man/ cs/ 0x118 int cmd union bpf_attr *attr unsigned int size - - -
281 execveat man/ cs/ 0x119 int dfd const char *filename const char *const *argv const char *const *envp int flags -
282 userfaultfd man/ cs/ 0x11a int flags - - - - -
283 membarrier man/ cs/ 0x11b int cmd int flags - - - -
284 mlock2 man/ cs/ 0x11c unsigned long start size_t len int flags - - -
285 copy_file_range man/ cs/ 0x11d int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
286 preadv2 man/ cs/ 0x11e unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
287 pwritev2 man/ cs/ 0x11f unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
288 pkey_mprotect man/ cs/ 0x120 unsigned long start size_t len unsigned long prot int pkey - -
289 pkey_alloc man/ cs/ 0x121 unsigned long flags unsigned long init_val - - - -
290 pkey_free man/ cs/ 0x122 int pkey - - - - -
291 statx man/ cs/ 0x123 int dfd const char *path unsigned flags unsigned mask struct statx *buffer -

x86 (32-bit)

Compiled from Linux 4.14.0 headers.

NR syscall name references %eax arg0 (%ebx) arg1 (%ecx) arg2 (%edx) arg3 (%esi) arg4 (%edi) arg5 (%ebp)
0 restart_syscall man/ cs/ 0x00 - - - - - -
1 exit man/ cs/ 0x01 int error_code - - - - -
2 fork man/ cs/ 0x02 - - - - - -
3 read man/ cs/ 0x03 unsigned int fd char *buf size_t count - - -
4 write man/ cs/ 0x04 unsigned int fd const char *buf size_t count - - -
5 open man/ cs/ 0x05 const char *filename int flags umode_t mode - - -
6 close man/ cs/ 0x06 unsigned int fd - - - - -
7 waitpid man/ cs/ 0x07 pid_t pid int *stat_addr int options - - -
8 creat man/ cs/ 0x08 const char *pathname umode_t mode - - - -
9 link man/ cs/ 0x09 const char *oldname const char *newname - - - -
10 unlink man/ cs/ 0x0a const char *pathname - - - - -
11 execve man/ cs/ 0x0b const char *filename const char *const *argv const char *const *envp - - -
12 chdir man/ cs/ 0x0c const char *filename - - - - -
13 time man/ cs/ 0x0d time_t *tloc - - - - -
14 mknod man/ cs/ 0x0e const char *filename umode_t mode unsigned dev - - -
15 chmod man/ cs/ 0x0f const char *filename umode_t mode - - - -
16 lchown man/ cs/ 0x10 const char *filename uid_t user gid_t group - - -
17 break man/ cs/ 0x11 ? ? ? ? ? ?
18 oldstat man/ cs/ 0x12 ? ? ? ? ? ?
19 lseek man/ cs/ 0x13 unsigned int fd off_t offset unsigned int whence - - -
20 getpid man/ cs/ 0x14 - - - - - -
21 mount man/ cs/ 0x15 char *dev_name char *dir_name char *type unsigned long flags void *data -
22 umount man/ cs/ 0x16 char *name int flags - - - -
23 setuid man/ cs/ 0x17 uid_t uid - - - - -
24 getuid man/ cs/ 0x18 - - - - - -
25 stime man/ cs/ 0x19 time_t *tptr - - - - -
26 ptrace man/ cs/ 0x1a long request long pid unsigned long addr unsigned long data - -
27 alarm man/ cs/ 0x1b unsigned int seconds - - - - -
28 oldfstat man/ cs/ 0x1c ? ? ? ? ? ?
29 pause man/ cs/ 0x1d - - - - - -
30 utime man/ cs/ 0x1e char *filename struct utimbuf *times - - - -
31 stty man/ cs/ 0x1f ? ? ? ? ? ?
32 gtty man/ cs/ 0x20 ? ? ? ? ? ?
33 access man/ cs/ 0x21 const char *filename int mode - - - -
34 nice man/ cs/ 0x22 int increment - - - - -
35 ftime man/ cs/ 0x23 ? ? ? ? ? ?
36 sync man/ cs/ 0x24 - - - - - -
37 kill man/ cs/ 0x25 pid_t pid int sig - - - -
38 rename man/ cs/ 0x26 const char *oldname const char *newname - - - -
39 mkdir man/ cs/ 0x27 const char *pathname umode_t mode - - - -
40 rmdir man/ cs/ 0x28 const char *pathname - - - - -
41 dup man/ cs/ 0x29 unsigned int fildes - - - - -
42 pipe man/ cs/ 0x2a int *fildes - - - - -
43 times man/ cs/ 0x2b struct tms *tbuf - - - - -
44 prof man/ cs/ 0x2c ? ? ? ? ? ?
45 brk man/ cs/ 0x2d unsigned long brk - - - - -
46 setgid man/ cs/ 0x2e gid_t gid - - - - -
47 getgid man/ cs/ 0x2f - - - - - -
48 signal man/ cs/ 0x30 int sig __sighandler_t handler - - - -
49 geteuid man/ cs/ 0x31 - - - - - -
50 getegid man/ cs/ 0x32 - - - - - -
51 acct man/ cs/ 0x33 const char *name - - - - -
52 umount2 man/ cs/ 0x34 ? ? ? ? ? ?
53 lock man/ cs/ 0x35 ? ? ? ? ? ?
54 ioctl man/ cs/ 0x36 unsigned int fd unsigned int cmd unsigned long arg - - -
55 fcntl man/ cs/ 0x37 unsigned int fd unsigned int cmd unsigned long arg - - -
56 mpx man/ cs/ 0x38 ? ? ? ? ? ?
57 setpgid man/ cs/ 0x39 pid_t pid pid_t pgid - - - -
58 ulimit man/ cs/ 0x3a ? ? ? ? ? ?
59 oldolduname man/ cs/ 0x3b ? ? ? ? ? ?
60 umask man/ cs/ 0x3c int mask - - - - -
61 chroot man/ cs/ 0x3d const char *filename - - - - -
62 ustat man/ cs/ 0x3e unsigned dev struct ustat *ubuf - - - -
63 dup2 man/ cs/ 0x3f unsigned int oldfd unsigned int newfd - - - -
64 getppid man/ cs/ 0x40 - - - - - -
65 getpgrp man/ cs/ 0x41 - - - - - -
66 setsid man/ cs/ 0x42 - - - - - -
67 sigaction man/ cs/ 0x43 int const struct old_sigaction * struct old_sigaction * - - -
68 sgetmask man/ cs/ 0x44 - - - - - -
69 ssetmask man/ cs/ 0x45 int newmask - - - - -
70 setreuid man/ cs/ 0x46 uid_t ruid uid_t euid - - - -
71 setregid man/ cs/ 0x47 gid_t rgid gid_t egid - - - -
72 sigsuspend man/ cs/ 0x48 int unused1 int unused2 old_sigset_t mask - - -
73 sigpending man/ cs/ 0x49 old_sigset_t *uset - - - - -
74 sethostname man/ cs/ 0x4a char *name int len - - - -
75 setrlimit man/ cs/ 0x4b unsigned int resource struct rlimit *rlim - - - -
76 getrlimit man/ cs/ 0x4c unsigned int resource struct rlimit *rlim - - - -
77 getrusage man/ cs/ 0x4d int who struct rusage *ru - - - -
78 gettimeofday man/ cs/ 0x4e struct timeval *tv struct timezone *tz - - - -
79 settimeofday man/ cs/ 0x4f struct timeval *tv struct timezone *tz - - - -
80 getgroups man/ cs/ 0x50 int gidsetsize gid_t *grouplist - - - -
81 setgroups man/ cs/ 0x51 int gidsetsize gid_t *grouplist - - - -
82 select man/ cs/ 0x52 int n fd_set *inp fd_set *outp fd_set *exp struct timeval *tvp -
83 symlink man/ cs/ 0x53 const char *old const char *new - - - -
84 oldlstat man/ cs/ 0x54 ? ? ? ? ? ?
85 readlink man/ cs/ 0x55 const char *path char *buf int bufsiz - - -
86 uselib man/ cs/ 0x56 const char *library - - - - -
87 swapon man/ cs/ 0x57 const char *specialfile int swap_flags - - - -
88 reboot man/ cs/ 0x58 int magic1 int magic2 unsigned int cmd void *arg - -
89 readdir man/ cs/ 0x59 ? ? ? ? ? ?
90 mmap man/ cs/ 0x5a ? ? ? ? ? ?
91 munmap man/ cs/ 0x5b unsigned long addr size_t len - - - -
92 truncate man/ cs/ 0x5c const char *path long length - - - -
93 ftruncate man/ cs/ 0x5d unsigned int fd unsigned long length - - - -
94 fchmod man/ cs/ 0x5e unsigned int fd umode_t mode - - - -
95 fchown man/ cs/ 0x5f unsigned int fd uid_t user gid_t group - - -
96 getpriority man/ cs/ 0x60 int which int who - - - -
97 setpriority man/ cs/ 0x61 int which int who int niceval - - -
98 profil man/ cs/ 0x62 ? ? ? ? ? ?
99 statfs man/ cs/ 0x63 const char * path struct statfs *buf - - - -
100 fstatfs man/ cs/ 0x64 unsigned int fd struct statfs *buf - - - -
101 ioperm man/ cs/ 0x65 unsigned long from unsigned long num int on - - -
102 socketcall man/ cs/ 0x66 int call unsigned long *args - - - -
103 syslog man/ cs/ 0x67 int type char *buf int len - - -
104 setitimer man/ cs/ 0x68 int which struct itimerval *value struct itimerval *ovalue - - -
105 getitimer man/ cs/ 0x69 int which struct itimerval *value - - - -
106 stat man/ cs/ 0x6a const char *filename struct __old_kernel_stat *statbuf - - - -
107 lstat man/ cs/ 0x6b const char *filename struct __old_kernel_stat *statbuf - - - -
108 fstat man/ cs/ 0x6c unsigned int fd struct __old_kernel_stat *statbuf - - - -
109 olduname man/ cs/ 0x6d struct oldold_utsname * - - - - -
110 iopl man/ cs/ 0x6e ? ? ? ? ? ?
111 vhangup man/ cs/ 0x6f - - - - - -
112 idle man/ cs/ 0x70 ? ? ? ? ? ?
113 vm86old man/ cs/ 0x71 ? ? ? ? ? ?
114 wait4 man/ cs/ 0x72 pid_t pid int *stat_addr int options struct rusage *ru - -
115 swapoff man/ cs/ 0x73 const char *specialfile - - - - -
116 sysinfo man/ cs/ 0x74 struct sysinfo *info - - - - -
117 ipc man/ cs/ 0x75 unsigned int call int first unsigned long second unsigned long third void *ptr long fifth
118 fsync man/ cs/ 0x76 unsigned int fd - - - - -
119 sigreturn man/ cs/ 0x77 ? ? ? ? ? ?
120 clone man/ cs/ 0x78 unsigned long unsigned long int * int * unsigned long -
121 setdomainname man/ cs/ 0x79 char *name int len - - - -
122 uname man/ cs/ 0x7a struct old_utsname * - - - - -
123 modify_ldt man/ cs/ 0x7b ? ? ? ? ? ?
124 adjtimex man/ cs/ 0x7c struct timex *txc_p - - - - -
125 mprotect man/ cs/ 0x7d unsigned long start size_t len unsigned long prot - - -
126 sigprocmask man/ cs/ 0x7e int how old_sigset_t *set old_sigset_t *oset - - -
127 create_module man/ cs/ 0x7f ? ? ? ? ? ?
128 init_module man/ cs/ 0x80 void *umod unsigned long len const char *uargs - - -
129 delete_module man/ cs/ 0x81 const char *name_user unsigned int flags - - - -
130 get_kernel_syms man/ cs/ 0x82 ? ? ? ? ? ?
131 quotactl man/ cs/ 0x83 unsigned int cmd const char *special qid_t id void *addr - -
132 getpgid man/ cs/ 0x84 pid_t pid - - - - -
133 fchdir man/ cs/ 0x85 unsigned int fd - - - - -
134 bdflush man/ cs/ 0x86 int func long data - - - -
135 sysfs man/ cs/ 0x87 int option unsigned long arg1 unsigned long arg2 - - -
136 personality man/ cs/ 0x88 unsigned int personality - - - - -
137 afs_syscall man/ cs/ 0x89 ? ? ? ? ? ?
138 setfsuid man/ cs/ 0x8a uid_t uid - - - - -
139 setfsgid man/ cs/ 0x8b gid_t gid - - - - -
140 _llseek man/ cs/ 0x8c ? ? ? ? ? ?
141 getdents man/ cs/ 0x8d unsigned int fd struct linux_dirent *dirent unsigned int count - - -
142 _newselect man/ cs/ 0x8e ? ? ? ? ? ?
143 flock man/ cs/ 0x8f unsigned int fd unsigned int cmd - - - -
144 msync man/ cs/ 0x90 unsigned long start size_t len int flags - - -
145 readv man/ cs/ 0x91 unsigned long fd const struct iovec *vec unsigned long vlen - - -
146 writev man/ cs/ 0x92 unsigned long fd const struct iovec *vec unsigned long vlen - - -
147 getsid man/ cs/ 0x93 pid_t pid - - - - -
148 fdatasync man/ cs/ 0x94 unsigned int fd - - - - -
149 _sysctl man/ cs/ 0x95 ? ? ? ? ? ?
150 mlock man/ cs/ 0x96 unsigned long start size_t len - - - -
151 munlock man/ cs/ 0x97 unsigned long start size_t len - - - -
152 mlockall man/ cs/ 0x98 int flags - - - - -
153 munlockall man/ cs/ 0x99 - - - - - -
154 sched_setparam man/ cs/ 0x9a pid_t pid struct sched_param *param - - - -
155 sched_getparam man/ cs/ 0x9b pid_t pid struct sched_param *param - - - -
156 sched_setscheduler man/ cs/ 0x9c pid_t pid int policy struct sched_param *param - - -
157 sched_getscheduler man/ cs/ 0x9d pid_t pid - - - - -
158 sched_yield man/ cs/ 0x9e - - - - - -
159 sched_get_priority_max man/ cs/ 0x9f int policy - - - - -
160 sched_get_priority_min man/ cs/ 0xa0 int policy - - - - -
161 sched_rr_get_interval man/ cs/ 0xa1 pid_t pid struct timespec *interval - - - -
162 nanosleep man/ cs/ 0xa2 struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - - - -
163 mremap man/ cs/ 0xa3 unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr -
164 setresuid man/ cs/ 0xa4 uid_t ruid uid_t euid uid_t suid - - -
165 getresuid man/ cs/ 0xa5 uid_t *ruid uid_t *euid uid_t *suid - - -
166 vm86 man/ cs/ 0xa6 ? ? ? ? ? ?
167 query_module man/ cs/ 0xa7 ? ? ? ? ? ?
168 poll man/ cs/ 0xa8 struct pollfd *ufds unsigned int nfds int timeout - - -
169 nfsservctl man/ cs/ 0xa9 ? ? ? ? ? ?
170 setresgid man/ cs/ 0xaa gid_t rgid gid_t egid gid_t sgid - - -
171 getresgid man/ cs/ 0xab gid_t *rgid gid_t *egid gid_t *sgid - - -
172 prctl man/ cs/ 0xac int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
173 rt_sigreturn man/ cs/ 0xad ? ? ? ? ? ?
174 rt_sigaction man/ cs/ 0xae int const struct sigaction * struct sigaction * size_t - -
175 rt_sigprocmask man/ cs/ 0xaf int how sigset_t *set sigset_t *oset size_t sigsetsize - -
176 rt_sigpending man/ cs/ 0xb0 sigset_t *set size_t sigsetsize - - - -
177 rt_sigtimedwait man/ cs/ 0xb1 const sigset_t *uthese siginfo_t *uinfo const struct timespec *uts size_t sigsetsize - -
178 rt_sigqueueinfo man/ cs/ 0xb2 pid_t pid int sig siginfo_t *uinfo - - -
179 rt_sigsuspend man/ cs/ 0xb3 sigset_t *unewset size_t sigsetsize - - - -
180 pread64 man/ cs/ 0xb4 unsigned int fd char *buf size_t count loff_t pos - -
181 pwrite64 man/ cs/ 0xb5 unsigned int fd const char *buf size_t count loff_t pos - -
182 chown man/ cs/ 0xb6 const char *filename uid_t user gid_t group - - -
183 getcwd man/ cs/ 0xb7 char *buf unsigned long size - - - -
184 capget man/ cs/ 0xb8 cap_user_header_t header cap_user_data_t dataptr - - - -
185 capset man/ cs/ 0xb9 cap_user_header_t header const cap_user_data_t data - - - -
186 sigaltstack man/ cs/ 0xba const struct sigaltstack *uss struct sigaltstack *uoss - - - -
187 sendfile man/ cs/ 0xbb int out_fd int in_fd off_t *offset size_t count - -
188 getpmsg man/ cs/ 0xbc ? ? ? ? ? ?
189 putpmsg man/ cs/ 0xbd ? ? ? ? ? ?
190 vfork man/ cs/ 0xbe - - - - - -
191 ugetrlimit man/ cs/ 0xbf ? ? ? ? ? ?
192 mmap2 man/ cs/ 0xc0 ? ? ? ? ? ?
193 truncate64 man/ cs/ 0xc1 const char *path loff_t length - - - -
194 ftruncate64 man/ cs/ 0xc2 unsigned int fd loff_t length - - - -
195 stat64 man/ cs/ 0xc3 const char *filename struct stat64 *statbuf - - - -
196 lstat64 man/ cs/ 0xc4 const char *filename struct stat64 *statbuf - - - -
197 fstat64 man/ cs/ 0xc5 unsigned long fd struct stat64 *statbuf - - - -
198 lchown32 man/ cs/ 0xc6 ? ? ? ? ? ?
199 getuid32 man/ cs/ 0xc7 ? ? ? ? ? ?
200 getgid32 man/ cs/ 0xc8 ? ? ? ? ? ?
201 geteuid32 man/ cs/ 0xc9 ? ? ? ? ? ?
202 getegid32 man/ cs/ 0xca ? ? ? ? ? ?
203 setreuid32 man/ cs/ 0xcb ? ? ? ? ? ?
204 setregid32 man/ cs/ 0xcc ? ? ? ? ? ?
205 getgroups32 man/ cs/ 0xcd ? ? ? ? ? ?
206 setgroups32 man/ cs/ 0xce ? ? ? ? ? ?
207 fchown32 man/ cs/ 0xcf ? ? ? ? ? ?
208 setresuid32 man/ cs/ 0xd0 ? ? ? ? ? ?
209 getresuid32 man/ cs/ 0xd1 ? ? ? ? ? ?
210 setresgid32 man/ cs/ 0xd2 ? ? ? ? ? ?
211 getresgid32 man/ cs/ 0xd3 ? ? ? ? ? ?
212 chown32 man/ cs/ 0xd4 ? ? ? ? ? ?
213 setuid32 man/ cs/ 0xd5 ? ? ? ? ? ?
214 setgid32 man/ cs/ 0xd6 ? ? ? ? ? ?
215 setfsuid32 man/ cs/ 0xd7 ? ? ? ? ? ?
216 setfsgid32 man/ cs/ 0xd8 ? ? ? ? ? ?
217 pivot_root man/ cs/ 0xd9 const char *new_root const char *put_old - - - -
218 mincore man/ cs/ 0xda unsigned long start size_t len unsigned char * vec - - -
219 madvise man/ cs/ 0xdb unsigned long start size_t len int behavior - - -
220 getdents64 man/ cs/ 0xdc unsigned int fd struct linux_dirent64 *dirent unsigned int count - - -
221 fcntl64 man/ cs/ 0xdd unsigned int fd unsigned int cmd unsigned long arg - - -
222 not implemented 0xde
223 not implemented 0xdf
224 gettid man/ cs/ 0xe0 - - - - - -
225 readahead man/ cs/ 0xe1 int fd loff_t offset size_t count - - -
226 setxattr man/ cs/ 0xe2 const char *path const char *name const void *value size_t size int flags -
227 lsetxattr man/ cs/ 0xe3 const char *path const char *name const void *value size_t size int flags -
228 fsetxattr man/ cs/ 0xe4 int fd const char *name const void *value size_t size int flags -
229 getxattr man/ cs/ 0xe5 const char *path const char *name void *value size_t size - -
230 lgetxattr man/ cs/ 0xe6 const char *path const char *name void *value size_t size - -
231 fgetxattr man/ cs/ 0xe7 int fd const char *name void *value size_t size - -
232 listxattr man/ cs/ 0xe8 const char *path char *list size_t size - - -
233 llistxattr man/ cs/ 0xe9 const char *path char *list size_t size - - -
234 flistxattr man/ cs/ 0xea int fd char *list size_t size - - -
235 removexattr man/ cs/ 0xeb const char *path const char *name - - - -
236 lremovexattr man/ cs/ 0xec const char *path const char *name - - - -
237 fremovexattr man/ cs/ 0xed int fd const char *name - - - -
238 tkill man/ cs/ 0xee pid_t pid int sig - - - -
239 sendfile64 man/ cs/ 0xef int out_fd int in_fd loff_t *offset size_t count - -
240 futex man/ cs/ 0xf0 u32 *uaddr int op u32 val struct timespec *utime u32 *uaddr2 u32 val3
241 sched_setaffinity man/ cs/ 0xf1 pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
242 sched_getaffinity man/ cs/ 0xf2 pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
243 set_thread_area man/ cs/ 0xf3 ? ? ? ? ? ?
244 get_thread_area man/ cs/ 0xf4 ? ? ? ? ? ?
245 io_setup man/ cs/ 0xf5 unsigned nr_reqs aio_context_t *ctx - - - -
246 io_destroy man/ cs/ 0xf6 aio_context_t ctx - - - - -
247 io_getevents man/ cs/ 0xf7 aio_context_t ctx_id long min_nr long nr struct io_event *events struct timespec *timeout -
248 io_submit man/ cs/ 0xf8 aio_context_t long struct iocb * * - - -
249 io_cancel man/ cs/ 0xf9 aio_context_t ctx_id struct iocb *iocb struct io_event *result - - -
250 fadvise64 man/ cs/ 0xfa int fd loff_t offset size_t len int advice - -
251 not implemented 0xfb
252 exit_group man/ cs/ 0xfc int error_code - - - - -
253 lookup_dcookie man/ cs/ 0xfd u64 cookie64 char *buf size_t len - - -
254 epoll_create man/ cs/ 0xfe int size - - - - -
255 epoll_ctl man/ cs/ 0xff int epfd int op int fd struct epoll_event *event - -
256 epoll_wait man/ cs/ 0x100 int epfd struct epoll_event *events int maxevents int timeout - -
257 remap_file_pages man/ cs/ 0x101 unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags -
258 set_tid_address man/ cs/ 0x102 int *tidptr - - - - -
259 timer_create man/ cs/ 0x103 clockid_t which_clock struct sigevent *timer_event_spec timer_t * created_timer_id - - -
260 timer_settime man/ cs/ 0x104 timer_t timer_id int flags const struct __kernel_itimerspec *new_setting struct itimerspec *old_setting - -
261 timer_gettime man/ cs/ 0x105 timer_t timer_id struct __kernel_itimerspec *setting - - - -
262 timer_getoverrun man/ cs/ 0x106 timer_t timer_id - - - - -
263 timer_delete man/ cs/ 0x107 timer_t timer_id - - - - -
264 clock_settime man/ cs/ 0x108 clockid_t which_clock const struct __kernel_timespec *tp - - - -
265 clock_gettime man/ cs/ 0x109 clockid_t which_clock struct __kernel_timespec *tp - - - -
266 clock_getres man/ cs/ 0x10a clockid_t which_clock struct __kernel_timespec *tp - - - -
267 clock_nanosleep man/ cs/ 0x10b clockid_t which_clock int flags const struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - -
268 statfs64 man/ cs/ 0x10c const char *path size_t sz struct statfs64 *buf - - -
269 fstatfs64 man/ cs/ 0x10d unsigned int fd size_t sz struct statfs64 *buf - - -
270 tgkill man/ cs/ 0x10e pid_t tgid pid_t pid int sig - - -
271 utimes man/ cs/ 0x10f char *filename struct timeval *utimes - - - -
272 fadvise64_64 man/ cs/ 0x110 int fd loff_t offset loff_t len int advice - -
273 vserver man/ cs/ 0x111 ? ? ? ? ? ?
274 mbind man/ cs/ 0x112 unsigned long start unsigned long len unsigned long mode const unsigned long *nmask unsigned long maxnode unsigned flags
275 get_mempolicy man/ cs/ 0x113 int *policy unsigned long *nmask unsigned long maxnode unsigned long addr unsigned long flags -
276 set_mempolicy man/ cs/ 0x114 int mode const unsigned long *nmask unsigned long maxnode - - -
277 mq_open man/ cs/ 0x115 const char *name int oflag umode_t mode struct mq_attr *attr - -
278 mq_unlink man/ cs/ 0x116 const char *name - - - - -
279 mq_timedsend man/ cs/ 0x117 mqd_t mqdes const char *msg_ptr size_t msg_len unsigned int msg_prio const struct __kernel_timespec *abs_timeout -
280 mq_timedreceive man/ cs/ 0x118 mqd_t mqdes char *msg_ptr size_t msg_len unsigned int *msg_prio const struct __kernel_timespec *abs_timeout -
281 mq_notify man/ cs/ 0x119 mqd_t mqdes const struct sigevent *notification - - - -
282 mq_getsetattr man/ cs/ 0x11a mqd_t mqdes const struct mq_attr *mqstat struct mq_attr *omqstat - - -
283 kexec_load man/ cs/ 0x11b unsigned long entry unsigned long nr_segments struct kexec_segment *segments unsigned long flags - -
284 waitid man/ cs/ 0x11c int which pid_t pid struct siginfo *infop int options struct rusage *ru -
285 not implemented 0x11d
286 add_key man/ cs/ 0x11e const char *_type const char *_description const void *_payload size_t plen key_serial_t destringid -
287 request_key man/ cs/ 0x11f const char *_type const char *_description const char *_callout_info key_serial_t destringid - -
288 keyctl man/ cs/ 0x120 int cmd unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
289 ioprio_set man/ cs/ 0x121 int which int who int ioprio - - -
290 ioprio_get man/ cs/ 0x122 int which int who - - - -
291 inotify_init man/ cs/ 0x123 - - - - - -
292 inotify_add_watch man/ cs/ 0x124 int fd const char *path u32 mask - - -
293 inotify_rm_watch man/ cs/ 0x125 int fd __s32 wd - - - -
294 migrate_pages man/ cs/ 0x126 pid_t pid unsigned long maxnode const unsigned long *from const unsigned long *to - -
295 openat man/ cs/ 0x127 int dfd const char *filename int flags umode_t mode - -
296 mkdirat man/ cs/ 0x128 int dfd const char * pathname umode_t mode - - -
297 mknodat man/ cs/ 0x129 int dfd const char * filename umode_t mode unsigned dev - -
298 fchownat man/ cs/ 0x12a int dfd const char *filename uid_t user gid_t group int flag -
299 futimesat man/ cs/ 0x12b int dfd const char *filename struct timeval *utimes - - -
300 fstatat64 man/ cs/ 0x12c int dfd const char *filename struct stat64 *statbuf int flag - -
301 unlinkat man/ cs/ 0x12d int dfd const char * pathname int flag - - -
302 renameat man/ cs/ 0x12e int olddfd const char * oldname int newdfd const char * newname - -
303 linkat man/ cs/ 0x12f int olddfd const char *oldname int newdfd const char *newname int flags -
304 symlinkat man/ cs/ 0x130 const char * oldname int newdfd const char * newname - - -
305 readlinkat man/ cs/ 0x131 int dfd const char *path char *buf int bufsiz - -
306 fchmodat man/ cs/ 0x132 int dfd const char * filename umode_t mode - - -
307 faccessat man/ cs/ 0x133 int dfd const char *filename int mode - - -
308 pselect6 man/ cs/ 0x134 int fd_set * fd_set * fd_set * struct timespec * void *
309 ppoll man/ cs/ 0x135 struct pollfd * unsigned int struct timespec * const sigset_t * size_t -
310 unshare man/ cs/ 0x136 unsigned long unshare_flags - - - - -
311 set_robust_list man/ cs/ 0x137 struct robust_list_head *head size_t len - - - -
312 get_robust_list man/ cs/ 0x138 int pid struct robust_list_head * *head_ptr size_t *len_ptr - - -
313 splice man/ cs/ 0x139 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
314 sync_file_range man/ cs/ 0x13a int fd loff_t offset loff_t nbytes unsigned int flags - -
315 tee man/ cs/ 0x13b int fdin int fdout size_t len unsigned int flags - -
316 vmsplice man/ cs/ 0x13c int fd const struct iovec *iov unsigned long nr_segs unsigned int flags - -
317 move_pages man/ cs/ 0x13d pid_t pid unsigned long nr_pages const void * *pages const int *nodes int *status int flags
318 getcpu man/ cs/ 0x13e unsigned *cpu unsigned *node struct getcpu_cache *cache - - -
319 epoll_pwait man/ cs/ 0x13f int epfd struct epoll_event *events int maxevents int timeout const sigset_t *sigmask size_t sigsetsize
320 utimensat man/ cs/ 0x140 int dfd const char *filename struct timespec *utimes int flags - -
321 signalfd man/ cs/ 0x141 int ufd sigset_t *user_mask size_t sizemask - - -
322 timerfd_create man/ cs/ 0x142 int clockid int flags - - - -
323 eventfd man/ cs/ 0x143 unsigned int count - - - - -
324 fallocate man/ cs/ 0x144 int fd int mode loff_t offset loff_t len - -
325 timerfd_settime man/ cs/ 0x145 int ufd int flags const struct __kernel_itimerspec *utmr struct __kernel_itimerspec *otmr - -
326 timerfd_gettime man/ cs/ 0x146 int ufd struct __kernel_itimerspec *otmr - - - -
327 signalfd4 man/ cs/ 0x147 int ufd sigset_t *user_mask size_t sizemask int flags - -
328 eventfd2 man/ cs/ 0x148 unsigned int count int flags - - - -
329 epoll_create1 man/ cs/ 0x149 int flags - - - - -
330 dup3 man/ cs/ 0x14a unsigned int oldfd unsigned int newfd int flags - - -
331 pipe2 man/ cs/ 0x14b int *fildes int flags - - - -
332 inotify_init1 man/ cs/ 0x14c int flags - - - - -
333 preadv man/ cs/ 0x14d unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
334 pwritev man/ cs/ 0x14e unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
335 rt_tgsigqueueinfo man/ cs/ 0x14f pid_t tgid pid_t pid int sig siginfo_t *uinfo - -
336 perf_event_open man/ cs/ 0x150 struct perf_event_attr *attr_uptr pid_t pid int cpu int group_fd unsigned long flags -
337 recvmmsg man/ cs/ 0x151 int fd struct mmsghdr *msg unsigned int vlen unsigned flags struct timespec *timeout -
338 fanotify_init man/ cs/ 0x152 unsigned int flags unsigned int event_f_flags - - - -
339 fanotify_mark man/ cs/ 0x153 int fanotify_fd unsigned int flags u64 mask int fd const char *pathname -
340 prlimit64 man/ cs/ 0x154 pid_t pid unsigned int resource const struct rlimit64 *new_rlim struct rlimit64 *old_rlim - -
341 name_to_handle_at man/ cs/ 0x155 int dfd const char *name struct file_handle *handle int *mnt_id int flag -
342 open_by_handle_at man/ cs/ 0x156 int mountdirfd struct file_handle *handle int flags - - -
343 clock_adjtime man/ cs/ 0x157 clockid_t which_clock struct timex *tx - - - -
344 syncfs man/ cs/ 0x158 int fd - - - - -
345 sendmmsg man/ cs/ 0x159 int fd struct mmsghdr *msg unsigned int vlen unsigned flags - -
346 setns man/ cs/ 0x15a int fd int nstype - - - -
347 process_vm_readv man/ cs/ 0x15b pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
348 process_vm_writev man/ cs/ 0x15c pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
349 kcmp man/ cs/ 0x15d pid_t pid1 pid_t pid2 int type unsigned long idx1 unsigned long idx2 -
350 finit_module man/ cs/ 0x15e int fd const char *uargs int flags - - -
351 sched_setattr man/ cs/ 0x15f pid_t pid struct sched_attr *attr unsigned int flags - - -
352 sched_getattr man/ cs/ 0x160 pid_t pid struct sched_attr *attr unsigned int size unsigned int flags - -
353 renameat2 man/ cs/ 0x161 int olddfd const char *oldname int newdfd const char *newname unsigned int flags -
354 seccomp man/ cs/ 0x162 unsigned int op unsigned int flags const char *uargs - - -
355 getrandom man/ cs/ 0x163 char *buf size_t count unsigned int flags - - -
356 memfd_create man/ cs/ 0x164 const char *uname_ptr unsigned int flags - - - -
357 bpf man/ cs/ 0x165 int cmd union bpf_attr *attr unsigned int size - - -
358 execveat man/ cs/ 0x166 int dfd const char *filename const char *const *argv const char *const *envp int flags -
359 socket man/ cs/ 0x167 int int int - - -
360 socketpair man/ cs/ 0x168 int int int int * - -
361 bind man/ cs/ 0x169 int struct sockaddr * int - - -
362 connect man/ cs/ 0x16a int struct sockaddr * int - - -
363 listen man/ cs/ 0x16b int int - - - -
364 accept4 man/ cs/ 0x16c int struct sockaddr * int * int - -
365 getsockopt man/ cs/ 0x16d int fd int level int optname char *optval int *optlen -
366 setsockopt man/ cs/ 0x16e int fd int level int optname char *optval int optlen -
367 getsockname man/ cs/ 0x16f int struct sockaddr * int * - - -
368 getpeername man/ cs/ 0x170 int struct sockaddr * int * - - -
369 sendto man/ cs/ 0x171 int void * size_t unsigned struct sockaddr * int
370 sendmsg man/ cs/ 0x172 int fd struct user_msghdr *msg unsigned flags - - -
371 recvfrom man/ cs/ 0x173 int void * size_t unsigned struct sockaddr * int *
372 recvmsg man/ cs/ 0x174 int fd struct user_msghdr *msg unsigned flags - - -
373 shutdown man/ cs/ 0x175 int int - - - -
374 userfaultfd man/ cs/ 0x176 int flags - - - - -
375 membarrier man/ cs/ 0x177 int cmd int flags - - - -
376 mlock2 man/ cs/ 0x178 unsigned long start size_t len int flags - - -
377 copy_file_range man/ cs/ 0x179 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
378 preadv2 man/ cs/ 0x17a unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
379 pwritev2 man/ cs/ 0x17b unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
380 pkey_mprotect man/ cs/ 0x17c unsigned long start size_t len unsigned long prot int pkey - -
381 pkey_alloc man/ cs/ 0x17d unsigned long flags unsigned long init_val - - - -
382 pkey_free man/ cs/ 0x17e int pkey - - - - -
383 statx man/ cs/ 0x17f int dfd const char *path unsigned flags unsigned mask struct statx *buffer -
384 arch_prctl man/ cs/ 0x180 ? ? ? ? ? ?

Cross-arch Numbers

This shows the syscall numbers for (hopefully) the same syscall name across architectures. Consult the Random Names section for common gotchas.

syscall name x86_64 arm arm64 x86
ARM_breakpoint - 983041 - -
ARM_cacheflush - 983042 - -
ARM_set_tls - 983045 - -
ARM_usr26 - 983043 - -
ARM_usr32 - 983044 - -
_llseek - 140 - 140
_newselect - 142 - 142
_sysctl 156 149 - 149
accept 43 285 202 -
accept4 288 366 242 364
access 21 33 - 33
acct 163 51 89 51
add_key 248 309 217 286
adjtimex 159 124 171 124
afs_syscall 183 - - 137
alarm 37 - - 27
arch_prctl 158 - - 384
arm_fadvise64_64 - 270 - -
arm_sync_file_range - 341 - -
bdflush - 134 - 134
bind 49 282 200 361
bpf 321 386 280 357
break - - - 17
brk 12 45 214 45
capget 125 184 90 184
capset 126 185 91 185
chdir 80 12 49 12
chmod 90 15 - 15
chown 92 182 - 182
chown32 - 212 - 212
chroot 161 61 51 61
clock_adjtime 305 372 266 343
clock_getres 229 264 114 266
clock_gettime 228 263 113 265
clock_nanosleep 230 265 115 267
clock_settime 227 262 112 264
clone 56 120 220 120
close 3 6 57 6
connect 42 283 203 362
copy_file_range 326 391 285 377
creat 85 8 - 8
create_module 174 - - 127
delete_module 176 129 106 129
dup 32 41 23 41
dup2 33 63 - 63
dup3 292 358 24 330
epoll_create 213 250 - 254
epoll_create1 291 357 20 329
epoll_ctl 233 251 21 255
epoll_ctl_old 214 - - -
epoll_pwait 281 346 22 319
epoll_wait 232 252 - 256
epoll_wait_old 215 - - -
eventfd 284 351 - 323
eventfd2 290 356 19 328
execve 59 11 221 11
execveat 322 387 281 358
exit 60 1 93 1
exit_group 231 248 94 252
faccessat 269 334 48 307
fadvise64 221 - 223 250
fadvise64_64 - - - 272
fallocate 285 352 47 324
fanotify_init 300 367 262 338
fanotify_mark 301 368 263 339
fchdir 81 133 50 133
fchmod 91 94 52 94
fchmodat 268 333 53 306
fchown 93 95 55 95
fchown32 - 207 - 207
fchownat 260 325 54 298
fcntl 72 55 25 55
fcntl64 - 221 - 221
fdatasync 75 148 83 148
fgetxattr 193 231 10 231
finit_module 313 379 273 350
flistxattr 196 234 13 234
flock 73 143 32 143
fork 57 2 - 2
fremovexattr 199 237 16 237
fsetxattr 190 228 7 228
fstat 5 108 80 108
fstat64 - 197 - 197
fstatat64 - 327 - 300
fstatfs 138 100 44 100
fstatfs64 - 267 - 269
fsync 74 118 82 118
ftime - - - 35
ftruncate 77 93 46 93
ftruncate64 - 194 - 194
futex 202 240 98 240
futimesat 261 326 - 299
get_kernel_syms 177 - - 130
get_mempolicy 239 320 236 275
get_robust_list 274 339 100 312
get_thread_area 211 - - 244
getcpu 309 345 168 318
getcwd 79 183 17 183
getdents 78 141 - 141
getdents64 217 217 61 220
getegid 108 50 177 50
getegid32 - 202 - 202
geteuid 107 49 175 49
geteuid32 - 201 - 201
getgid 104 47 176 47
getgid32 - 200 - 200
getgroups 115 80 158 80
getgroups32 - 205 - 205
getitimer 36 105 102 105
getpeername 52 287 205 368
getpgid 121 132 155 132
getpgrp 111 65 - 65
getpid 39 20 172 20
getpmsg 181 - - 188
getppid 110 64 173 64
getpriority 140 96 141 96
getrandom 318 384 278 355
getresgid 120 171 150 171
getresgid32 - 211 - 211
getresuid 118 165 148 165
getresuid32 - 209 - 209
getrlimit 97 - 163 76
getrusage 98 77 165 77
getsid 124 147 156 147
getsockname 51 286 204 367
getsockopt 55 295 209 365
gettid 186 224 178 224
gettimeofday 96 78 169 78
getuid 102 24 174 24
getuid32 - 199 - 199
getxattr 191 229 8 229
gtty - - - 32
idle - - - 112
init_module 175 128 105 128
inotify_add_watch 254 317 27 292
inotify_init 253 316 - 291
inotify_init1 294 360 26 332
inotify_rm_watch 255 318 28 293
io_cancel 210 247 3 249
io_destroy 207 244 1 246
io_getevents 208 245 4 247
io_setup 206 243 0 245
io_submit 209 246 2 248
ioctl 16 54 29 54
ioperm 173 - - 101
iopl 172 - - 110
ioprio_get 252 315 31 290
ioprio_set 251 314 30 289
ipc - - - 117
kcmp 312 378 272 349
kexec_file_load 320 - - -
kexec_load 246 347 104 283
keyctl 250 311 219 288
kill 62 37 129 37
lchown 94 16 - 16
lchown32 - 198 - 198
lgetxattr 192 230 9 230
link 86 9 - 9
linkat 265 330 37 303
listen 50 284 201 363
listxattr 194 232 11 232
llistxattr 195 233 12 233
lock - - - 53
lookup_dcookie 212 249 18 253
lremovexattr 198 236 15 236
lseek 8 19 62 19
lsetxattr 189 227 6 227
lstat 6 107 - 107
lstat64 - 196 - 196
madvise 28 220 233 219
mbind 237 319 235 274
membarrier 324 389 283 375
memfd_create 319 385 279 356
migrate_pages 256 - 238 294
mincore 27 219 232 218
mkdir 83 39 - 39
mkdirat 258 323 34 296
mknod 133 14 - 14
mknodat 259 324 33 297
mlock 149 150 228 150
mlock2 325 390 284 376
mlockall 151 152 230 152
mmap 9 - 222 90
mmap2 - 192 - 192
modify_ldt 154 - - 123
mount 165 21 40 21
move_pages 279 344 239 317
mprotect 10 125 226 125
mpx - - - 56
mq_getsetattr 245 279 185 282
mq_notify 244 278 184 281
mq_open 240 274 180 277
mq_timedreceive 243 277 183 280
mq_timedsend 242 276 182 279
mq_unlink 241 275 181 278
mremap 25 163 216 163
msgctl 71 304 187 -
msgget 68 303 186 -
msgrcv 70 302 188 -
msgsnd 69 301 189 -
msync 26 144 227 144
munlock 150 151 229 151
munlockall 152 153 231 153
munmap 11 91 215 91
name_to_handle_at 303 370 264 341
nanosleep 35 162 101 162
newfstatat 262 - 79 -
nfsservctl 180 169 42 169
nice - 34 - 34
oldfstat - - - 28
oldlstat - - - 84
oldolduname - - - 59
oldstat - - - 18
olduname - - - 109
open 2 5 - 5
open_by_handle_at 304 371 265 342
openat 257 322 56 295
pause 34 29 - 29
pciconfig_iobase - 271 - -
pciconfig_read - 272 - -
pciconfig_write - 273 - -
perf_event_open 298 364 241 336
personality 135 136 92 136
pipe 22 42 - 42
pipe2 293 359 59 331
pivot_root 155 218 41 217
pkey_alloc 330 395 289 381
pkey_free 331 396 290 382
pkey_mprotect 329 394 288 380
poll 7 168 - 168
ppoll 271 336 73 309
prctl 157 172 167 172
pread64 17 180 67 180
preadv 295 361 69 333
preadv2 327 392 286 378
prlimit64 302 369 261 340
process_vm_readv 310 376 270 347
process_vm_writev 311 377 271 348
prof - - - 44
profil - - - 98
pselect6 270 335 72 308
ptrace 101 26 117 26
putpmsg 182 - - 189
pwrite64 18 181 68 181
pwritev 296 362 70 334
pwritev2 328 393 287 379
query_module 178 - - 167
quotactl 179 131 60 131
read 0 3 63 3
readahead 187 225 213 225
readdir - - - 89
readlink 89 85 - 85
readlinkat 267 332 78 305
readv 19 145 65 145
reboot 169 88 142 88
recv - 291 - -
recvfrom 45 292 207 371
recvmmsg 299 365 243 337
recvmsg 47 297 212 372
remap_file_pages 216 253 234 257
removexattr 197 235 14 235
rename 82 38 - 38
renameat 264 329 38 302
renameat2 316 382 276 353
request_key 249 310 218 287
restart_syscall 219 0 128 0
rmdir 84 40 - 40
rt_sigaction 13 174 134 174
rt_sigpending 127 176 136 176
rt_sigprocmask 14 175 135 175
rt_sigqueueinfo 129 178 138 178
rt_sigreturn 15 173 139 173
rt_sigsuspend 130 179 133 179
rt_sigtimedwait 128 177 137 177
rt_tgsigqueueinfo 297 363 240 335
sched_get_priority_max 146 159 125 159
sched_get_priority_min 147 160 126 160
sched_getaffinity 204 242 123 242
sched_getattr 315 381 275 352
sched_getparam 143 155 121 155
sched_getscheduler 145 157 120 157
sched_rr_get_interval 148 161 127 161
sched_setaffinity 203 241 122 241
sched_setattr 314 380 274 351
sched_setparam 142 154 118 154
sched_setscheduler 144 156 119 156
sched_yield 24 158 124 158
seccomp 317 383 277 354
security 185 - - -
select 23 - - 82
semctl 66 300 191 -
semget 64 299 190 -
semop 65 298 193 -
semtimedop 220 312 192 -
send - 289 - -
sendfile 40 187 71 187
sendfile64 - 239 - 239
sendmmsg 307 374 269 345
sendmsg 46 296 211 370
sendto 44 290 206 369
set_mempolicy 238 321 237 276
set_robust_list 273 338 99 311
set_thread_area 205 - - 243
set_tid_address 218 256 96 258
setdomainname 171 121 162 121
setfsgid 123 139 152 139
setfsgid32 - 216 - 216
setfsuid 122 138 151 138
setfsuid32 - 215 - 215
setgid 106 46 144 46
setgid32 - 214 - 214
setgroups 116 81 159 81
setgroups32 - 206 - 206
sethostname 170 74 161 74
setitimer 38 104 103 104
setns 308 375 268 346
setpgid 109 57 154 57
setpriority 141 97 140 97
setregid 114 71 143 71
setregid32 - 204 - 204
setresgid 119 170 149 170
setresgid32 - 210 - 210
setresuid 117 164 147 164
setresuid32 - 208 - 208
setreuid 113 70 145 70
setreuid32 - 203 - 203
setrlimit 160 75 164 75
setsid 112 66 157 66
setsockopt 54 294 208 366
settimeofday 164 79 170 79
setuid 105 23 146 23
setuid32 - 213 - 213
setxattr 188 226 5 226
sgetmask - - - 68
shmat 30 305 196 -
shmctl 31 308 195 -
shmdt 67 306 197 -
shmget 29 307 194 -
shutdown 48 293 210 373
sigaction - 67 - 67
sigaltstack 131 186 132 186
signal - - - 48
signalfd 282 349 - 321
signalfd4 289 355 74 327
sigpending - 73 - 73
sigprocmask - 126 - 126
sigreturn - 119 - 119
sigsuspend - 72 - 72
socket 41 281 198 359
socketcall - - - 102
socketpair 53 288 199 360
splice 275 340 76 313
ssetmask - - - 69
stat 4 106 - 106
stat64 - 195 - 195
statfs 137 99 43 99
statfs64 - 266 - 268
statx 332 397 291 383
stime - - - 25
stty - - - 31
swapoff 168 115 225 115
swapon 167 87 224 87
symlink 88 83 - 83
symlinkat 266 331 36 304
sync 162 36 81 36
sync_file_range 277 - 84 314
sync_file_range2 - 341 - -
syncfs 306 373 267 344
sysfs 139 135 - 135
sysinfo 99 116 179 116
syslog 103 103 116 103
tee 276 342 77 315
tgkill 234 268 131 270
time 201 - - 13
timer_create 222 257 107 259
timer_delete 226 261 111 263
timer_getoverrun 225 260 109 262
timer_gettime 224 259 108 261
timer_settime 223 258 110 260
timerfd_create 283 350 85 322
timerfd_gettime 287 354 87 326
timerfd_settime 286 353 86 325
times 100 43 153 43
tkill 200 238 130 238
truncate 76 92 45 92
truncate64 - 193 - 193
tuxcall 184 - - -
ugetrlimit - 191 - 191
ulimit - - - 58
umask 95 60 166 60
umount - - - 22
umount2 166 52 39 52
uname 63 122 160 122
unlink 87 10 - 10
unlinkat 263 328 35 301
unshare 272 337 97 310
uselib 134 86 - 86
userfaultfd 323 388 282 374
ustat 136 62 - 62
utime 132 - - 30
utimensat 280 348 88 320
utimes 235 269 - 271
vfork 58 190 - 190
vhangup 153 111 58 111
vm86 - - - 166
vm86old - - - 113
vmsplice 278 343 75 316
vserver 236 313 - 273
wait4 61 114 260 114
waitid 247 280 95 284
waitpid - - - 7
write 1 4 64 4
writev 20 146 66 146