Linux System Call Table for x86 64(linux系统调用参数整理)
个人整理的Linux 系统调用一份(Ubutnu测试)
附件为整理好的excel syscall_number.xlsx
| %rax(调用号) | System call | 参数个数 | %rdi | %rsi | %rdx | %r10 | %r8 | %r9 |
| 0 | SYS_read | 3 | unsigned int fd | char *buf | size_t count | |||
| 1 | SYS_write | 3 | unsigned int fd | const char *buf | size_t count | |||
| 2 | SYS_open | 3 | const char *filename | int flags | int mode | |||
| 3 | SYS_close | 1 | unsigned int fd | |||||
| 4 | SYS_stat | 2 | const char *filename | struct stat *statbuf | ||||
| 5 | SYS_fstat | 2 | unsigned int fd | struct stat *statbuf | ||||
| 6 | SYS_lstat | 2 | fconst char *filename | struct stat *statbuf | ||||
| 7 | SYS_poll | 3 | struct poll_fd *ufds | unsigned int nfds | long timeout_msecs | |||
| 8 | SYS_lseek | 3 | unsigned int fd | off_t offset | unsigned int origin | |||
| 9 | SYS_mmap | 6 | unsigned long addr | unsigned long len | unsigned long prot | unsigned long flags | unsigned long fd | unsigned long off |
| 10 | SYS_mprotect | 3 | unsigned long start | size_t len | unsigned long prot | |||
| 11 | SYS_munmap | 2 | unsigned long addr | size_t len | ||||
| 12 | SYS_brk | 1 | unsigned long brk | |||||
| 13 | SYS_rt_sigaction | 4 | int sig | const struct sigaction *act | struct sigaction *oact | size_t sigsetsize | ||
| 14 | SYS_rt_sigprocmask | 4 | int how | sigset_t *nset | sigset_t *oset | size_t sigsetsize | ||
| 15 | SYS_rt_sigreturn | 1 | unsigned long __unused | |||||
| 16 | SYS_ioctl | 3 | unsigned int fd | unsigned int cmd | unsigned long arg | |||
| 17 | SYS_pread64 | 4 | unsigned long fd | char *buf | size_t count | loff_t pos | ||
| 18 | SYS_pwrite64 | 4 | unsigned int fd | const char *buf | size_t count | loff_t pos | ||
| 19 | SYS_readv | 3 | unsigned long fd | const struct iovec *vec | unsigned long vlen | |||
| 20 | SYS_writev | 3 | unsigned long fd | const struct iovec *vec | unsigned long vlen | |||
| 21 | SYS_access | 2 | const char *filename | int mode | ||||
| 22 | SYS_pipe | 1 | int *filedes | |||||
| 23 | SYS_select | 5 | int n | fd_set *inp | fd_set *outp | fd_set*exp | struct timeval *tvp | |
| 24 | SYS_sched_yield | 0 | ||||||
| 25 | SYS_mremap | 5 | unsigned long addr | unsigned long old_len | unsigned long new_len | unsigned long flags | unsigned long new_addr | |
| 26 | SYS_msync | 3 | unsigned long start | size_t len | int flags | |||
| 27 | SYS_mincore | 3 | unsigned long start | size_t len | unsigned char *vec | |||
| 28 | SYS_madvise | 3 | unsigned long start | size_t len_in | int behavior | |||
| 29 | SYS_shmget | 3 | key_t key | size_t size | int shmflg | |||
| 30 | SYS_shmat | 3 | int shmid | char *shmaddr | int shmflg | |||
| 31 | SYS_shmctl | 3 | int shmid | int cmd | struct shmid_ds *buf | |||
| 32 | SYS_dup | 1 | unsigned int fildes | |||||
| 33 | SYS_dup2 | 2 | unsigned int oldfd | unsigned int newfd | ||||
| 34 | SYS_pause | 0 | ||||||
| 35 | SYS_nanosleep | 2 | struct timespec *rqtp | struct timespec *rmtp | ||||
| 36 | SYS_getitimer | 2 | int which | struct itimerval *value | ||||
| 37 | SYS_alarm | 1 | unsigned int seconds | |||||
| 38 | SYS_setitimer | 3 | int which | struct itimerval *value | struct itimerval *ovalue | |||
| 39 | SYS_getpid | 0 | ||||||
| 40 | SYS_sendfile | 4 | int out_fd | int in_fd | off_t *offset | size_t count | ||
| 41 | SYS_socket | 3 | int family | int type | int protocol | |||
| 42 | SYS_connect | 3 | int fd | struct sockaddr *uservaddr | int addrlen | |||
| 43 | SYS_accept | 3 | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | |||
| 44 | SYS_sendto | 6 | int fd | void *buff | size_t len | unsigned flags | struct sockaddr *addr | int addr_len |
| 45 | SYS_recvfrom | 6 | int fd | void *ubuf | size_t size | unsigned flags | struct sockaddr *addr | int *addr_len |
| 46 | SYS_sendmsg | 3 | int fd | struct msghdr *msg | unsigned flags | |||
| 47 | SYS_recvmsg | 3 | int fd | struct msghdr *msg | unsigned int flags | |||
| 48 | SYS_shutdown | 2 | int fd | int how | ||||
| 49 | SYS_bind | 3 | int fd | struct sokaddr *umyaddr | int addrlen | |||
| 50 | SYS_listen | 2 | int fd | int backlog | ||||
| 51 | SYS_getsockname | 3 | int fd | struct sockaddr *usockaddr | int *usockaddr_len | |||
| 52 | SYS_getpeername | 3 | int fd | struct sockaddr *usockaddr | int *usockaddr_len | |||
| 53 | SYS_socketpair | 4 | int family | int type | int protocol | int *usockvec | ||
| 54 | SYS_setsockopt | 5 | int fd | int level | int optname | char *optval | int optlen | |
| 55 | SYS_getsockopt | 5 | int fd | int level | int optname | char *optval | int *optlen | |
| 56 | SYS_clone | 5 | unsigned long clone_flags | unsigned long newsp | void *parent_tid | void *child_tid | unsigned int tid | |
| 57 | SYS_fork | 0 | ||||||
| 58 | SYS_vfork | 0 | ||||||
| 59 | SYS_execve | 3 | const char *filename | const char *const argv[] | const char *const envp[] | |||
| 60 | SYS_exit | 1 | int error_code | |||||
| 61 | SYS_wait4 | 4 | pid_t upid | int *stat_addr | int options | struct rusage *ru | ||
| 62 | SYS_kill | 2 | pid_t pid | int sig | ||||
| 63 | SYS_uname | 1 | struct old_utsname *name | |||||
| 64 | SYS_semget | 3 | key_t key | int nsems | int semflg | |||
| 65 | SYS_semop | 3 | int semid | struct sembuf *tsops | unsigned nsops | |||
| 66 | SYS_semctl | 4 | int semid | int semnum | int cmd | union semun arg | ||
| 67 | SYS_shmdt | 1 | char *shmaddr | |||||
| 68 | SYS_msgget | 2 | key_t key | int msgflg | ||||
| 69 | SYS_msgsnd | 4 | int msqid | struct msgbuf *msgp | size_t msgsz | int msgflg | ||
| 70 | SYS_msgrcv | 5 | int msqid | struct msgbuf *msgp | size_t msgsz | long msgtyp | int msgflg | |
| 71 | SYS_msgctl | 3 | int msqid | int cmd | struct msqid_ds *buf | |||
| 72 | SYS_fcntl | 3 | unsigned int fd | unsigned int cmd | unsigned long arg | |||
| 73 | SYS_flock | 2 | unsigned int fd | unsigned int cmd | ||||
| 74 | SYS_fsync | 1 | unsigned int fd | |||||
| 75 | SYS_fdatasync | 1 | unsigned int fd | |||||
| 76 | SYS_truncate | 2 | const char *path | long length | ||||
| 77 | SYS_ftruncate | 2 | unsigned int fd | unsigned long length | ||||
| 78 | SYS_getdents | 3 | unsigned int fd | struct linux_dirent *dirent | unsigned int count | |||
| 79 | SYS_getcwd | 2 | char *buf | unsigned long size | ||||
| 80 | SYS_chdir | 1 | const char *filename | |||||
| 81 | SYS_fchdir | 1 | unsigned int fd | |||||
| 82 | SYS_rename | 2 | const char *oldname | const char *newname | ||||
| 83 | SYS_mkdir | 2 | const char *pathname | int mode | ||||
| 84 | SYS_rmdir | 1 | const char *pathname | |||||
| 85 | SYS_creat | 2 | const char *pathname | int mode | ||||
| 86 | SYS_link | 2 | const char *oldname | const char *newname | ||||
| 87 | SYS_unlink | 1 | const char *pathname | |||||
| 88 | SYS_symlink | 2 | const char *oldname | const char *newname | ||||
| 89 | SYS_readlink | 3 | const char *path | char *buf | int bufsiz | |||
| 90 | SYS_chmod | 2 | const char *filename | mode_t mode | ||||
| 91 | SYS_fchmod | 2 | unsigned int fd | mode_t mode | ||||
| 92 | SYS_chown | 3 | const char *filename | uid_t user | gid_t group | |||
| 93 | SYS_fchown | 3 | unsigned int fd | uid_t user | gid_t group | |||
| 94 | SYS_lchown | 3 | const char *filename | uid_t user | gid_t group | |||
| 95 | SYS_umask | 1 | int mask | |||||
| 96 | SYS_gettimeofday | 2 | struct timeval *tv | struct timezone *tz | ||||
| 97 | SYS_getrlimit | 2 | unsigned int resource | struct rlimit *rlim | ||||
| 98 | SYS_getrusage | 2 | int who | struct rusage *ru | ||||
| 99 | SYS_sysinfo | 1 | struct sysinfo *info | |||||
| 100 | SYS_times | 1 | struct tms *tbuf | |||||
| 101 | SYS_ptrace | 4 | long request | long pid | unsigned long addr | unsigned long data | ||
| 102 | SYS_getuid | 0 | ||||||
| 103 | SYS_syslog | 3 | int type | char *buf | int len | |||
| 104 | SYS_getgid | 0 | ||||||
| 105 | SYS_setuid | 1 | uid_t uid | |||||
| 106 | SYS_setgid | 1 | gid_t gid | |||||
| 107 | SYS_geteuid | 0 | ||||||
| 108 | SYS_getegid | 0 | ||||||
| 109 | SYS_setpgid | 2 | pid_t pid | pid_t pgid | ||||
| 110 | SYS_getppid | 0 | ||||||
| 111 | SYS_getpgrp | 0 | ||||||
| 112 | SYS_setsid | 0 | ||||||
| 113 | SYS_setreuid | 2 | uid_t ruid | uid_t euid | ||||
| 114 | SYS_setregid | 2 | gid_t rgid | gid_t egid | ||||
| 115 | SYS_getgroups | 2 | int gidsetsize | gid_t *grouplist | ||||
| 116 | SYS_setgroups | 2 | int gidsetsize | gid_t *grouplist | ||||
| 117 | SYS_setresuid | 3 | uid_t *ruid | uid_t *euid | uid_t *suid | |||
| 118 | SYS_getresuid | 3 | uid_t *ruid | uid_t *euid | uid_t *suid | |||
| 119 | SYS_setresgid | 3 | gid_t rgid | gid_t egid | gid_t sgid | |||
| 120 | SYS_getresgid | 3 | gid_t *rgid | gid_t *egid | gid_t *sgid | |||
| 121 | SYS_getpgid | 1 | pid_t pid | |||||
| 122 | SYS_setfsuid | 1 | uid_t uid | |||||
| 123 | SYS_setfsgid | 1 | gid_t gid | |||||
| 124 | SYS_getsid | 1 | pid_t pid | |||||
| 125 | SYS_capget | 2 | cap_user_header_t header | cap_user_data_t dataptr | ||||
| 126 | SYS_capset | 2 | cap_user_header_t header | const cap_user_data_t data | ||||
| 127 | SYS_rt_sigpending | 2 | sigset_t *set | size_t sigsetsize | ||||
| 128 | SYS_rt_sigtimedwait | 4 | const sigset_t *uthese | siginfo_t *uinfo | const struct timespec *uts | size_t sigsetsize | ||
| 129 | SYS_rt_sigqueueinfo | 3 | pid_t pid | int sig | siginfo_t *uinfo | |||
| 130 | SYS_rt_sigsuspend | 2 | sigset_t *unewset | size_t sigsetsize | ||||
| 131 | SYS_sigaltstack | 2 | const stack_t *uss | stack_t *uoss | ||||
| 132 | SYS_utime | 2 | char *filename | struct utimbuf *times | ||||
| 133 | SYS_mknod | 3 | const char *filename | umode_t mode | unsigned dev | |||
| 134 | SYS_uselib | 1 | NOT IMPLEMENTED | |||||
| 135 | SYS_personality | 1 | unsigned int personality | |||||
| 136 | SYS_ustat | 2 | unsigned dev | struct ustat *ubuf | ||||
| 137 | SYS_statfs | 2 | const char *pathname | struct statfs *buf | ||||
| 138 | SYS_fstatfs | 2 | unsigned int fd | struct statfs *buf | ||||
| 139 | SYS_sysfs | 3 | int option | unsigned long arg1 | unsigned long arg2 | |||
| 140 | SYS_getpriority | 2 | int which | int who | ||||
| 141 | SYS_setpriority | 3 | int which | int who | int niceval | |||
| 142 | SYS_sched_setparam | 2 | pid_t pid | struct sched_param *param | ||||
| 143 | SYS_sched_getparam | 2 | pid_t pid | struct sched_param *param | ||||
| 144 | SYS_sched_setscheduler | 3 | pid_t pid | int policy | struct sched_param *param | |||
| 145 | SYS_sched_getscheduler | 1 | pid_t pid | |||||
| 146 | SYS_sched_get_priority_max | 1 | int policy | |||||
| 147 | SYS_sched_get_priority_min | 1 | int policy | |||||
| 148 | SYS_sched_rr_get_interval | 2 | pid_t pid | struct timespec *interval | ||||
| 149 | SYS_mlock | 2 | unsigned long start | size_t len | ||||
| 150 | SYS_munlock | 2 | unsigned long start | size_t len | ||||
| 151 | SYS_mlockall | 1 | int flags | |||||
| 152 | SYS_munlockall | 0 | ||||||
| 153 | SYS_vhangup | 0 | ||||||
| 154 | SYS_modify_ldt | 3 | int func | void *ptr | unsigned long bytecount | |||
| 155 | SYS_pivot_root | 2 | const char *new_root | const char *put_old | ||||
| 156 | SYS__sysctl | 1 | struct __sysctl_args *args | |||||
| 157 | SYS_prctl | 5 | int option | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | |
| 158 | SYS_arch_prctl | 3 | struct task_struct *task | int code | unsigned long *addr | |||
| 159 | SYS_adjtimex | 1 | struct timex *txc_p | |||||
| 160 | SYS_setrlimit | 2 | unsigned int resource | struct rlimit *rlim | ||||
| 161 | SYS_chroot | 1 | const char *filename | |||||
| 162 | SYS_sync | 0 | ||||||
| 163 | SYS_acct | 1 | const char *name | |||||
| 164 | SYS_settimeofday | 2 | struct timeval *tv | struct timezone *tz | ||||
| 165 | SYS_mount | 5 | char *dev_name | char *dir_name | char *type | unsigned long flags | void *data | |
| 166 | SYS_umount2 | 2 | const char *target | int flags | ||||
| 167 | SYS_swapon | 2 | const char *specialfile | int swap_flags | ||||
| 168 | SYS_swapoff | 1 | const char *specialfile | |||||
| 169 | SYS_reboot | 4 | int magic1 | int magic2 | unsigned int cmd | void *arg | ||
| 170 | SYS_sethostname | 2 | char *name | int len | ||||
| 171 | SYS_setdomainname | 2 | char *name | int len | ||||
| 172 | SYS_iopl | 2 | unsigned int level | struct pt_regs *regs | ||||
| 173 | SYS_ioperm | 3 | unsigned long from | unsigned long num | int turn_on | |||
| 174 | SYS_create_module | 1 | REMOVED IN Linux 2.6 | |||||
| 175 | SYS_init_module | 3 | void *umod | unsigned long len | const char *uargs | |||
| 176 | SYS_delete_module | 2 | const chat *name_user | unsigned int flags | ||||
| 177 | SYS_get_kernel_syms | 1 | REMOVED IN Linux 2.6 | |||||
| 178 | SYS_query_module | 1 | REMOVED IN Linux 2.6 | |||||
| 179 | SYS_quotactl | 4 | unsigned int cmd | const char *special | qid_t id | void *addr | ||
| 180 | SYS_nfsservctl | 1 | NOT IMPLEMENTED | |||||
| 181 | SYS_getpmsg | 1 | NOT IMPLEMENTED | |||||
| 182 | SYS_putpmsg | 1 | NOT IMPLEMENTED | |||||
| 183 | SYS_afs_syscall | 1 | NOT IMPLEMENTED | |||||
| 184 | SYS_tuxcall | 1 | NOT IMPLEMENTED | |||||
| 185 | SYS_security | 1 | NOT IMPLEMENTED | |||||
| 186 | SYS_gettid | 0 | ||||||
| 187 | SYS_readahead | 3 | int fd | loff_t offset | size_t count | |||
| 188 | SYS_setxattr | 5 | const char *pathname | const char *name | const void *value | size_t size | int flags | |
| 189 | SYS_lsetxattr | 5 | const char *pathname | const char *name | const void *value | size_t size | int flags | |
| 190 | SYS_fsetxattr | 5 | int fd | const char *name | const void *value | size_t size | int flags | |
| 191 | SYS_getxattr | 4 | const char *pathname | const char *name | void *value | size_t size | ||
| 192 | SYS_lgetxattr | 4 | const char *pathname | const char *name | void *value | size_t size | ||
| 193 | SYS_fgetxattr | 4 | int fd | const har *name | void *value | size_t size | ||
| 194 | SYS_listxattr | 3 | const char *pathname | char *list | size_t size | |||
| 195 | SYS_llistxattr | 3 | const char *pathname | char *list | size_t size | |||
| 196 | SYS_flistxattr | 3 | int fd | char *list | size_t size | |||
| 197 | SYS_removexattr | 2 | const char *pathname | const char *name | ||||
| 198 | SYS_lremovexattr | 2 | const char *pathname | const char *name | ||||
| 199 | SYS_fremovexattr | 2 | int fd | const char *name | ||||
| 200 | SYS_tkill | 2 | pid_t pid | ing sig | ||||
| 201 | SYS_time | 1 | time_t *tloc | |||||
| 202 | SYS_futex | 6 | u32 *uaddr | int op | u32 val | struct timespec *utime | u32 *uaddr2 | u32 val3 |
| 203 | SYS_sched_setaffinity | 3 | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | |||
| 204 | SYS_sched_getaffinity | 3 | pid_t pid | unsigned int len | unsigned long *user_mask_ptr | |||
| 205 | SYS_set_thread_area | 1 | NOT IMPLEMENTED. Use arch_prctl | |||||
| 206 | SYS_io_setup | 2 | unsigned nr_events | aio_context_t *ctxp | ||||
| 207 | SYS_io_destroy | 1 | aio_context_t ctx | |||||
| 208 | SYS_io_getevents | 4 | aio_context_t ctx_id | long min_nr | long nr | struct io_event *events | ||
| 209 | SYS_io_submit | 3 | aio_context_t ctx_id | long nr | struct iocb **iocbpp | |||
| 210 | SYS_io_cancel | 3 | aio_context_t ctx_id | struct iocb *iocb | struct io_event *result | |||
| 211 | SYS_get_thread_area | 1 | NOT IMPLEMENTED. Use arch_prctl | |||||
| 212 | SYS_lookup_dcookie | 3 | u64 cookie64 | long buf | long len | |||
| 213 | SYS_epoll_create | 1 | int size | |||||
| 214 | SYS_epoll_ctl_old | 1 | NOT IMPLEMENTED | |||||
| 215 | SYS_epoll_wait_old | 1 | NOT IMPLEMENTED | |||||
| 216 | SYS_remap_file_pages | 5 | unsigned long start | unsigned long size | unsigned long prot | unsigned long pgoff | unsigned long flags | |
| 217 | SYS_getdents64 | 3 | unsigned int fd | struct linux_dirent64 *dirent | unsigned int count | |||
| 218 | SYS_set_tid_address | 1 | int *tidptr | |||||
| 219 | SYS_restart_syscall | 0 | ||||||
| 220 | SYS_semtimedop | 4 | int semid | struct sembuf *tsops | unsigned nsops | const struct timespec *timeout | ||
| 221 | SYS_fadvise64 | 4 | int fd | loff_t offset | size_t len | int advice | ||
| 222 | SYS_timer_create | 3 | const clockid_t which_clock | struct sigevent *timer_event_spec | timer_t *created_timer_id | |||
| 223 | SYS_timer_settime | 4 | timer_t timer_id | int flags | const struct itimerspec *new_setting | struct itimerspec *old_setting | ||
| 224 | SYS_timer_gettime | 2 | timer_t timer_id | struct itimerspec *setting | ||||
| 225 | SYS_timer_getoverrun | 1 | timer_t timer_id | |||||
| 226 | SYS_timer_delete | 1 | timer_t timer_id | |||||
| 227 | SYS_clock_settime | 2 | const clockid_t which_clock | const struct timespec *tp | ||||
| 228 | SYS_clock_gettime | 2 | const clockid_t which_clock | struct timespec *tp | ||||
| 229 | SYS_clock_getres | 2 | const clockid_t which_clock | struct timespec *tp | ||||
| 230 | SYS_clock_nanosleep | 4 | const clockid_t which_clock | int flags | const struct timespec *rqtp | struct timespec *rmtp | ||
| 231 | SYS_exit_group | 1 | int error_code | |||||
| 232 | SYS_epoll_wait | 4 | int epfd | struct epoll_event *events | int maxevents | int timeout | ||
| 233 | SYS_epoll_ctl | 4 | int epfd | int op | int fd | struct epoll_event *event | ||
| 234 | SYS_tgkill | 3 | pid_t tgid | pid_t pid | int sig | |||
| 235 | SYS_utimes | 2 | char *filename | struct timeval *utimes | ||||
| 236 | SYS_vserver | 1 | NOT IMPLEMENTED | |||||
| 237 | SYS_mbind | 6 | unsigned long start | unsigned long len | unsigned long mode | unsigned long *nmask | unsigned long maxnode | unsigned flags |
| 238 | SYS_set_mempolicy | 3 | int mode | unsigned long *nmask | unsigned long maxnode | |||
| 239 | SYS_get_mempolicy | 5 | int *policy | unsigned long *nmask | unsigned long maxnode | unsigned long addr | unsigned long flags | |
| 240 | SYS_mq_open | 4 | const char *u_name | int oflag | mode_t mode | struct mq_attr *u_attr | ||
| 241 | SYS_mq_unlink | 1 | const char *u_name | |||||
| 242 | SYS_mq_timedsend | 5 | mqd_t mqdes | const char *u_msg_ptr | size_t msg_len | unsigned int msg_prio | const stuct timespec *u_abs_timeout | |
| 243 | SYS_mq_timedreceive | 5 | mqd_t mqdes | char *u_msg_ptr | size_t msg_len | unsigned int *u_msg_prio | const struct timespec *u_abs_timeout | |
| 244 | SYS_mq_notify | 2 | mqd_t mqdes | const struct sigevent *u_notification | ||||
| 245 | SYS_mq_getsetattr | 3 | mqd_t mqdes | const struct mq_attr *u_mqstat | struct mq_attr *u_omqstat | |||
| 246 | SYS_kexec_load | 4 | unsigned long entry | unsigned long nr_segments | struct kexec_segment *segments | unsigned long flags | ||
| 247 | SYS_waitid | 5 | int which | pid_t upid | struct siginfo *infop | int options | struct rusage *ru | |
| 248 | SYS_add_key | 4 | const char *_type | const char *_description | const void *_payload | size_t plen | ||
| 249 | SYS_request_key | 4 | const char *_type | const char *_description | const char *_callout_info | key_serial_t destringid | ||
| 250 | SYS_keyctl | 5 | int option | unsigned long arg2 | unsigned long arg3 | unsigned long arg4 | unsigned long arg5 | |
| 251 | SYS_ioprio_set | 3 | int which | int who | int ioprio | |||
| 252 | SYS_ioprio_get | 2 | int which | int who | ||||
| 253 | SYS_inotify_init | 0 | ||||||
| 254 | SYS_inotify_add_watch | 3 | int fd | const char *pathname | u32 mask | |||
| 255 | SYS_inotify_rm_watch | 2 | int fd | __s32 wd | ||||
| 256 | SYS_migrate_pages | 4 | pid_t pid | unsigned long maxnode | const unsigned long *old_nodes | const unsigned long *new_nodes | ||
| 257 | SYS_openat | 4 | int dfd | const char *filename | int flags | int mode | ||
| 258 | SYS_mkdirat | 3 | int dfd | const char *pathname | int mode | |||
| 259 | SYS_mknodat | 4 | int dfd | const char *filename | int mode | unsigned dev | ||
| 260 | SYS_fchownat | 5 | int dfd | const char *filename | uid_t user | gid_t group | int flag | |
| 261 | SYS_futimesat | 3 | int dfd | const char *filename | struct timeval *utimes | |||
| 262 | SYS_newfstatat | 4 | int dfd | const char *filename | struct stat *statbuf | int flag | ||
| 263 | SYS_unlinkat | 3 | int dfd | const char *pathname | int flag | |||
| 264 | SYS_renameat | 4 | int oldfd | const char *oldname | int newfd | const char *newname | ||
| 265 | SYS_linkat | 5 | int oldfd | const char *oldname | int newfd | const char *newname | int flags | |
| 266 | SYS_symlinkat | 3 | const char *oldname | int newfd | const char *newname | |||
| 267 | SYS_readlinkat | 4 | int dfd | const char *pathname | char *buf | int bufsiz | ||
| 268 | SYS_fchmodat | 3 | int dfd | const char *filename | mode_t mode | |||
| 269 | SYS_faccessat | 3 | int dfd | const char *filename | int mode | |||
| 270 | SYS_pselect6 | 6 | int n | fd_set *inp | fd_set *outp | fd_set *exp | struct timespec *tsp | void *sig |
| 271 | SYS_ppoll | 5 | struct pollfd *ufds | unsigned int nfds | struct timespec *tsp | const sigset_t *sigmask | size_t sigsetsize | |
| 272 | SYS_unshare | 1 | unsigned long unshare_flags | |||||
| 273 | SYS_set_robust_list | 2 | struct robust_list_head *head | size_t len | ||||
| 274 | SYS_get_robust_list | 3 | int pid | struct robust_list_head **head_ptr | size_t *len_ptr | |||
| 275 | SYS_splice | 6 | int fd_in | loff_t *off_in | int fd_out | loff_t *off_out | size_t len | unsigned int flags |
| 276 | SYS_tee | 4 | int fdin | int fdout | size_t len | unsigned int flags | ||
| 277 | SYS_sync_file_range | 4 | long fd | loff_t offset | loff_t bytes | long flags | ||
| 278 | SYS_vmsplice | 4 | int fd | const struct iovec *iov | unsigned long nr_segs | unsigned int flags | ||
| 279 | SYS_move_pages | 6 | pid_t pid | unsigned long nr_pages | const void **pages | const int *nodes | int *status | int flags |
| 280 | SYS_utimensat | 4 | int dfd | const char *filename | struct timespec *utimes | int flags | ||
| 281 | SYS_epoll_pwait | 6 | int epfd | struct epoll_event *events | int maxevents | int timeout | const sigset_t *sigmask | size_t sigsetsize |
| 282 | SYS_signalfd | 3 | int ufd | sigset_t *user_mask | size_t sizemask | |||
| 283 | SYS_timerfd_create | 2 | int clockid | int flags | ||||
| 284 | SYS_eventfd | 1 | unsigned int count | |||||
| 285 | SYS_fallocate | 4 | long fd | long mode | loff_t offset | loff_t len | ||
| 286 | SYS_timerfd_settime | 4 | int ufd | int flags | const struct itimerspec *utmr | struct itimerspec *otmr | ||
| 287 | SYS_timerfd_gettime | 2 | int ufd | struct itimerspec *otmr | ||||
| 288 | SYS_accept4 | 4 | int fd | struct sockaddr *upeer_sockaddr | int *upeer_addrlen | int flags | ||
| 289 | SYS_signalfd4 | 4 | int ufd | sigset_t *user_mask | size_t sizemask | int flags | ||
| 290 | SYS_eventfd2 | 2 | unsigned int count | int flags | ||||
| 291 | SYS_epoll_create1 | 1 | int flags | |||||
| 292 | SYS_dup3 | 3 | unsigned int oldfd | unsigned int newfd | int flags | |||
| 293 | SYS_pipe2 | 2 | int *filedes | int flags | ||||
| 294 | SYS_inotify_init1 | 1 | int flags | |||||
| 295 | SYS_preadv | 5 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | |
| 296 | SYS_pwritev | 5 | unsigned long fd | const struct iovec *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | |
| 297 | SYS_rt_tgsigqueueinfo | 4 | pid_t tgid | pid_t pid | int sig | siginfo_t *uinfo | ||
| 298 | SYS_perf_event_open | 5 | struct perf_event_attr *attr_uptr | pid_t pid | int cpu | int group_fd | unsigned long flags | |
| 299 | SYS_recvmmsg | 5 | int fd | struct msghdr *mmsg | unsigned int vlen | unsigned int flags | struct timespec *timeout | |
| 300 | SYS_fanotify_init | 2 | unsigned int flags | unsigned int event_f_flags | ||||
| 301 | SYS_fanotify_mark | 5 | long fanotify_fd | long flags | __u64 mask | long dfd | long pathname | |
| 302 | SYS_prlimit64 | 4 | pid_t pid | unsigned int resource | const struct rlimit64 *new_rlim | struct rlimit64 *old_rlim | ||
| 303 | SYS_name_to_handle_at | 5 | int dfd | const char *name | struct file_handle *handle | int *mnt_id | int flag | |
| 304 | SYS_open_by_handle_at | 5 | int dfd | const char *name | struct file_handle *handle | int *mnt_id | int flags | |
| 305 | SYS_clock_adjtime | 2 | clockid_t which_clock | struct timex *tx | ||||
| 306 | SYS_syncfs | 1 | int fd | |||||
| 307 | SYS_sendmmsg | 4 | int fd | struct mmsghdr *mmsg | unsigned int vlen | unsigned int flags | ||
| 308 | SYS_setns | 2 | int fd | int nstype | ||||
| 309 | SYS_getcpu | 3 | unsigned *cpup | unsigned *nodep | struct getcpu_cache *unused | |||
| 310 | SYS_process_vm_readv | 6 | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovec *rvec | unsigned long riovcnt | unsigned long flags |
| 311 | SYS_process_vm_writev | 6 | pid_t pid | const struct iovec *lvec | unsigned long liovcnt | const struct iovcc *rvec | unsigned long riovcnt | unsigned long flags |
| 312 | SYS_kcmp | 5 | pid_t pid1 | pid_t pid2 | int type | unsigned long idx1 | unsigned long idx2 | |
| 313 | SYS_finit_module | 3 | int fd | const char __user *uargs | int flags | |||
| 314 | SYS_sched_setattr | 3 | pid_t pid | struct sched_attr __user *attr | unsigned int flags | |||
| 315 | SYS_sched_getattr | 4 | pid_t pid | struct sched_attr __user *attr | unsigned int size | unsigned int flags | ||
| 316 | SYS_renameat2 | 5 | int olddfd | const char __user *oldname | int newdfd | const char __user *newname | unsigned int flags | |
| 317 | SYS_seccomp | 3 | unsigned int op | unsigned int flags | const char __user *uargs | |||
| 318 | SYS_getrandom | 3 | char __user *buf | size_t count | unsigned int flags | |||
| 319 | SYS_memfd_create | 2 | const char __user *uname_ptr | unsigned int flags | ||||
| 320 | SYS_kexec_file_load | 5 | int kernel_fd | int initrd_fd | unsigned long cmdline_len | const char __user *cmdline_ptr | unsigned long flags | |
| 321 | SYS_bpf | 3 | int cmd | union bpf_attr *attr | unsigned int size | |||
| 322 | stub_execveat | 5 | int dfd | const char __user *filename | const char __user *const __user *argv | const char __user *const __user *envp | int flags | |
| 323 | userfaultfd | 1 | int flags | |||||
| 324 | membarrier | 2 | int cmd | int flags | ||||
| 325 | mlock2 | 3 | unsigned long start | size_t len | int flags | |||
| 326 | copy_file_range | 6 | int fd_in | loff_t __user *off_in | int fd_out | loff_t __user * off_out | size_t len | unsigned int flags |
| 327 | preadv2 | 6 | unsigned long fd | const struct iovec __user *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | int flags |
| 328 | pwritev2 | 6 | unsigned long fd | const struct iovec __user *vec | unsigned long vlen | unsigned long pos_l | unsigned long pos_h | int flags |
| 329 | pkey_mprotect | 3 | void *addr | size_t len | int prot | |||
| 330 | pkey_alloc | 2 | unsigned int flags | unsigned int access_rights | ||||
| 331 | pkey_free | 1 | int pkey | |||||
| 332 | statx | 5 | int dirfd | const char* pathname | int flags | unsigned int mask | struct statx* statxbuf | |
| 333 | io_pgetevents | 5 | io_context_t ctx | long nr | struct io_event *events[] | struct timespec *timeout | sigset_t *sigmask | |
| 334 | rseq | 4 | struct rseq *rseq | uint32_t rseq_len | int flags | uint32_t sig | ||