1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 2# 3# system call numbers and entry vectors for sparc 4# 5# The format is: 6# <number> <abi> <name> <entry point> <compat entry point> 7# 8# The <abi> can be common, 64, or 32 for this file. 9# 100 common restart_syscall sys_restart_syscall 111 32 exit sys_exit sparc_exit 121 64 exit sparc_exit 132 common fork sys_fork 143 common read sys_read 154 common write sys_write 165 common open sys_open compat_sys_open 176 common close sys_close 187 common wait4 sys_wait4 compat_sys_wait4 198 common creat sys_creat 209 common link sys_link 2110 common unlink sys_unlink 2211 32 execv sunos_execv 2311 64 execv sys_nis_syscall 2412 common chdir sys_chdir 2513 32 chown sys_chown16 2613 64 chown sys_chown 2714 common mknod sys_mknod 2815 common chmod sys_chmod 2916 32 lchown sys_lchown16 3016 64 lchown sys_lchown 3117 common brk sys_brk 3218 common perfctr sys_nis_syscall 3319 common lseek sys_lseek compat_sys_lseek 3420 common getpid sys_getpid 3521 common capget sys_capget 3622 common capset sys_capset 3723 32 setuid sys_setuid16 3823 64 setuid sys_setuid 3924 32 getuid sys_getuid16 4024 64 getuid sys_getuid 4125 common vmsplice sys_vmsplice compat_sys_vmsplice 4226 common ptrace sys_ptrace compat_sys_ptrace 4327 common alarm sys_alarm 4428 common sigaltstack sys_sigaltstack compat_sys_sigaltstack 4529 32 pause sys_pause 4629 64 pause sys_nis_syscall 4730 32 utime sys_utime32 4830 64 utime sys_utime 4931 32 lchown32 sys_lchown 5032 32 fchown32 sys_fchown 5133 common access sys_access 5234 common nice sys_nice 5335 32 chown32 sys_chown 5436 common sync sys_sync 5537 common kill sys_kill 5638 common stat sys_newstat compat_sys_newstat 5739 32 sendfile sys_sendfile compat_sys_sendfile 5839 64 sendfile sys_sendfile64 5940 common lstat sys_newlstat compat_sys_newlstat 6041 common dup sys_dup 6142 common pipe sys_sparc_pipe 6243 common times sys_times compat_sys_times 6344 32 getuid32 sys_getuid 6445 common umount2 sys_umount 6546 32 setgid sys_setgid16 6646 64 setgid sys_setgid 6747 32 getgid sys_getgid16 6847 64 getgid sys_getgid 6948 common signal sys_signal 7049 32 geteuid sys_geteuid16 7149 64 geteuid sys_geteuid 7250 32 getegid sys_getegid16 7350 64 getegid sys_getegid 7451 common acct sys_acct 7552 64 memory_ordering sys_memory_ordering 7653 32 getgid32 sys_getgid 7754 common ioctl sys_ioctl compat_sys_ioctl 7855 common reboot sys_reboot 7956 32 mmap2 sys_mmap2 sys32_mmap2 8057 common symlink sys_symlink 8158 common readlink sys_readlink 8259 32 execve sys_execve sys32_execve 8359 64 execve sys64_execve 8460 common umask sys_umask 8561 common chroot sys_chroot 8662 common fstat sys_newfstat compat_sys_newfstat 8763 common fstat64 sys_fstat64 compat_sys_fstat64 8864 common getpagesize sys_getpagesize 8965 common msync sys_msync 9066 common vfork sys_vfork 9167 common pread64 sys_pread64 compat_sys_pread64 9268 common pwrite64 sys_pwrite64 compat_sys_pwrite64 9369 32 geteuid32 sys_geteuid 9470 32 getegid32 sys_getegid 9571 common mmap sys_mmap 9672 32 setreuid32 sys_setreuid 9773 32 munmap sys_munmap 9873 64 munmap sys_64_munmap 9974 common mprotect sys_mprotect 10075 common madvise sys_madvise 10176 common vhangup sys_vhangup 10277 32 truncate64 sys_truncate64 compat_sys_truncate64 10378 common mincore sys_mincore 10479 32 getgroups sys_getgroups16 10579 64 getgroups sys_getgroups 10680 32 setgroups sys_setgroups16 10780 64 setgroups sys_setgroups 10881 common getpgrp sys_getpgrp 10982 32 setgroups32 sys_setgroups 11083 common setitimer sys_setitimer compat_sys_setitimer 11184 32 ftruncate64 sys_ftruncate64 compat_sys_ftruncate64 11285 common swapon sys_swapon 11386 common getitimer sys_getitimer compat_sys_getitimer 11487 32 setuid32 sys_setuid 11588 common sethostname sys_sethostname 11689 32 setgid32 sys_setgid 11790 common dup2 sys_dup2 11891 32 setfsuid32 sys_setfsuid 11992 common fcntl sys_fcntl compat_sys_fcntl 12093 common select sys_select 12194 32 setfsgid32 sys_setfsgid 12295 common fsync sys_fsync 12396 common setpriority sys_setpriority 12497 common socket sys_socket 12598 common connect sys_connect 12699 common accept sys_accept 127100 common getpriority sys_getpriority 128101 common rt_sigreturn sys_rt_sigreturn sys32_rt_sigreturn 129102 common rt_sigaction sys_rt_sigaction compat_sys_rt_sigaction 130103 common rt_sigprocmask sys_rt_sigprocmask compat_sys_rt_sigprocmask 131104 common rt_sigpending sys_rt_sigpending compat_sys_rt_sigpending 132105 32 rt_sigtimedwait sys_rt_sigtimedwait_time32 compat_sys_rt_sigtimedwait_time32 133105 64 rt_sigtimedwait sys_rt_sigtimedwait 134106 common rt_sigqueueinfo sys_rt_sigqueueinfo compat_sys_rt_sigqueueinfo 135107 common rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend 136108 32 setresuid32 sys_setresuid 137108 64 setresuid sys_setresuid 138109 32 getresuid32 sys_getresuid 139109 64 getresuid sys_getresuid 140110 32 setresgid32 sys_setresgid 141110 64 setresgid sys_setresgid 142111 32 getresgid32 sys_getresgid 143111 64 getresgid sys_getresgid 144112 32 setregid32 sys_setregid 145113 common recvmsg sys_recvmsg compat_sys_recvmsg 146114 common sendmsg sys_sendmsg compat_sys_sendmsg 147115 32 getgroups32 sys_getgroups 148116 common gettimeofday sys_gettimeofday compat_sys_gettimeofday 149117 common getrusage sys_getrusage compat_sys_getrusage 150118 common getsockopt sys_getsockopt compat_sys_getsockopt 151119 common getcwd sys_getcwd 152120 common readv sys_readv compat_sys_readv 153121 common writev sys_writev compat_sys_writev 154122 common settimeofday sys_settimeofday compat_sys_settimeofday 155123 32 fchown sys_fchown16 156123 64 fchown sys_fchown 157124 common fchmod sys_fchmod 158125 common recvfrom sys_recvfrom 159126 32 setreuid sys_setreuid16 160126 64 setreuid sys_setreuid 161127 32 setregid sys_setregid16 162127 64 setregid sys_setregid 163128 common rename sys_rename 164129 common truncate sys_truncate compat_sys_truncate 165130 common ftruncate sys_ftruncate compat_sys_ftruncate 166131 common flock sys_flock 167132 common lstat64 sys_lstat64 compat_sys_lstat64 168133 common sendto sys_sendto 169134 common shutdown sys_shutdown 170135 common socketpair sys_socketpair 171136 common mkdir sys_mkdir 172137 common rmdir sys_rmdir 173138 32 utimes sys_utimes_time32 174138 64 utimes sys_utimes 175139 common stat64 sys_stat64 compat_sys_stat64 176140 common sendfile64 sys_sendfile64 177141 common getpeername sys_getpeername 178142 32 futex sys_futex_time32 179142 64 futex sys_futex 180143 common gettid sys_gettid 181144 common getrlimit sys_getrlimit compat_sys_getrlimit 182145 common setrlimit sys_setrlimit compat_sys_setrlimit 183146 common pivot_root sys_pivot_root 184147 common prctl sys_prctl 185148 common pciconfig_read sys_pciconfig_read 186149 common pciconfig_write sys_pciconfig_write 187150 common getsockname sys_getsockname 188151 common inotify_init sys_inotify_init 189152 common inotify_add_watch sys_inotify_add_watch 190153 common poll sys_poll 191154 common getdents64 sys_getdents64 192155 32 fcntl64 sys_fcntl64 compat_sys_fcntl64 193156 common inotify_rm_watch sys_inotify_rm_watch 194157 common statfs sys_statfs compat_sys_statfs 195158 common fstatfs sys_fstatfs compat_sys_fstatfs 196159 common umount sys_oldumount 197160 common sched_set_affinity sys_sched_setaffinity compat_sys_sched_setaffinity 198161 common sched_get_affinity sys_sched_getaffinity compat_sys_sched_getaffinity 199162 common getdomainname sys_getdomainname 200163 common setdomainname sys_setdomainname 201164 64 utrap_install sys_utrap_install 202165 common quotactl sys_quotactl 203166 common set_tid_address sys_set_tid_address 204167 common mount sys_mount compat_sys_mount 205168 common ustat sys_ustat compat_sys_ustat 206169 common setxattr sys_setxattr 207170 common lsetxattr sys_lsetxattr 208171 common fsetxattr sys_fsetxattr 209172 common getxattr sys_getxattr 210173 common lgetxattr sys_lgetxattr 211174 common getdents sys_getdents compat_sys_getdents 212175 common setsid sys_setsid 213176 common fchdir sys_fchdir 214177 common fgetxattr sys_fgetxattr 215178 common listxattr sys_listxattr 216179 common llistxattr sys_llistxattr 217180 common flistxattr sys_flistxattr 218181 common removexattr sys_removexattr 219182 common lremovexattr sys_lremovexattr 220183 32 sigpending sys_sigpending compat_sys_sigpending 221183 64 sigpending sys_nis_syscall 222184 common query_module sys_ni_syscall 223185 common setpgid sys_setpgid 224186 common fremovexattr sys_fremovexattr 225187 common tkill sys_tkill 226188 32 exit_group sys_exit_group sparc_exit_group 227188 64 exit_group sparc_exit_group 228189 common uname sys_newuname 229190 common init_module sys_init_module 230191 32 personality sys_personality sys_sparc64_personality 231191 64 personality sys_sparc64_personality 232192 32 remap_file_pages sys_sparc_remap_file_pages sys_remap_file_pages 233192 64 remap_file_pages sys_remap_file_pages 234193 common epoll_create sys_epoll_create 235194 common epoll_ctl sys_epoll_ctl 236195 common epoll_wait sys_epoll_wait 237196 common ioprio_set sys_ioprio_set 238197 common getppid sys_getppid 239198 32 sigaction sys_sparc_sigaction compat_sys_sparc_sigaction 240198 64 sigaction sys_nis_syscall 241199 common sgetmask sys_sgetmask 242200 common ssetmask sys_ssetmask 243201 32 sigsuspend sys_sigsuspend 244201 64 sigsuspend sys_nis_syscall 245202 common oldlstat sys_newlstat compat_sys_newlstat 246203 common uselib sys_uselib 247204 32 readdir sys_old_readdir compat_sys_old_readdir 248204 64 readdir sys_nis_syscall 249205 common readahead sys_readahead compat_sys_readahead 250206 common socketcall sys_socketcall sys32_socketcall 251207 common syslog sys_syslog 252208 common lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 253209 common fadvise64 sys_fadvise64 compat_sys_fadvise64 254210 common fadvise64_64 sys_fadvise64_64 compat_sys_fadvise64_64 255211 common tgkill sys_tgkill 256212 common waitpid sys_waitpid 257213 common swapoff sys_swapoff 258214 common sysinfo sys_sysinfo compat_sys_sysinfo 259215 32 ipc sys_ipc compat_sys_ipc 260215 64 ipc sys_sparc_ipc 261216 32 sigreturn sys_sigreturn sys32_sigreturn 262216 64 sigreturn sys_nis_syscall 263217 common clone sys_clone 264218 common ioprio_get sys_ioprio_get 265219 32 adjtimex sys_adjtimex_time32 266219 64 adjtimex sys_sparc_adjtimex 267220 32 sigprocmask sys_sigprocmask compat_sys_sigprocmask 268220 64 sigprocmask sys_nis_syscall 269221 common create_module sys_ni_syscall 270222 common delete_module sys_delete_module 271223 common get_kernel_syms sys_ni_syscall 272224 common getpgid sys_getpgid 273225 common bdflush sys_bdflush 274226 common sysfs sys_sysfs 275227 common afs_syscall sys_nis_syscall 276228 common setfsuid sys_setfsuid16 277229 common setfsgid sys_setfsgid16 278230 common _newselect sys_select compat_sys_select 279231 32 time sys_time32 280232 common splice sys_splice 281233 32 stime sys_stime32 282233 64 stime sys_stime 283234 common statfs64 sys_statfs64 compat_sys_statfs64 284235 common fstatfs64 sys_fstatfs64 compat_sys_fstatfs64 285236 common _llseek sys_llseek 286237 common mlock sys_mlock 287238 common munlock sys_munlock 288239 common mlockall sys_mlockall 289240 common munlockall sys_munlockall 290241 common sched_setparam sys_sched_setparam 291242 common sched_getparam sys_sched_getparam 292243 common sched_setscheduler sys_sched_setscheduler 293244 common sched_getscheduler sys_sched_getscheduler 294245 common sched_yield sys_sched_yield 295246 common sched_get_priority_max sys_sched_get_priority_max 296247 common sched_get_priority_min sys_sched_get_priority_min 297248 32 sched_rr_get_interval sys_sched_rr_get_interval_time32 298248 64 sched_rr_get_interval sys_sched_rr_get_interval 299249 32 nanosleep sys_nanosleep_time32 300249 64 nanosleep sys_nanosleep 301250 32 mremap sys_mremap 302250 64 mremap sys_64_mremap 303251 common _sysctl sys_sysctl compat_sys_sysctl 304252 common getsid sys_getsid 305253 common fdatasync sys_fdatasync 306254 32 nfsservctl sys_ni_syscall sys_nis_syscall 307254 64 nfsservctl sys_nis_syscall 308255 common sync_file_range sys_sync_file_range compat_sys_sync_file_range 309256 32 clock_settime sys_clock_settime32 310256 64 clock_settime sys_clock_settime 311257 32 clock_gettime sys_clock_gettime32 312257 64 clock_gettime sys_clock_gettime 313258 32 clock_getres sys_clock_getres_time32 314258 64 clock_getres sys_clock_getres 315259 32 clock_nanosleep sys_clock_nanosleep_time32 316259 64 clock_nanosleep sys_clock_nanosleep 317260 common sched_getaffinity sys_sched_getaffinity compat_sys_sched_getaffinity 318261 common sched_setaffinity sys_sched_setaffinity compat_sys_sched_setaffinity 319262 32 timer_settime sys_timer_settime32 320262 64 timer_settime sys_timer_settime 321263 32 timer_gettime sys_timer_gettime32 322263 64 timer_gettime sys_timer_gettime 323264 common timer_getoverrun sys_timer_getoverrun 324265 common timer_delete sys_timer_delete 325266 common timer_create sys_timer_create compat_sys_timer_create 326# 267 was vserver 327267 common vserver sys_nis_syscall 328268 common io_setup sys_io_setup compat_sys_io_setup 329269 common io_destroy sys_io_destroy 330270 common io_submit sys_io_submit compat_sys_io_submit 331271 common io_cancel sys_io_cancel 332272 32 io_getevents sys_io_getevents_time32 333272 64 io_getevents sys_io_getevents 334273 common mq_open sys_mq_open compat_sys_mq_open 335274 common mq_unlink sys_mq_unlink 336275 32 mq_timedsend sys_mq_timedsend_time32 337275 64 mq_timedsend sys_mq_timedsend 338276 32 mq_timedreceive sys_mq_timedreceive_time32 339276 64 mq_timedreceive sys_mq_timedreceive 340277 common mq_notify sys_mq_notify compat_sys_mq_notify 341278 common mq_getsetattr sys_mq_getsetattr compat_sys_mq_getsetattr 342279 common waitid sys_waitid compat_sys_waitid 343280 common tee sys_tee 344281 common add_key sys_add_key 345282 common request_key sys_request_key 346283 common keyctl sys_keyctl compat_sys_keyctl 347284 common openat sys_openat compat_sys_openat 348285 common mkdirat sys_mkdirat 349286 common mknodat sys_mknodat 350287 common fchownat sys_fchownat 351288 32 futimesat sys_futimesat_time32 352288 64 futimesat sys_futimesat 353289 common fstatat64 sys_fstatat64 compat_sys_fstatat64 354290 common unlinkat sys_unlinkat 355291 common renameat sys_renameat 356292 common linkat sys_linkat 357293 common symlinkat sys_symlinkat 358294 common readlinkat sys_readlinkat 359295 common fchmodat sys_fchmodat 360296 common faccessat sys_faccessat 361297 32 pselect6 sys_pselect6_time32 compat_sys_pselect6_time32 362297 64 pselect6 sys_pselect6 363298 32 ppoll sys_ppoll_time32 compat_sys_ppoll_time32 364298 64 ppoll sys_ppoll 365299 common unshare sys_unshare 366300 common set_robust_list sys_set_robust_list compat_sys_set_robust_list 367301 common get_robust_list sys_get_robust_list compat_sys_get_robust_list 368302 common migrate_pages sys_migrate_pages compat_sys_migrate_pages 369303 common mbind sys_mbind compat_sys_mbind 370304 common get_mempolicy sys_get_mempolicy compat_sys_get_mempolicy 371305 common set_mempolicy sys_set_mempolicy compat_sys_set_mempolicy 372306 common kexec_load sys_kexec_load compat_sys_kexec_load 373307 common move_pages sys_move_pages compat_sys_move_pages 374308 common getcpu sys_getcpu 375309 common epoll_pwait sys_epoll_pwait compat_sys_epoll_pwait 376310 32 utimensat sys_utimensat_time32 377310 64 utimensat sys_utimensat 378311 common signalfd sys_signalfd compat_sys_signalfd 379312 common timerfd_create sys_timerfd_create 380313 common eventfd sys_eventfd 381314 common fallocate sys_fallocate compat_sys_fallocate 382315 32 timerfd_settime sys_timerfd_settime32 383315 64 timerfd_settime sys_timerfd_settime 384316 32 timerfd_gettime sys_timerfd_gettime32 385316 64 timerfd_gettime sys_timerfd_gettime 386317 common signalfd4 sys_signalfd4 compat_sys_signalfd4 387318 common eventfd2 sys_eventfd2 388319 common epoll_create1 sys_epoll_create1 389320 common dup3 sys_dup3 390321 common pipe2 sys_pipe2 391322 common inotify_init1 sys_inotify_init1 392323 common accept4 sys_accept4 393324 common preadv sys_preadv compat_sys_preadv 394325 common pwritev sys_pwritev compat_sys_pwritev 395326 common rt_tgsigqueueinfo sys_rt_tgsigqueueinfo compat_sys_rt_tgsigqueueinfo 396327 common perf_event_open sys_perf_event_open 397328 32 recvmmsg sys_recvmmsg_time32 compat_sys_recvmmsg_time32 398328 64 recvmmsg sys_recvmmsg 399329 common fanotify_init sys_fanotify_init 400330 common fanotify_mark sys_fanotify_mark compat_sys_fanotify_mark 401331 common prlimit64 sys_prlimit64 402332 common name_to_handle_at sys_name_to_handle_at 403333 common open_by_handle_at sys_open_by_handle_at compat_sys_open_by_handle_at 404334 32 clock_adjtime sys_clock_adjtime32 405334 64 clock_adjtime sys_sparc_clock_adjtime 406335 common syncfs sys_syncfs 407336 common sendmmsg sys_sendmmsg compat_sys_sendmmsg 408337 common setns sys_setns 409338 common process_vm_readv sys_process_vm_readv compat_sys_process_vm_readv 410339 common process_vm_writev sys_process_vm_writev compat_sys_process_vm_writev 411340 32 kern_features sys_ni_syscall sys_kern_features 412340 64 kern_features sys_kern_features 413341 common kcmp sys_kcmp 414342 common finit_module sys_finit_module 415343 common sched_setattr sys_sched_setattr 416344 common sched_getattr sys_sched_getattr 417345 common renameat2 sys_renameat2 418346 common seccomp sys_seccomp 419347 common getrandom sys_getrandom 420348 common memfd_create sys_memfd_create 421349 common bpf sys_bpf 422350 32 execveat sys_execveat sys32_execveat 423350 64 execveat sys64_execveat 424351 common membarrier sys_membarrier 425352 common userfaultfd sys_userfaultfd 426353 common bind sys_bind 427354 common listen sys_listen 428355 common setsockopt sys_setsockopt compat_sys_setsockopt 429356 common mlock2 sys_mlock2 430357 common copy_file_range sys_copy_file_range 431358 common preadv2 sys_preadv2 compat_sys_preadv2 432359 common pwritev2 sys_pwritev2 compat_sys_pwritev2 433360 common statx sys_statx 434361 32 io_pgetevents sys_io_pgetevents_time32 compat_sys_io_pgetevents 435361 64 io_pgetevents sys_io_pgetevents 436362 common pkey_mprotect sys_pkey_mprotect 437363 common pkey_alloc sys_pkey_alloc 438364 common pkey_free sys_pkey_free 439365 common rseq sys_rseq 440# room for arch specific syscalls 441392 64 semtimedop sys_semtimedop 442393 common semget sys_semget 443394 common semctl sys_semctl compat_sys_semctl 444395 common shmget sys_shmget 445396 common shmctl sys_shmctl compat_sys_shmctl 446397 common shmat sys_shmat compat_sys_shmat 447398 common shmdt sys_shmdt 448399 common msgget sys_msgget 449400 common msgsnd sys_msgsnd compat_sys_msgsnd 450401 common msgrcv sys_msgrcv compat_sys_msgrcv 451402 common msgctl sys_msgctl compat_sys_msgctl 452403 32 clock_gettime64 sys_clock_gettime sys_clock_gettime 453404 32 clock_settime64 sys_clock_settime sys_clock_settime 454405 32 clock_adjtime64 sys_clock_adjtime sys_clock_adjtime 455406 32 clock_getres_time64 sys_clock_getres sys_clock_getres 456407 32 clock_nanosleep_time64 sys_clock_nanosleep sys_clock_nanosleep 457408 32 timer_gettime64 sys_timer_gettime sys_timer_gettime 458409 32 timer_settime64 sys_timer_settime sys_timer_settime 459410 32 timerfd_gettime64 sys_timerfd_gettime sys_timerfd_gettime 460411 32 timerfd_settime64 sys_timerfd_settime sys_timerfd_settime 461412 32 utimensat_time64 sys_utimensat sys_utimensat 462413 32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64 463414 32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64 464416 32 io_pgetevents_time64 sys_io_pgetevents sys_io_pgetevents 465417 32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64 466418 32 mq_timedsend_time64 sys_mq_timedsend sys_mq_timedsend 467419 32 mq_timedreceive_time64 sys_mq_timedreceive sys_mq_timedreceive 468420 32 semtimedop_time64 sys_semtimedop sys_semtimedop 469421 32 rt_sigtimedwait_time64 sys_rt_sigtimedwait compat_sys_rt_sigtimedwait_time64 470422 32 futex_time64 sys_futex sys_futex 471423 32 sched_rr_get_interval_time64 sys_sched_rr_get_interval sys_sched_rr_get_interval 472