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