If you're like me then you may enjoy building things in assembly. There's nothing quite like the control of telling the CPU precisely what to do, or the binary size savings from eschewing all standard libraries and rolling everything by hand. Particularly for nefarious purposes. But, to succeed in this endeavor, one has to rely on the system call mechanism to do... anything of any consequence.
Since syscalls are basically just arbitrary function signatures accessed via index numbers, it's handy to have a reference table. There is one that I used to rely on, courtesy of Ryan Chapman and his blog, but it hasn't been updated since the golden age (2016) and is unfortunately falling pretty far out of date. So, I've taken the trouble to mine the current Linux source for all the syscall names, numbers, and expected arguments that exist in the big 2026, and produce a similar resource. Hopefully somebody will find this useful, but it's mostly for my own reference. I expect to most (non-Chinese) people this will be like reading Chinese.
This table is accurate as of Linux Kernel 6.19 via Linux Source @ 8640b74557fc8b4c300030f6ccb8cd078f665ec8.
Details on any system call's purpose, return value, or argument structure can be found using:
man 2 {syscall_name}
Return values are always placed in the rax register.
grep -rA3 'SYSCALL_DEFINE.\?(read,'
| syscall name | rax | rdi | rsi | rdx | r10 | r9 | r8 |
|---|---|---|---|---|---|---|---|
| read | 0x0 |
unsigned int fd |
char* buf |
size_t count |
|||
| write | 0x1 |
unsigned int fd |
char* buf |
size_t count |
|||
| open | 0x2 |
const char* filename |
int flags |
umode_t mode |
|||
| close | 0x3 |
unsigned int fd |
|||||
| stat | 0x4 |
const char* filename |
struct __old_kernel_stat* statbuf |
||||
| fstat | 0x5 |
unsigned int fd |
struct __old_kernel_stat* statbuf |
||||
| lstat | 0x6 |
const char* filename |
struct __old_kernel_stat* statbuf |
||||
| poll | 0x7 |
struct pollfd* ufds |
unsigned int nfds |
int timeout_msecs |
|||
| lseek | 0x8 |
unsigned int fd |
off_t offset |
unsigned int whence |
|||
| mmap | 0x9 |
unsigned long addr |
size_t len |
unsigned long prot |
unsigned long flags |
unsigned long fd |
off_t offset |
| mprotect | 0xa |
unsigned long start |
size_t len |
unsigned long prot |
|||
| munmap | 0xb |
unsigned long addr |
size_t len |
||||
| brk | 0xc |
unsigned long brk |
|||||
| rt_sigaction | 0xd |
int sig |
const struct sigaction* act |
struct sigaction* oact |
size_t sigsetsize |
||
| rt_sigprocmask | 0xe |
int how |
sigset_t* nset |
sigset_t* oset |
size_t sigsetsize |
||
| rt_sigreturn | 0xf |
||||||
| ioctl | 0x10 |
unsigned int fd |
unsigned int cmd |
unsigned long arg |
|||
| pread64 | 0x11 |
unsigned int fd |
char* buf |
size_t count |
loff_t pos |
||
| pwrite64 | 0x12 |
unsigned int fd |
char* buf |
size_t count |
loff_t pos |
||
| readv | 0x13 |
unsigned long fd |
const struct iovec* vec |
unsigned long vlen |
|||
| writev | 0x14 |
unsigned long fd |
const struct iovec* vec |
unsigned long vlen |
|||
| access | 0x15 |
const char* filename |
int mode |
||||
| pipe | 0x16 |
int* fildes |
|||||
| select | 0x17 |
int n |
fd_set* inp |
fd_set* outp |
fd_set* exp |
struct __kernel_old_timeval* tvp |
|
| sched_yield | 0x18 |
||||||
| mremap | 0x19 |
unsigned long addr |
unsigned long old_len |
unsigned long new_len |
unsigned long flags |
unsigned long new_addr |
|
| msync | 0x1a |
unsigned long start |
size_t len |
int flags |
|||
| mincore | 0x1b |
unsigned long start |
size_t len |
unsigned char* vec |
|||
| madvise | 0x1c |
unsigned long start |
size_t len_in |
int behavior |
|||
| shmget | 0x1d |
key_t key |
size_t size |
int shmflg |
|||
| shmat | 0x1e |
int shmid |
char* shmaddr |
int shmflg |
|||
| shmctl | 0x1f |
int shmid |
int cmd |
struct shmid_ds* buf |
|||
| dup | 0x20 |
unsigned int fildes |
|||||
| dup2 | 0x21 |
unsigned int oldfd |
unsigned int newfd |
||||
| pause | 0x22 |
||||||
| nanosleep | 0x23 |
struct __kernel_timespec* rqtp |
struct __kernel_timespec* rmtp |
||||
| getitimer | 0x24 |
int which |
struct __kernel_old_itimerval* value |
||||
| alarm | 0x25 |
unsigned int seconds |
|||||
| setitimer | 0x26 |
int which |
struct __kernel_old_itimerval* value |
struct __kernel_old_itimerval* ovalue |
|||
| getpid | 0x27 |
||||||
| sendfile | 0x28 |
int out_fd |
int in_fd |
off_t* offset |
size_t count |
||
| socket | 0x29 |
int family |
int type |
int protocol |
|||
| connect | 0x2a |
int fd |
struct sockaddr* uservaddr |
int addrlen |
|||
| accept | 0x2b |
int fd |
struct sockaddr* upeer_sockaddr |
int* upeer_addrlen |
|||
| sendto | 0x2c |
int fd |
void* buff |
size_t len |
unsigned int flags |
struct sockaddr* addr |
int addr_len |
| recvfrom | 0x2d |
int fd |
void* ubuf |
size_t size |
unsigned int flags |
struct sockaddr* addr |
int* addr_len |
| sendmsg | 0x2e |
int fd |
struct user_msghdr* msg |
unsigned int flags |
|||
| recvmsg | 0x2f |
int fd |
struct user_msghdr* msg |
unsigned int flags |
|||
| shutdown | 0x30 |
int fd |
int how |
||||
| bind | 0x31 |
int fd |
struct sockaddr* umyaddr |
int addrlen |
|||
| listen | 0x32 |
int fd |
int backlog |
||||
| getsockname | 0x33 |
int fd |
struct sockaddr* usockaddr |
int* usockaddr_len |
|||
| getpeername | 0x34 |
int fd |
struct sockaddr* usockaddr |
int* usockaddr_len |
|||
| socketpair | 0x35 |
int family |
int type |
int protocol |
int* usockvec |
||
| setsockopt | 0x36 |
int fd |
int level |
int optname |
char* optval |
int optlen |
|
| getsockopt | 0x37 |
int fd |
int level |
int optname |
char* optval |
int* optlen |
|
| clone | 0x38 |
unsigned long clone_flags |
unsigned long newsp |
int* parent_tidptr |
int* child_tidptr |
unsigned long tls |
|
| fork | 0x39 |
||||||
| vfork | 0x3a |
||||||
| execve | 0x3b |
const char* filename |
const char* const* argv |
const char* const* envp |
|||
| exit | 0x3c |
int error_code |
|||||
| wait4 | 0x3d |
pid_t upid |
int* stat_addr |
int options |
struct rusage* ru |
||
| kill | 0x3e |
pid_t pid |
int sig |
||||
| uname | 0x3f |
struct old_utsname* name |
|||||
| semget | 0x40 |
key_t key |
int nsems |
int semflg |
|||
| semop | 0x41 |
int semid |
struct sembuf* tsops |
unsigned int nsops |
|||
| semctl | 0x42 |
int semid |
int semnum |
int cmd |
unsigned long arg |
||
| shmdt | 0x43 |
char* shmaddr |
|||||
| msgget | 0x44 |
key_t key |
int msgflg |
||||
| msgsnd | 0x45 |
int msqid |
struct msgbuf* msgp |
size_t msgsz |
int msgflg |
||
| msgrcv | 0x46 |
int msqid |
struct msgbuf* msgp |
size_t msgsz |
long msgtyp |
int msgflg |
|
| msgctl | 0x47 |
int msqid |
int cmd |
struct msqid_ds* buf |
|||
| fcntl | 0x48 |
unsigned int fd |
unsigned int cmd |
unsigned long arg |
|||
| flock | 0x49 |
unsigned int fd |
unsigned int cmd |
||||
| fsync | 0x4a |
unsigned int fd |
|||||
| fdatasync | 0x4b |
unsigned int fd |
|||||
| truncate | 0x4c |
const char* path |
long length |
||||
| ftruncate | 0x4d |
unsigned int fd |
off_t length |
||||
| getdents | 0x4e |
unsigned int fd |
struct linux_dirent* dirent |
unsigned int count |
|||
| getcwd | 0x4f |
char* buf |
unsigned long size |
||||
| chdir | 0x50 |
const char* filename |
|||||
| fchdir | 0x51 |
unsigned int fd |
|||||
| rename | 0x52 |
const char* oldname |
const char* newname |
||||
| mkdir | 0x53 |
const char* pathname |
umode_t mode |
||||
| rmdir | 0x54 |
const char* pathname |
|||||
| creat | 0x55 |
const char* pathname |
umode_t mode |
||||
| link | 0x56 |
const char* oldname |
const char* newname |
||||
| unlink | 0x57 |
const char* pathname |
|||||
| symlink | 0x58 |
const char* oldname |
const char* newname |
||||
| readlink | 0x59 |
const char* path |
char* buf |
int bufsiz |
|||
| chmod | 0x5a |
const char* filename |
umode_t mode |
||||
| fchmod | 0x5b |
unsigned int fd |
umode_t mode |
||||
| chown | 0x5c |
const char* filename |
uid_t user |
gid_t group |
|||
| fchown | 0x5d |
unsigned int fd |
uid_t user |
gid_t group |
|||
| lchown | 0x5e |
const char* filename |
uid_t user |
gid_t group |
|||
| umask | 0x5f |
int mask |
|||||
| gettimeofday | 0x60 |
struct __kernel_old_timeval* tv |
struct timezone* tz |
||||
| getrlimit | 0x61 |
unsigned int resource |
struct rlimit __user * rlim |
||||
| getrusage | 0x62 |
int who |
struct rusage* ru |
||||
| sysinfo | 0x63 |
struct sysinfo* info |
|||||
| times | 0x64 |
struct tms* tbuf |
|||||
| ptrace | 0x65 |
long request |
long pid |
unsigned long addr |
unsigned long data |
||
| getuid | 0x66 |
||||||
| syslog | 0x67 |
int type |
char* buf |
int len |
|||
| getgid | 0x68 |
||||||
| setuid | 0x69 |
uid_t uid |
|||||
| setgid | 0x6a |
gid_t gid |
|||||
| geteuid | 0x6b |
||||||
| getegid | 0x6c |
||||||
| setpgid | 0x6d |
pid_t pid |
pid_t pgid |
||||
| getppid | 0x6e |
||||||
| getpgrp | 0x6f |
||||||
| setsid | 0x70 |
||||||
| setreuid | 0x71 |
uid_t ruid |
uid_t euid |
||||
| setregid | 0x72 |
gid_t rgid |
gid_t egid |
||||
| getgroups | 0x73 |
int gidsetsize |
gid_t* grouplist |
||||
| setgroups | 0x74 |
int gidsetsize |
gid_t* grouplist |
||||
| setresuid | 0x75 |
uid_t ruid |
uid_t euid |
uid_t suid |
|||
| getresuid | 0x76 |
uid_t* ruidp |
uid_t* euidp |
uid_t* suidp |
|||
| setresgid | 0x77 |
gid_t rgid |
gid_t egid |
gid_t sgid |
|||
| getresgid | 0x78 |
gid_t* rgidp |
gid_t* egidp |
gid_t* sgidp |
|||
| getpgid | 0x79 | pid_t pid |
|||||
| setfsuid | 0x7a |
uid_t uid |
|||||
| setfsgid | 0x7b |
gid_t gid |
|||||
| getsid | 0x7c |
pid_t pid |
|||||
| capget | 0x7d |
cap_user_header_t header |
cap_user_data_t dataptr |
||||
| capset | 0x7e |
cap_user_header_t header |
const cap_user_data_t data |
||||
| rt_sigpending | 0x7f |
sigset_t* uset |
size_t sigsetsize |
||||
| rt_sigtimedwait | 0x80 |
const sigset_t* uthese |
siginfo_t* uinfo |
const struct __kernel_timespec* uts |
size_t sigsetsize |
||
| rt_sigqueueinfo | 0x81 |
pid_t pid |
int sig |
siginfo_t* uinfo |
|||
| rt_sigsuspend | 0x82 |
sigset_t* unewset |
size_t sigsetsize |
||||
| sigaltstack | 0x83 |
const stack_t* uss |
stack_t* uoss |
||||
| utime | 0x84 |
char* filename |
struct utimbuf* times |
||||
| mknod | 0x85 |
const char* filename |
umode_t mode |
unsigned int dev |
|||
0x86 |
|||||||
| personality | 0x87 |
unsigned int personality |
|||||
| ustat | 0x88 |
unsigned int dev |
struct ustat* ubuf |
||||
| statfs | 0x89 |
const char* pathname |
struct statfs* buf |
||||
| fstatfs | 0x8a |
unsigned int fd |
struct statfs* buf |
||||
| sysfs | 0x8b |
int option |
unsigned long arg1 |
unsigned long arg2 |
|||
| getpriority | 0x8c |
int which |
int who |
||||
| setpriority | 0x8d |
int which |
int who |
int niceval |
|||
| sched_setparam | 0x8e |
pid_t pid |
struct sched_param* param |
||||
| sched_getparam | 0x8f |
pid_t pid |
struct sched_param* param |
||||
| sched_setscheduler | 0x90 |
pid_t pid |
int policy |
struct sched_param* param |
|||
| sched_getscheduler | 0x91 |
pid_t pid |
|||||
| sched_get_priority_max | 0x92 |
int policy |
|||||
| sched_get_priority_min | 0x93 |
int policy |
|||||
| sched_rr_get_interval | 0x94 |
pid_t pid |
struct __kernel_timespec* interval |
||||
| mlock | 0x95 |
unsigned int start |
size_t len |
||||
| munlock | 0x96 |
unsigned int start |
size_t len |
||||
| mlockall | 0x97 |
int flags |
|||||
| munlockall | 0x98 |
||||||
| vhangup | 0x99 |
||||||
| modify_ldt | 0x9a |
int func |
void* ptr |
unsigned long bytecount |
|||
| pivot_root | 0x9b |
const char* new_root |
const char* put_old |
||||
0x9c |
|||||||
| prctl | 0x9d |
int option |
unsigned long arg2 |
unsigned long arg3 |
unsigned long arg4 |
unsigned long arg5 |
|
| arch_prctl | 0x9e |
int option |
unsigned long arg2 |
||||
| adjtimex | 0x9f |
struct __kernel_timex* txc_p |
|||||
| setrlimit | 0xa0 |
unsigned int resource |
struct rlimit* rlim |
||||
| chroot | 0xa1 |
const char* filename |
|||||
| sync | 0xa2 |
||||||
| acct | 0xa3 |
const char* name |
|||||
| settimeofday | 0xa4 |
struct __kernel_old_timeval* tv |
struct timezone* tz |
||||
| mount | 0xa5 |
char* dev_name |
char* dir_name |
char* type |
unsigned long flags |
void* data |
|
| umount | 0xa6 |
char* name |
int flags |
||||
| swapon | 0xa7 |
const char* specialfile |
int swap_flags |
||||
| swapoff | 0xa8 |
const char* specialfile |
|||||
| reboot | 0xa9 |
int magic1 |
int magic 2 |
unsigned int cmd |
void* args |
||
| sethostname | 0xaa |
char* name |
int len |
||||
| setdomainname | 0xab |
char* name |
int len |
||||
| iopl | 0xac |
unsigned int level |
|||||
| ioperm | 0xad |
unsigned long from |
unsigned long num |
int turn_on |
|||
0xae |
|||||||
| init_module | 0xaf |
void* umod |
unsigned long len |
const char* uargs |
|||
| delete_module | 0xb0 |
const char* name_user |
unsigned int flags |
||||
0xb1 |
|||||||
0xb2 |
|||||||
| quotactl | 0xb3 |
unsigned int cmd |
const char* special |
qid_t id |
void* addr |
||
0xb4 |
|||||||
0xb5 |
|||||||
0xb6 |
|||||||
0xb7 |
|||||||
0xb8 |
|||||||
0xb9 |
|||||||
| gettid | 0xba |
||||||
| readahead | 0xbb |
int fd |
loff_t offset |
size_t count |
|||
| setxattr | 0xbc |
const char* pathname |
const char* name |
const void* value |
size_t size |
int flags |
|
| lsetxattr | 0xbd |
const char* pathname |
const char* name |
const void* value |
size_t size |
int flags |
|
| fsetxattr | 0xbe |
int fd |
const char* name |
const void* value |
size_t size |
int flags |
|
| getxattr | 0xbf |
const char* pathname |
const char* name |
void* value |
size_t size |
||
| lgetxattr | 0xc0 |
const char* pathname |
const char* name |
void* value |
size_t size |
||
| fgetxattr | 0xc1 |
int fd |
const char* name |
void* value |
size_t size |
||
| listxattr | 0xc2 |
const char* pathname |
char* list |
size_t size |
|||
| llistxattr | 0xc3 |
const char* pathname |
char* list |
size_t size |
|||
| flistxattr | 0xc4 |
int fd |
char* list |
size_t size |
|||
| removexattr | 0xc5 |
const char* pathname |
const char* name |
||||
| lremovexattr | 0xc6 |
const char* pathname |
const char* name |
||||
| fremovexattr | 0xc7 |
int fd |
const char* name |
||||
| tkill | 0xc8 |
pid_t pid |
int sig |
||||
| time | 0xc9 |
__kernel_old_time_t* tloc |
|||||
| futex | 0xca |
u32* uaddr |
int op |
u32 val |
const struct __kernel_timespec* utime |
u32* uaddr2 |
u32 val3 |
| sched_setaffinity | 0xcb |
pid_t pid |
unsigned int len |
unsigned long* user_mask_ptr |
|||
| sched_getaffinity | 0xcc |
pid_t pid |
unsigned int len |
unsigned long* user_mask_ptr |
|||
| set_thread_area | 0xcd |
struct user_desc* u_info |
|||||
| io_setup | 0xce |
unsigned int nr_events |
aio_context_t* ctxp |
||||
| io_destroy | 0xcf |
aio_context_t ctx |
|||||
| io_getevents | 0xd0 |
aio_context_t ctx_id |
long min_nr |
long nr |
struct io_event* events |
struct __kernel_timespec* timeout |
|
| io_submit | 0xd1 |
aio_context_t ctx_id |
long nr |
struct iocb** iocbpp |
|||
| io_cancel | 0xd2 |
aio_context_t ctx_id |
struct iocb* iocb |
struct io_event* result |
|||
| get_thread_area | 0xd3 |
struct user_desc* u_info |
|||||
0xd4 |
|||||||
| epoll_create | 0xd5 |
int flags |
|||||
0xd6 |
`` | ||||||
0xd7 |
|||||||
| remap_file_pages | 0xd8 |
unsigned long start |
unsigned long size |
unsigned long prot |
unsigned long pgoff |
unsigned long flags |
|
| getdents64 | 0xd9 |
unsigned int fd |
struct linux_dirent64* dirent |
unsigned int count |
|||
| set_tid_address | 0xda |
int* tidptr |
|||||
| restart_syscall | 0xdb |
||||||
| semtimedop | 0xdc |
int semid |
struct sembuf* tsops |
unsigned int nsops |
const struct __kernel_timespec* timeout |
||
| fadvise64 | 0xdd |
int fd |
loff_t offset |
size_t len |
int advice |
||
| timer_create | 0xde |
const clockid_t which_clock |
struct sigevent* timer_event_spec |
timer_t* created_timer_id |
|||
| timer_settime | 0xdf |
timer_t timer_id |
int flags |
const struct __kernel_itimerspec* new_setting |
struct __kernel_itimerspec* old_setting |
||
| timer_gettime | 0xe0 |
timer_t timer_id |
struct __kernel_itimerspec* setting |
||||
| timer_getoverrun | 0xe1 |
timer_t timer_id |
|||||
| timer_delete | 0xe2 |
timer_t timer_id |
|||||
| clock_settime | 0xe3 |
const clockid_t which_clock |
const struct __kernel_timespec* tp |
||||
| clock_gettime | 0xe4 |
const clockid_t which_clock |
const struct __kernel_timespec* tp |
||||
| clock_getres | 0xe5 |
const clockid_t which_clock |
const struct __kernel_timespec* tp |
||||
| clock_nanosleep | 0xe6 |
const clockid_t which_clock |
int flags |
const struct __kernel_timespec* rqtp |
struct __kernel_timespec* rmtp |
||
| exit_group | 0xe7 |
int error_code |
|||||
| epoll_wait | 0xe8 |
int epfd |
struct epoll_event* events |
int maxevents| int timeout |
|||
| epoll_ctl | 0xe9 |
int epfd |
int op |
int fd |
struct epoll_event* event |
||
| tgkill | 0xea |
pid_t tgid |
pid_t pid |
int sig |
|||
| utimes | 0xeb |
char* filename |
struct __kernel_old_timeval* utimes |
||||
0xec |
|||||||
| mbind | 0xed |
unsigned long start |
unsigned long len |
unsigned long mode |
const unsigned long* nmask |
unsigned long maxnode |
unsigned int flags |
| set_mempolicy | 0xee |
int mode |
const unsigned long* nmask |
unsigned long maxnode |
|||
| get_mempolicy | 0xef |
int* policy |
unsigned long* nmask |
unsigned long maxnode |
unsigned long addr |
unsigned long flags |
|
| mq_open | 0xf0 |
const char* u_name |
int oflag |
umode_t mode |
struct mq_attr* u_attr |
||
| mq_unlink | 0xf1 |
const char* u_name |
|||||
| mq_timedsend | 0xf2 |
mqd_t mqdes |
const char* u_msg_ptr |
size_t msg_len |
unsigned int msg_prio |
const struct __kernel_timespec* u_abs_timeout |
|
| mq_timedreceive | 0xf3 |
mqd_t mqdes |
char* u_msg_ptr |
size_t msg_len |
unsigned int* u_msg_prio |
const struct __kernel_timespec* u_abs_timeout |
|
| mq_notify | 0xf4 |
mqd_t mqdes |
const struct sigevent* u_notification |
||||
| mq_getsetattr | 0xf5 |
mqd_t mqdes |
const struct mq_attr* u_mqstat |
struct mq_attr* u_omqstat |
|||
| kexec_load | 0xf6 |
unsigned long entry |
unsigned long nr_segments |
struct kexec_segment* segments |
unsigned long flags |
||
| waitid | 0xf7 |
int which |
pid_t upid |
struct siginfo* infop |
int options |
struct rusage* ru |
|
| add_key | 0xf8 |
const char* _type |
const char* _description |
const void* _payload |
size_t plen |
key_serial_t ringid |
|
| request_key | 0xf9 |
const char* _type |
const char* _description |
const char* _callout_info |
key_serial_t destringid |
||
| keyctl | 0xfa |
int option |
unsigned long arg2 |
unsigned long arg3 |
unsigned long arg4 |
unsigned long arg5 |
|
| ioprio_set | 0xfb |
int which |
int who |
int ioprio |
|||
| ioprio_get | 0xfc |
int which |
int who |
||||
| inotify_init | 0xfd |
||||||
| inotify_add_watch | 0xfe |
int fd |
const char* pathname |
u32 mask |
|||
| inotify_rm_watch | 0xff |
int fd |
__s32 wd |
||||
| migrate_pages | 0x100 |
pid_t pid |
unsigned long maxnode |
const unsigned long* old_nodes |
const unsigned long* new_nodes |
||
| openat | 0x101 |
int dfd |
const char* filename |
int flags |
umode_t mode |
||
| mkdirat | 0x102 |
int dfd |
const char* pathname |
umode_t mode |
|||
| mknodat | 0x103 |
int dfd |
const char* filename |
umode_t mode |
unsigned int dev |
||
| fchownat | 0x104 |
int dfd |
const char* filename |
uid_t user |
gid_t group |
int flag |
|
| futimesat | 0x105 |
int dfd |
const char* filename |
struct __kernel_old_timeval* utimes |
|||
| newfstatat | 0x106 |
int dfd |
const char* filename |
struct stat* statbuf |
int flag |
||
| unlinkat | 0x107 |
int dfd |
const char* pathname |
int flag |
|||
| renameat | 0x108 |
int olddfd |
const char* oldname |
int newdfd |
const char* newname |
||
| linkat | 0x109 |
int olddfd |
const char* oldname |
int newdfd |
const char* newname |
int flags |
|
| symlinkat | 0x10a |
const char* oldname |
int newdfd |
const char* newname |
|||
| readlinkat | 0x10b |
int dfd |
const char* pathname |
char* buf |
int bufsiz |
||
| fchmodat | 0x10c |
int dfd |
const char* filename |
umode_t mode |
|||
| faccessat | 0x10d |
int dfd |
const char* filename |
int mode |
|||
| pselect6 | 0x10e |
int n |
fd_set* inp |
fd_set* outp |
fd_set* exp |
struct __kernel_timespec* tsp |
void* sig |
| ppoll | 0x10f |
struct pollfd* ufds |
unsigned int nfds |
struct __kernel_timespec* tsp |
const sigset_t* sigmask |
size_t sigsetsize |
|
| unshare | 0x110 |
unsigned long unshare_flags |
|||||
| set_robust_list | 0x111 |
struct robust_list_head* head |
size_t len |
||||
| get_robust_list | 0x112 |
int pid |
struct robust_list_head** head_ptr |
size_t* len_ptr |
|||
| splice | 0x113 |
int fd_in |
loff_t* off_in |
int fd_out |
loff_t* off_out |
size_t len |
unsigned int flags |
| tee | 0x114 |
int fdin |
int fdout |
size_t len |
unsigned int flags |
||
| sync_file_range | 0x115 |
int fd |
loff_t offset |
loff_t nbytes |
unsigned int flags |
||
| vmsplice | 0x116 |
int fd |
const struct iovec* uiov |
unsigned long nr_segs |
unsigned int flags |
||
| move_pages | 0x117 |
pid_t pid |
unsigned long nr_pages |
const void** pages |
const int* nodes |
int* status |
int flags |
| utimensat | 0x118 |
int dfd |
const char* filename |
struct __kernel_timespec* utimes |
int flags |
||
| epoll_pwait | 0x119 |
int epfd |
struct epoll_event* events |
int maxevents |
int timeout |
const sigset_t* sigmask |
size_t sigsetsize |
| signalfd | 0x11a |
int ufd |
sigset_t* user_mask |
size_t sizemask |
|||
| timerfd_create | 0x11b |
int clockid |
int flags |
||||
| eventfd | 0x11c |
unsigned int count |
|||||
| fallocate | 0x11d |
int fd |
int mode |
loff_t offset |
loff_t len |
||
| timerfd_settime | 0x11e |
int ufd |
int flags |
const struct __kernel_itimerspec* utmr |
struct __kernel_itimerspec* otmr |
||
| timerfd_gettime | 0x11f |
int ufd |
struct __kernel_itimerspec* otmr |
||||
| accept4 | 0x120 |
int fd |
struct sockaddr* upeer_sockaddr |
int* upeer_addrlen |
int flags |
||
| signalfd4 | 0x121 |
int ufd |
sigset_t* user_mask |
size_t sizemask |
int flags |
||
| eventfd2 | 0x122 |
unsigned int count |
int flags |
||||
| epoll_create1 | 0x123 |
int flags |
|||||
| dup3 | 0x124 |
unsigned int oldfd |
unsigned int newfd |
int flags |
|||
| pipe2 | 0x125 |
int* fildes |
int flags |
||||
| inotify_init1 | 0x126 |
int flags |
|||||
| preadv | 0x127 |
unsigned long fd |
const struct iovec* vec |
unsigned long vlen |
unsigned long pos_l |
unsigned long pos_h |
|
| pwritev | 0x128 |
unsigned long fd |
const struct iovec* vec |
unsigned long vlen |
unsigned long pos_l |
unsigned long pos_h |
|
| rt_tgsigqueueinfo | 0x129 |
pid_t pid |
int sig |
siginfo_t* uinfo |
|||
| perf_event_open | 0x12a |
struct perf_event_attr* attr_uptr |
pid_t pid |
int cpu |
int group_fd |
unsigned long flags |
|
| recvmmsg | 0x12b |
int fd |
struct mmsghdr* mmsg |
unsigned int vlen |
unsigned int flags |
struct __kernel_timespec* timeout |
|
| fanotify_init | 0x12c |
unsigned int flags |
unsigned int event_f_flags |
||||
| fanotify_mark | 0x12d |
int fanotify_fd |
unsigned int flags |
__u64 mask |
int dfd |
const char* pathname |
|
| prlimit64 | 0x12e |
pid_t pid |
unsigned int resource |
const struct rlimit64* new_rlim |
struct rlimit64* old_rlim |
||
| name_to_handle_at | 0x12f |
int dfd |
const char* name |
struct file_handle* handle |
void* mnt_id |
int flag |
|
| open_by_handle_at | 0x130 |
int mountdirfd |
struct file_handle* handle |
int flags |
|||
| clock_adjtime | 0x131 |
const clockid_t which_clock |
struct __kernel_timex* utx |
||||
| syncfs | 0x132 |
int fd |
|||||
| sendmmsg | 0x133 |
int fd |
struct mmsghdr* mmsg |
unsigned int vlen |
unsigned int flags |
||
| setns | 0x134 |
int fd |
int flags |
||||
| getcpu | 0x135 |
unsigned* cpup |
unsigned* nodep |
struct getcpu_cache* unused |
|||
| process_vm_readv | 0x136 |
pid_t pid |
const struct iovec* lvec |
unsigned long liovcnt |
const struct iovec* rvec |
unsigned long riovcnt |
unsigned long flags |
| process_vm_writev | 0x137 |
pid_t pid |
const struct iovec* lvec |
unsigned long liovcnt |
const struct iovec* rvec |
unsigned long riovcnt |
unsigned long flags |
| kcmp | 0x138 |
pid_t pid1 |
pid_t pid2 |
int type |
unsigned long idx1 |
unsigned long idx2 |
|
| finit_module | 0x139 |
int fd |
const char* uargs |
int flags |
|||
| sched_setattr | 0x13a |
pid_t pid |
struct sched_attr* uattr |
unsigned int flags |
|||
| sched_getattr | 0x13b |
pid_t pid |
struct sched_attr* uattr |
unsigned int usize |
unsigned int flags |
||
| renameat2 | 0x13c |
int olddfd |
const char* oldname |
int newdfd |
const char* newname |
unsigned int flags |
|
| seccomp | 0x13d |
unsigned int op |
int flags |
void* uargs |
|||
| getrandom | 0x13e |
char* ubuf |
size_t len |
unsigned int flags |
|||
| memfd_create | 0x13f |
const char* uname |
unsigned int flags |
||||
| kexec_file_load | 0x140 |
int kernel_fd |
int initrd_fd |
unsigned long cmdline_len |
const char* cmdline_ptr |
unsigned long flags |
|
| bpf | 0x141 |
int cmd |
union bpf_attr* uattr |
unsigned int size |
|||
| execveat | 0x142 |
int fd |
const char* filename |
const char* const* argv |
const char* const* envp |
||
| userfaultfd | 0x143 |
int flags |
|||||
| membarrier | 0x144 |
int cmd |
unsigned int flags |
int cpu_id |
|||
| mlock2 | 0x145 |
unsigned long start |
size_t len |
int flags |
|||
| copy_file_range | 0x146 |
int fd_in |
loff_t* off_in |
int fd_out |
loff_t* off_out |
size_t len |
unsigned int flags |
| preadv2 | 0x147 |
unsigned long fd |
const struct iovec* vec |
unsigned long vlen |
unsigned long pos_l |
unsigned long pos_h |
rwf_t flags |
| pwritev2 | 0x148 |
unsigned long fd |
const struct iovec* vec |
unsigned long vlen |
unsigned long pos_l |
unsigned long pos_h |
rwf_t flags |
| pkey_mprotect | 0x149 |
unsigned long start |
size_t len |
unsigned long prot |
int pkey |
||
| pkey_alloc | 0x14a |
unsigned long flags |
unsigned long init_val |
||||
| pkey_free | 0x14b |
int pkey |
|||||
| statx | 0x14c |
int dfd |
const char* filename |
unsigned int flags |
unsigned int mask |
struct statx* buffer |
|
| io_pgetevents | 0x14d |
aio_context_t ctx_id |
long min_nr |
long nr |
struct io_event* events |
struct __kernel_timespec* timeout |
const struct __aio_sigset* usig |
| rseq | 0x14e |
struct rseq* rseq |
u32 rseq_len |
int flags |
u32 sig |
||
| uretprobe | 0x14f |
||||||
| uprobe | 0x150 |
||||||
| pidfd_send_signal | 0x1a8 |
int pidfd |
int sig |
siginfo_t* info |
unsigned int flags |
||
| io_uring_setup | 0x1a9 |
u32 entries |
struct io_uring_params* params |
||||
| io_uring_enter | 0x1aa |
unsigned int fd |
u32 to_submit |
u32 min_complete |
u32 flags |
const void* argp |
size_t argsz |
| io_uring_register | 0x1ab |
unsigned int fd |
unsigned int opcode |
void* arg |
unsigned int nr_args |
||
| open_tree | 0x1ac |
int dfd |
const char* filename |
unsigned flags |
|||
| move_mount | 0x1ad |
int from_dfd |
const char* from_pathname |
int to_dfd |
const char* to_pathname |
unsigned int flags |
|
| fsopen | 0x1ae |
const char* _fs_name |
unsigned int flags |
||||
| fsconfig | 0x1af |
int fd |
unsigned int cmd |
const char* key |
|||
| fsmount | 0x1b0 |
int fs_fd |
unsigned int flags |
unsigned int attr_flags |
|||
| fspick | 0x1b1 |
int dfd |
const char* path |
unsigned int flags |
|||
| pidfd_open | 0x1b2 |
pid_t pid |
unsigned int flags |
||||
| clone3 | 0x1b3 |
struct clone_args* uargs |
size_t size |
||||
| close_range | 0x1b4 |
unsigned int fd |
unsigned int max_fd |
unsigned int flags |
|||
| openat2 | 0x1b5 |
int dfd |
const char* filename |
struct open_how* how |
size_t usize |
||
| pidfd_getfd | 0x1b6 |
int pidfd |
int fd |
unsigned int flags |
|||
| faccessat2 | 0x1b7 |
int dfd |
const char* filename |
int mode |
int flags |
||
| process_madvise | 0x1b8 |
int pidfd |
const struct iovec* vec |
size_t vlen |
int behavior |
unsigned int flags |
|
| epoll_pwait2 | 0x1b9 |
int epfd |
struct epoll_Event* events |
int maxevents |
const struct __kernel_timespec* timeout |
const sigset_t* sigmask |
size_t sigsetsize |
| mount_setattr | 0x1ba |
int dfd |
const char* path |
unsigned int flags |
struct mount_attr* uattr |
size_t usize |
|
| quotactl_fd | 0x1bb |
unsigned int fd |
unsigned int cmd |
qid_t id |
void* addr |
||
| landlock_create_ruleset | 0x1bc |
const struct landlock_ruleset_attr* const attr |
const size_t size |
const __u32 flags |
|||
| landlock_add_rule | 0x1bd |
const int ruleset_fd |
const enum landlock_rule_type rule_type |
const void* const rule_attr |
const __u32 flags |
||
| landlock_restrict_self | 0x1be |
const int ruleset_fd |
const __u32 flags |
||||
| memfd_secret | 0x1bf |
unsigned int flags |
|||||
| process_mrelease | 0x1c0 |
int pidfd |
unsigned int flags |
||||
| futex_waitv | 0x1c1 |
struct futex_waitv* waiters |
unsigned int nr_futexes |
unsigned int flags |
struct __kernel_timespec* timeout |
clockid_t clockid |
|
| set_mempolicy_home_node | 0x1c2 |
unsigned long start |
unsigned long len |
unsigned long home_node |
unsigned long flags |
||
| cachestat | 0x1c3 |
unsigned int fd |
struct cachestat_range* cstat_range |
struct cachestat* cstat |
unsigned int flags |
||
| fchmodat2 | 0x1c4 |
int dfd |
const char* filename |
umode_t mode |
unsigned int flags |
||
| map_shadow_stack | 0x1c5 |
unsigned long addr |
unsigned long size |
unsigned int flags |
|||
| futex_wake | 0x1c6 |
void* uaddr |
unsigned long mask |
int nr |
unsigned int flags |
||
| futex_wait | 0x1c7 |
void* uaddr |
unsigned long val |
unsigned long mask |
unsigned int flags |
struct __kernel_timespec* timeout |
clockid_t clockid |
| futex_requeue | 0x1c8 |
struct futex_waitv* waiters |
unsigned int flags |
int nr_wake |
int nr_requeue |
||
| statmount | 0x1c9 |
const struct mnt_id_req* req |
struct statmount* buf |
size_t bufsize |
unsigned int flags |
||
| listmount | 0x1ca |
const struct mnt_id_req* req |
u64* mnt_ids |
size_t nr_mnt_ids |
unsigned int flags |
||
| lsm_get_self_attr | 0x1cb |
unsigned int attr |
struct lsm_ctx* ctx |
u32* size |
u32 flags |
||
| lsm_set_self_attr | 0x1cc |
unsigned int attr |
struct lsm_ctx* ctx |
u32 size |
u32 flags |
||
| lsm_list_modules | 0x1cd |
u64* ids |
u32* size |
u32 flags |
|||
| mseal | 0x1ce |
unsigned long start |
size_t len |
unsigned long flags |
|||
| setxattrat | 0x1cf |
int dfd |
const char* pathname |
unsigned int at_flags |
const char* name |
const struct xattr_args* uargs |
size_t usize |
| getxattrat | 0x1d0 |
int dfd |
const char* pathname |
unsigned int at_flags |
const char* name |
struct xattr_args* uargs |
size_t usize |
| listxattrat | 0x1d1 |
int dfd |
const char* pathname |
unsigned int at_flags |
char* list |
size_t size |
|
| removexattrat | 0x1d2 |
int dfd |
const char* pathname |
unsigned int at_flags |
const char* name |
||
| open_tree_attr | 0x1d3 |
int dfd |
const char* filename |
unsigned flags |
struct mount_attr* uattr |
size_t usize |
|
| file_getattr | 0x1d4 |
int dfd |
const char* filename |
struct file_attr* ufattr |
size_t usize |
unsigned int at_flags |
|
| file_setattr | 0x1d5 |
int dfd |
const char* filename |
struct file_attr* ufattr |
size_t usize |
unsigned int at_flags |
|
| listns | 0x1d6 |
const struct ns_id_req* req |
u64* ns_ids |
size_t nr_ns_ids |
unsigned int flags |