1*f5afe739SLaurent Vivier# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 2*f5afe739SLaurent Vivier# 3*f5afe739SLaurent Vivier# This file contains the system call numbers for all of the 4*f5afe739SLaurent Vivier# more recently added architectures. 5*f5afe739SLaurent Vivier# 6*f5afe739SLaurent Vivier# As a basic principle, no duplication of functionality 7*f5afe739SLaurent Vivier# should be added, e.g. we don't use lseek when llseek 8*f5afe739SLaurent Vivier# is present. New architectures should use this file 9*f5afe739SLaurent Vivier# and implement the less feature-full calls in user space. 10*f5afe739SLaurent Vivier# 11*f5afe739SLaurent Vivier0 common io_setup sys_io_setup compat_sys_io_setup 12*f5afe739SLaurent Vivier1 common io_destroy sys_io_destroy 13*f5afe739SLaurent Vivier2 common io_submit sys_io_submit compat_sys_io_submit 14*f5afe739SLaurent Vivier3 common io_cancel sys_io_cancel 15*f5afe739SLaurent Vivier4 time32 io_getevents sys_io_getevents_time32 16*f5afe739SLaurent Vivier4 64 io_getevents sys_io_getevents 17*f5afe739SLaurent Vivier5 common setxattr sys_setxattr 18*f5afe739SLaurent Vivier6 common lsetxattr sys_lsetxattr 19*f5afe739SLaurent Vivier7 common fsetxattr sys_fsetxattr 20*f5afe739SLaurent Vivier8 common getxattr sys_getxattr 21*f5afe739SLaurent Vivier9 common lgetxattr sys_lgetxattr 22*f5afe739SLaurent Vivier10 common fgetxattr sys_fgetxattr 23*f5afe739SLaurent Vivier11 common listxattr sys_listxattr 24*f5afe739SLaurent Vivier12 common llistxattr sys_llistxattr 25*f5afe739SLaurent Vivier13 common flistxattr sys_flistxattr 26*f5afe739SLaurent Vivier14 common removexattr sys_removexattr 27*f5afe739SLaurent Vivier15 common lremovexattr sys_lremovexattr 28*f5afe739SLaurent Vivier16 common fremovexattr sys_fremovexattr 29*f5afe739SLaurent Vivier17 common getcwd sys_getcwd 30*f5afe739SLaurent Vivier18 common lookup_dcookie sys_ni_syscall 31*f5afe739SLaurent Vivier19 common eventfd2 sys_eventfd2 32*f5afe739SLaurent Vivier20 common epoll_create1 sys_epoll_create1 33*f5afe739SLaurent Vivier21 common epoll_ctl sys_epoll_ctl 34*f5afe739SLaurent Vivier22 common epoll_pwait sys_epoll_pwait compat_sys_epoll_pwait 35*f5afe739SLaurent Vivier23 common dup sys_dup 36*f5afe739SLaurent Vivier24 common dup3 sys_dup3 37*f5afe739SLaurent Vivier25 32 fcntl64 sys_fcntl64 compat_sys_fcntl64 38*f5afe739SLaurent Vivier25 64 fcntl sys_fcntl 39*f5afe739SLaurent Vivier26 common inotify_init1 sys_inotify_init1 40*f5afe739SLaurent Vivier27 common inotify_add_watch sys_inotify_add_watch 41*f5afe739SLaurent Vivier28 common inotify_rm_watch sys_inotify_rm_watch 42*f5afe739SLaurent Vivier29 common ioctl sys_ioctl compat_sys_ioctl 43*f5afe739SLaurent Vivier30 common ioprio_set sys_ioprio_set 44*f5afe739SLaurent Vivier31 common ioprio_get sys_ioprio_get 45*f5afe739SLaurent Vivier32 common flock sys_flock 46*f5afe739SLaurent Vivier33 common mknodat sys_mknodat 47*f5afe739SLaurent Vivier34 common mkdirat sys_mkdirat 48*f5afe739SLaurent Vivier35 common unlinkat sys_unlinkat 49*f5afe739SLaurent Vivier36 common symlinkat sys_symlinkat 50*f5afe739SLaurent Vivier37 common linkat sys_linkat 51*f5afe739SLaurent Vivier# renameat is superseded with flags by renameat2 52*f5afe739SLaurent Vivier38 renameat renameat sys_renameat 53*f5afe739SLaurent Vivier39 common umount2 sys_umount 54*f5afe739SLaurent Vivier40 common mount sys_mount 55*f5afe739SLaurent Vivier41 common pivot_root sys_pivot_root 56*f5afe739SLaurent Vivier42 common nfsservctl sys_ni_syscall 57*f5afe739SLaurent Vivier43 32 statfs64 sys_statfs64 compat_sys_statfs64 58*f5afe739SLaurent Vivier43 64 statfs sys_statfs 59*f5afe739SLaurent Vivier44 32 fstatfs64 sys_fstatfs64 compat_sys_fstatfs64 60*f5afe739SLaurent Vivier44 64 fstatfs sys_fstatfs 61*f5afe739SLaurent Vivier45 32 truncate64 sys_truncate64 compat_sys_truncate64 62*f5afe739SLaurent Vivier45 64 truncate sys_truncate 63*f5afe739SLaurent Vivier46 32 ftruncate64 sys_ftruncate64 compat_sys_ftruncate64 64*f5afe739SLaurent Vivier46 64 ftruncate sys_ftruncate 65*f5afe739SLaurent Vivier47 common fallocate sys_fallocate compat_sys_fallocate 66*f5afe739SLaurent Vivier48 common faccessat sys_faccessat 67*f5afe739SLaurent Vivier49 common chdir sys_chdir 68*f5afe739SLaurent Vivier50 common fchdir sys_fchdir 69*f5afe739SLaurent Vivier51 common chroot sys_chroot 70*f5afe739SLaurent Vivier52 common fchmod sys_fchmod 71*f5afe739SLaurent Vivier53 common fchmodat sys_fchmodat 72*f5afe739SLaurent Vivier54 common fchownat sys_fchownat 73*f5afe739SLaurent Vivier55 common fchown sys_fchown 74*f5afe739SLaurent Vivier56 common openat sys_openat 75*f5afe739SLaurent Vivier57 common close sys_close 76*f5afe739SLaurent Vivier58 common vhangup sys_vhangup 77*f5afe739SLaurent Vivier59 common pipe2 sys_pipe2 78*f5afe739SLaurent Vivier60 common quotactl sys_quotactl 79*f5afe739SLaurent Vivier61 common getdents64 sys_getdents64 80*f5afe739SLaurent Vivier62 32 llseek sys_llseek 81*f5afe739SLaurent Vivier62 64 lseek sys_lseek 82*f5afe739SLaurent Vivier63 common read sys_read 83*f5afe739SLaurent Vivier64 common write sys_write 84*f5afe739SLaurent Vivier65 common readv sys_readv sys_readv 85*f5afe739SLaurent Vivier66 common writev sys_writev sys_writev 86*f5afe739SLaurent Vivier67 common pread64 sys_pread64 compat_sys_pread64 87*f5afe739SLaurent Vivier68 common pwrite64 sys_pwrite64 compat_sys_pwrite64 88*f5afe739SLaurent Vivier69 common preadv sys_preadv compat_sys_preadv 89*f5afe739SLaurent Vivier70 common pwritev sys_pwritev compat_sys_pwritev 90*f5afe739SLaurent Vivier71 32 sendfile64 sys_sendfile64 91*f5afe739SLaurent Vivier71 64 sendfile sys_sendfile64 92*f5afe739SLaurent Vivier72 time32 pselect6 sys_pselect6_time32 compat_sys_pselect6_time32 93*f5afe739SLaurent Vivier72 64 pselect6 sys_pselect6 94*f5afe739SLaurent Vivier73 time32 ppoll sys_ppoll_time32 compat_sys_ppoll_time32 95*f5afe739SLaurent Vivier73 64 ppoll sys_ppoll 96*f5afe739SLaurent Vivier74 common signalfd4 sys_signalfd4 compat_sys_signalfd4 97*f5afe739SLaurent Vivier75 common vmsplice sys_vmsplice 98*f5afe739SLaurent Vivier76 common splice sys_splice 99*f5afe739SLaurent Vivier77 common tee sys_tee 100*f5afe739SLaurent Vivier78 common readlinkat sys_readlinkat 101*f5afe739SLaurent Vivier79 stat64 fstatat64 sys_fstatat64 102*f5afe739SLaurent Vivier79 64 newfstatat sys_newfstatat 103*f5afe739SLaurent Vivier80 stat64 fstat64 sys_fstat64 104*f5afe739SLaurent Vivier80 64 fstat sys_newfstat 105*f5afe739SLaurent Vivier81 common sync sys_sync 106*f5afe739SLaurent Vivier82 common fsync sys_fsync 107*f5afe739SLaurent Vivier83 common fdatasync sys_fdatasync 108*f5afe739SLaurent Vivier84 common sync_file_range sys_sync_file_range compat_sys_sync_file_range 109*f5afe739SLaurent Vivier85 common timerfd_create sys_timerfd_create 110*f5afe739SLaurent Vivier86 time32 timerfd_settime sys_timerfd_settime32 111*f5afe739SLaurent Vivier86 64 timerfd_settime sys_timerfd_settime 112*f5afe739SLaurent Vivier87 time32 timerfd_gettime sys_timerfd_gettime32 113*f5afe739SLaurent Vivier87 64 timerfd_gettime sys_timerfd_gettime 114*f5afe739SLaurent Vivier88 time32 utimensat sys_utimensat_time32 115*f5afe739SLaurent Vivier88 64 utimensat sys_utimensat 116*f5afe739SLaurent Vivier89 common acct sys_acct 117*f5afe739SLaurent Vivier90 common capget sys_capget 118*f5afe739SLaurent Vivier91 common capset sys_capset 119*f5afe739SLaurent Vivier92 common personality sys_personality 120*f5afe739SLaurent Vivier93 common exit sys_exit 121*f5afe739SLaurent Vivier94 common exit_group sys_exit_group 122*f5afe739SLaurent Vivier95 common waitid sys_waitid compat_sys_waitid 123*f5afe739SLaurent Vivier96 common set_tid_address sys_set_tid_address 124*f5afe739SLaurent Vivier97 common unshare sys_unshare 125*f5afe739SLaurent Vivier98 time32 futex sys_futex_time32 126*f5afe739SLaurent Vivier98 64 futex sys_futex 127*f5afe739SLaurent Vivier99 common set_robust_list sys_set_robust_list compat_sys_set_robust_list 128*f5afe739SLaurent Vivier100 common get_robust_list sys_get_robust_list compat_sys_get_robust_list 129*f5afe739SLaurent Vivier101 time32 nanosleep sys_nanosleep_time32 130*f5afe739SLaurent Vivier101 64 nanosleep sys_nanosleep 131*f5afe739SLaurent Vivier102 common getitimer sys_getitimer compat_sys_getitimer 132*f5afe739SLaurent Vivier103 common setitimer sys_setitimer compat_sys_setitimer 133*f5afe739SLaurent Vivier104 common kexec_load sys_kexec_load compat_sys_kexec_load 134*f5afe739SLaurent Vivier105 common init_module sys_init_module 135*f5afe739SLaurent Vivier106 common delete_module sys_delete_module 136*f5afe739SLaurent Vivier107 common timer_create sys_timer_create compat_sys_timer_create 137*f5afe739SLaurent Vivier108 time32 timer_gettime sys_timer_gettime32 138*f5afe739SLaurent Vivier108 64 timer_gettime sys_timer_gettime 139*f5afe739SLaurent Vivier109 common timer_getoverrun sys_timer_getoverrun 140*f5afe739SLaurent Vivier110 time32 timer_settime sys_timer_settime32 141*f5afe739SLaurent Vivier110 64 timer_settime sys_timer_settime 142*f5afe739SLaurent Vivier111 common timer_delete sys_timer_delete 143*f5afe739SLaurent Vivier112 time32 clock_settime sys_clock_settime32 144*f5afe739SLaurent Vivier112 64 clock_settime sys_clock_settime 145*f5afe739SLaurent Vivier113 time32 clock_gettime sys_clock_gettime32 146*f5afe739SLaurent Vivier113 64 clock_gettime sys_clock_gettime 147*f5afe739SLaurent Vivier114 time32 clock_getres sys_clock_getres_time32 148*f5afe739SLaurent Vivier114 64 clock_getres sys_clock_getres 149*f5afe739SLaurent Vivier115 time32 clock_nanosleep sys_clock_nanosleep_time32 150*f5afe739SLaurent Vivier115 64 clock_nanosleep sys_clock_nanosleep 151*f5afe739SLaurent Vivier116 common syslog sys_syslog 152*f5afe739SLaurent Vivier117 common ptrace sys_ptrace compat_sys_ptrace 153*f5afe739SLaurent Vivier118 common sched_setparam sys_sched_setparam 154*f5afe739SLaurent Vivier119 common sched_setscheduler sys_sched_setscheduler 155*f5afe739SLaurent Vivier120 common sched_getscheduler sys_sched_getscheduler 156*f5afe739SLaurent Vivier121 common sched_getparam sys_sched_getparam 157*f5afe739SLaurent Vivier122 common sched_setaffinity sys_sched_setaffinity compat_sys_sched_setaffinity 158*f5afe739SLaurent Vivier123 common sched_getaffinity sys_sched_getaffinity compat_sys_sched_getaffinity 159*f5afe739SLaurent Vivier124 common sched_yield sys_sched_yield 160*f5afe739SLaurent Vivier125 common sched_get_priority_max sys_sched_get_priority_max 161*f5afe739SLaurent Vivier126 common sched_get_priority_min sys_sched_get_priority_min 162*f5afe739SLaurent Vivier127 time32 sched_rr_get_interval sys_sched_rr_get_interval_time32 163*f5afe739SLaurent Vivier127 64 sched_rr_get_interval sys_sched_rr_get_interval 164*f5afe739SLaurent Vivier128 common restart_syscall sys_restart_syscall 165*f5afe739SLaurent Vivier129 common kill sys_kill 166*f5afe739SLaurent Vivier130 common tkill sys_tkill 167*f5afe739SLaurent Vivier131 common tgkill sys_tgkill 168*f5afe739SLaurent Vivier132 common sigaltstack sys_sigaltstack compat_sys_sigaltstack 169*f5afe739SLaurent Vivier133 common rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend 170*f5afe739SLaurent Vivier134 common rt_sigaction sys_rt_sigaction compat_sys_rt_sigaction 171*f5afe739SLaurent Vivier135 common rt_sigprocmask sys_rt_sigprocmask compat_sys_rt_sigprocmask 172*f5afe739SLaurent Vivier136 common rt_sigpending sys_rt_sigpending compat_sys_rt_sigpending 173*f5afe739SLaurent Vivier137 time32 rt_sigtimedwait sys_rt_sigtimedwait_time32 compat_sys_rt_sigtimedwait_time32 174*f5afe739SLaurent Vivier137 64 rt_sigtimedwait sys_rt_sigtimedwait 175*f5afe739SLaurent Vivier138 common rt_sigqueueinfo sys_rt_sigqueueinfo compat_sys_rt_sigqueueinfo 176*f5afe739SLaurent Vivier139 common rt_sigreturn sys_rt_sigreturn compat_sys_rt_sigreturn 177*f5afe739SLaurent Vivier140 common setpriority sys_setpriority 178*f5afe739SLaurent Vivier141 common getpriority sys_getpriority 179*f5afe739SLaurent Vivier142 common reboot sys_reboot 180*f5afe739SLaurent Vivier143 common setregid sys_setregid 181*f5afe739SLaurent Vivier144 common setgid sys_setgid 182*f5afe739SLaurent Vivier145 common setreuid sys_setreuid 183*f5afe739SLaurent Vivier146 common setuid sys_setuid 184*f5afe739SLaurent Vivier147 common setresuid sys_setresuid 185*f5afe739SLaurent Vivier148 common getresuid sys_getresuid 186*f5afe739SLaurent Vivier149 common setresgid sys_setresgid 187*f5afe739SLaurent Vivier150 common getresgid sys_getresgid 188*f5afe739SLaurent Vivier151 common setfsuid sys_setfsuid 189*f5afe739SLaurent Vivier152 common setfsgid sys_setfsgid 190*f5afe739SLaurent Vivier153 common times sys_times compat_sys_times 191*f5afe739SLaurent Vivier154 common setpgid sys_setpgid 192*f5afe739SLaurent Vivier155 common getpgid sys_getpgid 193*f5afe739SLaurent Vivier156 common getsid sys_getsid 194*f5afe739SLaurent Vivier157 common setsid sys_setsid 195*f5afe739SLaurent Vivier158 common getgroups sys_getgroups 196*f5afe739SLaurent Vivier159 common setgroups sys_setgroups 197*f5afe739SLaurent Vivier160 common uname sys_newuname 198*f5afe739SLaurent Vivier161 common sethostname sys_sethostname 199*f5afe739SLaurent Vivier162 common setdomainname sys_setdomainname 200*f5afe739SLaurent Vivier# getrlimit and setrlimit are superseded with prlimit64 201*f5afe739SLaurent Vivier163 rlimit getrlimit sys_getrlimit compat_sys_getrlimit 202*f5afe739SLaurent Vivier164 rlimit setrlimit sys_setrlimit compat_sys_setrlimit 203*f5afe739SLaurent Vivier165 common getrusage sys_getrusage compat_sys_getrusage 204*f5afe739SLaurent Vivier166 common umask sys_umask 205*f5afe739SLaurent Vivier167 common prctl sys_prctl 206*f5afe739SLaurent Vivier168 common getcpu sys_getcpu 207*f5afe739SLaurent Vivier169 time32 gettimeofday sys_gettimeofday compat_sys_gettimeofday 208*f5afe739SLaurent Vivier169 64 gettimeofday sys_gettimeofday 209*f5afe739SLaurent Vivier170 time32 settimeofday sys_settimeofday compat_sys_settimeofday 210*f5afe739SLaurent Vivier170 64 settimeofday sys_settimeofday 211*f5afe739SLaurent Vivier171 time32 adjtimex sys_adjtimex_time32 212*f5afe739SLaurent Vivier171 64 adjtimex sys_adjtimex 213*f5afe739SLaurent Vivier172 common getpid sys_getpid 214*f5afe739SLaurent Vivier173 common getppid sys_getppid 215*f5afe739SLaurent Vivier174 common getuid sys_getuid 216*f5afe739SLaurent Vivier175 common geteuid sys_geteuid 217*f5afe739SLaurent Vivier176 common getgid sys_getgid 218*f5afe739SLaurent Vivier177 common getegid sys_getegid 219*f5afe739SLaurent Vivier178 common gettid sys_gettid 220*f5afe739SLaurent Vivier179 common sysinfo sys_sysinfo compat_sys_sysinfo 221*f5afe739SLaurent Vivier180 common mq_open sys_mq_open compat_sys_mq_open 222*f5afe739SLaurent Vivier181 common mq_unlink sys_mq_unlink 223*f5afe739SLaurent Vivier182 time32 mq_timedsend sys_mq_timedsend_time32 224*f5afe739SLaurent Vivier182 64 mq_timedsend sys_mq_timedsend 225*f5afe739SLaurent Vivier183 time32 mq_timedreceive sys_mq_timedreceive_time32 226*f5afe739SLaurent Vivier183 64 mq_timedreceive sys_mq_timedreceive 227*f5afe739SLaurent Vivier184 common mq_notify sys_mq_notify compat_sys_mq_notify 228*f5afe739SLaurent Vivier185 common mq_getsetattr sys_mq_getsetattr compat_sys_mq_getsetattr 229*f5afe739SLaurent Vivier186 common msgget sys_msgget 230*f5afe739SLaurent Vivier187 common msgctl sys_msgctl compat_sys_msgctl 231*f5afe739SLaurent Vivier188 common msgrcv sys_msgrcv compat_sys_msgrcv 232*f5afe739SLaurent Vivier189 common msgsnd sys_msgsnd compat_sys_msgsnd 233*f5afe739SLaurent Vivier190 common semget sys_semget 234*f5afe739SLaurent Vivier191 common semctl sys_semctl compat_sys_semctl 235*f5afe739SLaurent Vivier192 time32 semtimedop sys_semtimedop_time32 236*f5afe739SLaurent Vivier192 64 semtimedop sys_semtimedop 237*f5afe739SLaurent Vivier193 common semop sys_semop 238*f5afe739SLaurent Vivier194 common shmget sys_shmget 239*f5afe739SLaurent Vivier195 common shmctl sys_shmctl compat_sys_shmctl 240*f5afe739SLaurent Vivier196 common shmat sys_shmat compat_sys_shmat 241*f5afe739SLaurent Vivier197 common shmdt sys_shmdt 242*f5afe739SLaurent Vivier198 common socket sys_socket 243*f5afe739SLaurent Vivier199 common socketpair sys_socketpair 244*f5afe739SLaurent Vivier200 common bind sys_bind 245*f5afe739SLaurent Vivier201 common listen sys_listen 246*f5afe739SLaurent Vivier202 common accept sys_accept 247*f5afe739SLaurent Vivier203 common connect sys_connect 248*f5afe739SLaurent Vivier204 common getsockname sys_getsockname 249*f5afe739SLaurent Vivier205 common getpeername sys_getpeername 250*f5afe739SLaurent Vivier206 common sendto sys_sendto 251*f5afe739SLaurent Vivier207 common recvfrom sys_recvfrom compat_sys_recvfrom 252*f5afe739SLaurent Vivier208 common setsockopt sys_setsockopt sys_setsockopt 253*f5afe739SLaurent Vivier209 common getsockopt sys_getsockopt sys_getsockopt 254*f5afe739SLaurent Vivier210 common shutdown sys_shutdown 255*f5afe739SLaurent Vivier211 common sendmsg sys_sendmsg compat_sys_sendmsg 256*f5afe739SLaurent Vivier212 common recvmsg sys_recvmsg compat_sys_recvmsg 257*f5afe739SLaurent Vivier213 common readahead sys_readahead compat_sys_readahead 258*f5afe739SLaurent Vivier214 common brk sys_brk 259*f5afe739SLaurent Vivier215 common munmap sys_munmap 260*f5afe739SLaurent Vivier216 common mremap sys_mremap 261*f5afe739SLaurent Vivier217 common add_key sys_add_key 262*f5afe739SLaurent Vivier218 common request_key sys_request_key 263*f5afe739SLaurent Vivier219 common keyctl sys_keyctl compat_sys_keyctl 264*f5afe739SLaurent Vivier220 common clone sys_clone 265*f5afe739SLaurent Vivier221 common execve sys_execve compat_sys_execve 266*f5afe739SLaurent Vivier222 32 mmap2 sys_mmap2 267*f5afe739SLaurent Vivier222 64 mmap sys_mmap 268*f5afe739SLaurent Vivier223 32 fadvise64_64 sys_fadvise64_64 compat_sys_fadvise64_64 269*f5afe739SLaurent Vivier223 64 fadvise64 sys_fadvise64_64 270*f5afe739SLaurent Vivier224 common swapon sys_swapon 271*f5afe739SLaurent Vivier225 common swapoff sys_swapoff 272*f5afe739SLaurent Vivier226 common mprotect sys_mprotect 273*f5afe739SLaurent Vivier227 common msync sys_msync 274*f5afe739SLaurent Vivier228 common mlock sys_mlock 275*f5afe739SLaurent Vivier229 common munlock sys_munlock 276*f5afe739SLaurent Vivier230 common mlockall sys_mlockall 277*f5afe739SLaurent Vivier231 common munlockall sys_munlockall 278*f5afe739SLaurent Vivier232 common mincore sys_mincore 279*f5afe739SLaurent Vivier233 common madvise sys_madvise 280*f5afe739SLaurent Vivier234 common remap_file_pages sys_remap_file_pages 281*f5afe739SLaurent Vivier235 common mbind sys_mbind 282*f5afe739SLaurent Vivier236 common get_mempolicy sys_get_mempolicy 283*f5afe739SLaurent Vivier237 common set_mempolicy sys_set_mempolicy 284*f5afe739SLaurent Vivier238 common migrate_pages sys_migrate_pages 285*f5afe739SLaurent Vivier239 common move_pages sys_move_pages 286*f5afe739SLaurent Vivier240 common rt_tgsigqueueinfo sys_rt_tgsigqueueinfo compat_sys_rt_tgsigqueueinfo 287*f5afe739SLaurent Vivier241 common perf_event_open sys_perf_event_open 288*f5afe739SLaurent Vivier242 common accept4 sys_accept4 289*f5afe739SLaurent Vivier243 time32 recvmmsg sys_recvmmsg_time32 compat_sys_recvmmsg_time32 290*f5afe739SLaurent Vivier243 64 recvmmsg sys_recvmmsg 291*f5afe739SLaurent Vivier# Architectures may provide up to 16 syscalls of their own between 244 and 259 292*f5afe739SLaurent Vivier244 arc cacheflush sys_cacheflush 293*f5afe739SLaurent Vivier245 arc arc_settls sys_arc_settls 294*f5afe739SLaurent Vivier246 arc arc_gettls sys_arc_gettls 295*f5afe739SLaurent Vivier247 arc sysfs sys_sysfs 296*f5afe739SLaurent Vivier248 arc arc_usr_cmpxchg sys_arc_usr_cmpxchg 297*f5afe739SLaurent Vivier 298*f5afe739SLaurent Vivier244 csky set_thread_area sys_set_thread_area 299*f5afe739SLaurent Vivier245 csky cacheflush sys_cacheflush 300*f5afe739SLaurent Vivier 301*f5afe739SLaurent Vivier244 nios2 cacheflush sys_cacheflush 302*f5afe739SLaurent Vivier 303*f5afe739SLaurent Vivier244 or1k or1k_atomic sys_or1k_atomic 304*f5afe739SLaurent Vivier 305*f5afe739SLaurent Vivier258 riscv riscv_hwprobe sys_riscv_hwprobe 306*f5afe739SLaurent Vivier259 riscv riscv_flush_icache sys_riscv_flush_icache 307*f5afe739SLaurent Vivier 308*f5afe739SLaurent Vivier260 time32 wait4 sys_wait4 compat_sys_wait4 309*f5afe739SLaurent Vivier260 64 wait4 sys_wait4 310*f5afe739SLaurent Vivier261 common prlimit64 sys_prlimit64 311*f5afe739SLaurent Vivier262 common fanotify_init sys_fanotify_init 312*f5afe739SLaurent Vivier263 common fanotify_mark sys_fanotify_mark 313*f5afe739SLaurent Vivier264 common name_to_handle_at sys_name_to_handle_at 314*f5afe739SLaurent Vivier265 common open_by_handle_at sys_open_by_handle_at 315*f5afe739SLaurent Vivier266 time32 clock_adjtime sys_clock_adjtime32 316*f5afe739SLaurent Vivier266 64 clock_adjtime sys_clock_adjtime 317*f5afe739SLaurent Vivier267 common syncfs sys_syncfs 318*f5afe739SLaurent Vivier268 common setns sys_setns 319*f5afe739SLaurent Vivier269 common sendmmsg sys_sendmmsg compat_sys_sendmmsg 320*f5afe739SLaurent Vivier270 common process_vm_readv sys_process_vm_readv 321*f5afe739SLaurent Vivier271 common process_vm_writev sys_process_vm_writev 322*f5afe739SLaurent Vivier272 common kcmp sys_kcmp 323*f5afe739SLaurent Vivier273 common finit_module sys_finit_module 324*f5afe739SLaurent Vivier274 common sched_setattr sys_sched_setattr 325*f5afe739SLaurent Vivier275 common sched_getattr sys_sched_getattr 326*f5afe739SLaurent Vivier276 common renameat2 sys_renameat2 327*f5afe739SLaurent Vivier277 common seccomp sys_seccomp 328*f5afe739SLaurent Vivier278 common getrandom sys_getrandom 329*f5afe739SLaurent Vivier279 common memfd_create sys_memfd_create 330*f5afe739SLaurent Vivier280 common bpf sys_bpf 331*f5afe739SLaurent Vivier281 common execveat sys_execveat compat_sys_execveat 332*f5afe739SLaurent Vivier282 common userfaultfd sys_userfaultfd 333*f5afe739SLaurent Vivier283 common membarrier sys_membarrier 334*f5afe739SLaurent Vivier284 common mlock2 sys_mlock2 335*f5afe739SLaurent Vivier285 common copy_file_range sys_copy_file_range 336*f5afe739SLaurent Vivier286 common preadv2 sys_preadv2 compat_sys_preadv2 337*f5afe739SLaurent Vivier287 common pwritev2 sys_pwritev2 compat_sys_pwritev2 338*f5afe739SLaurent Vivier288 common pkey_mprotect sys_pkey_mprotect 339*f5afe739SLaurent Vivier289 common pkey_alloc sys_pkey_alloc 340*f5afe739SLaurent Vivier290 common pkey_free sys_pkey_free 341*f5afe739SLaurent Vivier291 common statx sys_statx 342*f5afe739SLaurent Vivier292 time32 io_pgetevents sys_io_pgetevents_time32 compat_sys_io_pgetevents 343*f5afe739SLaurent Vivier292 64 io_pgetevents sys_io_pgetevents 344*f5afe739SLaurent Vivier293 common rseq sys_rseq 345*f5afe739SLaurent Vivier294 common kexec_file_load sys_kexec_file_load 346*f5afe739SLaurent Vivier# 295 through 402 are unassigned to sync up with generic numbers don't use 347*f5afe739SLaurent Vivier403 32 clock_gettime64 sys_clock_gettime 348*f5afe739SLaurent Vivier404 32 clock_settime64 sys_clock_settime 349*f5afe739SLaurent Vivier405 32 clock_adjtime64 sys_clock_adjtime 350*f5afe739SLaurent Vivier406 32 clock_getres_time64 sys_clock_getres 351*f5afe739SLaurent Vivier407 32 clock_nanosleep_time64 sys_clock_nanosleep 352*f5afe739SLaurent Vivier408 32 timer_gettime64 sys_timer_gettime 353*f5afe739SLaurent Vivier409 32 timer_settime64 sys_timer_settime 354*f5afe739SLaurent Vivier410 32 timerfd_gettime64 sys_timerfd_gettime 355*f5afe739SLaurent Vivier411 32 timerfd_settime64 sys_timerfd_settime 356*f5afe739SLaurent Vivier412 32 utimensat_time64 sys_utimensat 357*f5afe739SLaurent Vivier413 32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64 358*f5afe739SLaurent Vivier414 32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64 359*f5afe739SLaurent Vivier416 32 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64 360*f5afe739SLaurent Vivier417 32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64 361*f5afe739SLaurent Vivier418 32 mq_timedsend_time64 sys_mq_timedsend 362*f5afe739SLaurent Vivier419 32 mq_timedreceive_time64 sys_mq_timedreceive 363*f5afe739SLaurent Vivier420 32 semtimedop_time64 sys_semtimedop 364*f5afe739SLaurent Vivier421 32 rt_sigtimedwait_time64 sys_rt_sigtimedwait compat_sys_rt_sigtimedwait_time64 365*f5afe739SLaurent Vivier422 32 futex_time64 sys_futex 366*f5afe739SLaurent Vivier423 32 sched_rr_get_interval_time64 sys_sched_rr_get_interval 367*f5afe739SLaurent Vivier424 common pidfd_send_signal sys_pidfd_send_signal 368*f5afe739SLaurent Vivier425 common io_uring_setup sys_io_uring_setup 369*f5afe739SLaurent Vivier426 common io_uring_enter sys_io_uring_enter 370*f5afe739SLaurent Vivier427 common io_uring_register sys_io_uring_register 371*f5afe739SLaurent Vivier428 common open_tree sys_open_tree 372*f5afe739SLaurent Vivier429 common move_mount sys_move_mount 373*f5afe739SLaurent Vivier430 common fsopen sys_fsopen 374*f5afe739SLaurent Vivier431 common fsconfig sys_fsconfig 375*f5afe739SLaurent Vivier432 common fsmount sys_fsmount 376*f5afe739SLaurent Vivier433 common fspick sys_fspick 377*f5afe739SLaurent Vivier434 common pidfd_open sys_pidfd_open 378*f5afe739SLaurent Vivier435 common clone3 sys_clone3 379*f5afe739SLaurent Vivier436 common close_range sys_close_range 380*f5afe739SLaurent Vivier437 common openat2 sys_openat2 381*f5afe739SLaurent Vivier438 common pidfd_getfd sys_pidfd_getfd 382*f5afe739SLaurent Vivier439 common faccessat2 sys_faccessat2 383*f5afe739SLaurent Vivier440 common process_madvise sys_process_madvise 384*f5afe739SLaurent Vivier441 common epoll_pwait2 sys_epoll_pwait2 compat_sys_epoll_pwait2 385*f5afe739SLaurent Vivier442 common mount_setattr sys_mount_setattr 386*f5afe739SLaurent Vivier443 common quotactl_fd sys_quotactl_fd 387*f5afe739SLaurent Vivier444 common landlock_create_ruleset sys_landlock_create_ruleset 388*f5afe739SLaurent Vivier445 common landlock_add_rule sys_landlock_add_rule 389*f5afe739SLaurent Vivier446 common landlock_restrict_self sys_landlock_restrict_self 390*f5afe739SLaurent Vivier447 memfd_secret memfd_secret sys_memfd_secret 391*f5afe739SLaurent Vivier448 common process_mrelease sys_process_mrelease 392*f5afe739SLaurent Vivier449 common futex_waitv sys_futex_waitv 393*f5afe739SLaurent Vivier450 common set_mempolicy_home_node sys_set_mempolicy_home_node 394*f5afe739SLaurent Vivier451 common cachestat sys_cachestat 395*f5afe739SLaurent Vivier452 common fchmodat2 sys_fchmodat2 396*f5afe739SLaurent Vivier453 common map_shadow_stack sys_map_shadow_stack 397*f5afe739SLaurent Vivier454 common futex_wake sys_futex_wake 398*f5afe739SLaurent Vivier455 common futex_wait sys_futex_wait 399*f5afe739SLaurent Vivier456 common futex_requeue sys_futex_requeue 400*f5afe739SLaurent Vivier457 common statmount sys_statmount 401*f5afe739SLaurent Vivier458 common listmount sys_listmount 402*f5afe739SLaurent Vivier459 common lsm_get_self_attr sys_lsm_get_self_attr 403*f5afe739SLaurent Vivier460 common lsm_set_self_attr sys_lsm_set_self_attr 404*f5afe739SLaurent Vivier461 common lsm_list_modules sys_lsm_list_modules 405*f5afe739SLaurent Vivier462 common mseal sys_mseal 406