1 # SPDX-License-Identifier: GPL-2.0 WITH Linux- 2 # 3 # This file contains the system call numbers f 4 # more recently added architectures. 5 # 6 # As a basic principle, no duplication of func 7 # should be added, e.g. we don't use lseek whe 8 # is present. New architectures should use thi 9 # and implement the less feature-full calls in 10 # 11 0 common io_setup 12 1 common io_destroy 13 2 common io_submit 14 3 common io_cancel 15 4 time32 io_getevents 16 4 64 io_getevents 17 5 common setxattr 18 6 common lsetxattr 19 7 common fsetxattr 20 8 common getxattr 21 9 common lgetxattr 22 10 common fgetxattr 23 11 common listxattr 24 12 common llistxattr 25 13 common flistxattr 26 14 common removexattr 27 15 common lremovexattr 28 16 common fremovexattr 29 17 common getcwd 30 18 common lookup_dcookie 31 19 common eventfd2 32 20 common epoll_create1 33 21 common epoll_ctl 34 22 common epoll_pwait 35 23 common dup 36 24 common dup3 37 25 32 fcntl64 38 25 64 fcntl 39 26 common inotify_init1 40 27 common inotify_add_watch 41 28 common inotify_rm_watch 42 29 common ioctl 43 30 common ioprio_set 44 31 common ioprio_get 45 32 common flock 46 33 common mknodat 47 34 common mkdirat 48 35 common unlinkat 49 36 common symlinkat 50 37 common linkat 51 # renameat is superseded with flags by renamea 52 38 renameat renameat 53 39 common umount2 54 40 common mount 55 41 common pivot_root 56 42 common nfsservctl 57 43 32 statfs64 58 43 64 statfs 59 44 32 fstatfs64 60 44 64 fstatfs 61 45 32 truncate64 62 45 64 truncate 63 46 32 ftruncate64 64 46 64 ftruncate 65 47 common fallocate 66 48 common faccessat 67 49 common chdir 68 50 common fchdir 69 51 common chroot 70 52 common fchmod 71 53 common fchmodat 72 54 common fchownat 73 55 common fchown 74 56 common openat 75 57 common close 76 58 common vhangup 77 59 common pipe2 78 60 common quotactl 79 61 common getdents64 80 62 32 llseek 81 62 64 lseek 82 63 common read 83 64 common write 84 65 common readv 85 66 common writev 86 67 common pread64 87 68 common pwrite64 88 69 common preadv 89 70 common pwritev 90 71 32 sendfile64 91 71 64 sendfile 92 72 time32 pselect6 93 72 64 pselect6 94 73 time32 ppoll 95 73 64 ppoll 96 74 common signalfd4 97 75 common vmsplice 98 76 common splice 99 77 common tee 100 78 common readlinkat 101 79 stat64 fstatat64 102 79 64 newfstatat 103 80 stat64 fstat64 104 80 64 fstat 105 81 common sync 106 82 common fsync 107 83 common fdatasync 108 84 common sync_file_range 109 85 common timerfd_create 110 86 time32 timerfd_settime 111 86 64 timerfd_settime 112 87 time32 timerfd_gettime 113 87 64 timerfd_gettime 114 88 time32 utimensat 115 88 64 utimensat 116 89 common acct 117 90 common capget 118 91 common capset 119 92 common personality 120 93 common exit 121 94 common exit_group 122 95 common waitid 123 96 common set_tid_address 124 97 common unshare 125 98 time32 futex 126 98 64 futex 127 99 common set_robust_list 128 100 common get_robust_list 129 101 time32 nanosleep 130 101 64 nanosleep 131 102 common getitimer 132 103 common setitimer 133 104 common kexec_load 134 105 common init_module 135 106 common delete_module 136 107 common timer_create 137 108 time32 timer_gettime 138 108 64 timer_gettime 139 109 common timer_getoverrun 140 110 time32 timer_settime 141 110 64 timer_settime 142 111 common timer_delete 143 112 time32 clock_settime 144 112 64 clock_settime 145 113 time32 clock_gettime 146 113 64 clock_gettime 147 114 time32 clock_getres 148 114 64 clock_getres 149 115 time32 clock_nanosleep 150 115 64 clock_nanosleep 151 116 common syslog 152 117 common ptrace 153 118 common sched_setparam 154 119 common sched_setscheduler 155 120 common sched_getscheduler 156 121 common sched_getparam 157 122 common sched_setaffinity 158 123 common sched_getaffinity 159 124 common sched_yield 160 125 common sched_get_priority_max 161 126 common sched_get_priority_min 162 127 time32 sched_rr_get_interval 163 127 64 sched_rr_get_interval 164 128 common restart_syscall 165 129 common kill 166 130 common tkill 167 131 common tgkill 168 132 common sigaltstack 169 133 common rt_sigsuspend 170 134 common rt_sigaction 171 135 common rt_sigprocmask 172 136 common rt_sigpending 173 137 time32 rt_sigtimedwait 174 137 64 rt_sigtimedwait 175 138 common rt_sigqueueinfo 176 139 common rt_sigreturn 177 140 common setpriority 178 141 common getpriority 179 142 common reboot 180 143 common setregid 181 144 common setgid 182 145 common setreuid 183 146 common setuid 184 147 common setresuid 185 148 common getresuid 186 149 common setresgid 187 150 common getresgid 188 151 common setfsuid 189 152 common setfsgid 190 153 common times 191 154 common setpgid 192 155 common getpgid 193 156 common getsid 194 157 common setsid 195 158 common getgroups 196 159 common setgroups 197 160 common uname 198 161 common sethostname 199 162 common setdomainname 200 # getrlimit and setrlimit are superseded with 201 163 rlimit getrlimit 202 164 rlimit setrlimit 203 165 common getrusage 204 166 common umask 205 167 common prctl 206 168 common getcpu 207 169 time32 gettimeofday 208 169 64 gettimeofday 209 170 time32 settimeofday 210 170 64 settimeofday 211 171 time32 adjtimex 212 171 64 adjtimex 213 172 common getpid 214 173 common getppid 215 174 common getuid 216 175 common geteuid 217 176 common getgid 218 177 common getegid 219 178 common gettid 220 179 common sysinfo 221 180 common mq_open 222 181 common mq_unlink 223 182 time32 mq_timedsend 224 182 64 mq_timedsend 225 183 time32 mq_timedreceive 226 183 64 mq_timedreceive 227 184 common mq_notify 228 185 common mq_getsetattr 229 186 common msgget 230 187 common msgctl 231 188 common msgrcv 232 189 common msgsnd 233 190 common semget 234 191 common semctl 235 192 time32 semtimedop 236 192 64 semtimedop 237 193 common semop 238 194 common shmget 239 195 common shmctl 240 196 common shmat 241 197 common shmdt 242 198 common socket 243 199 common socketpair 244 200 common bind 245 201 common listen 246 202 common accept 247 203 common connect 248 204 common getsockname 249 205 common getpeername 250 206 common sendto 251 207 common recvfrom 252 208 common setsockopt 253 209 common getsockopt 254 210 common shutdown 255 211 common sendmsg 256 212 common recvmsg 257 213 common readahead 258 214 common brk 259 215 common munmap 260 216 common mremap 261 217 common add_key 262 218 common request_key 263 219 common keyctl 264 220 common clone 265 221 common execve 266 222 32 mmap2 267 222 64 mmap 268 223 32 fadvise64_64 269 223 64 fadvise64 270 224 common swapon 271 225 common swapoff 272 226 common mprotect 273 227 common msync 274 228 common mlock 275 229 common munlock 276 230 common mlockall 277 231 common munlockall 278 232 common mincore 279 233 common madvise 280 234 common remap_file_pages 281 235 common mbind 282 236 common get_mempolicy 283 237 common set_mempolicy 284 238 common migrate_pages 285 239 common move_pages 286 240 common rt_tgsigqueueinfo 287 241 common perf_event_open 288 242 common accept4 289 243 time32 recvmmsg 290 243 64 recvmmsg 291 # Architectures may provide up to 16 syscalls 292 244 arc cacheflush 293 245 arc arc_settls 294 246 arc arc_gettls 295 247 arc sysfs 296 248 arc arc_usr_cmpxchg 297 298 244 csky set_thread_area 299 245 csky cacheflush 300 301 244 nios2 cacheflush 302 303 244 or1k or1k_atomic 304 305 258 riscv riscv_hwprobe 306 259 riscv riscv_flush_icache 307 308 260 time32 wait4 309 260 64 wait4 310 261 common prlimit64 311 262 common fanotify_init 312 263 common fanotify_mark 313 264 common name_to_handle_at 314 265 common open_by_handle_at 315 266 time32 clock_adjtime 316 266 64 clock_adjtime 317 267 common syncfs 318 268 common setns 319 269 common sendmmsg 320 270 common process_vm_readv 321 271 common process_vm_writev 322 272 common kcmp 323 273 common finit_module 324 274 common sched_setattr 325 275 common sched_getattr 326 276 common renameat2 327 277 common seccomp 328 278 common getrandom 329 279 common memfd_create 330 280 common bpf 331 281 common execveat 332 282 common userfaultfd 333 283 common membarrier 334 284 common mlock2 335 285 common copy_file_range 336 286 common preadv2 337 287 common pwritev2 338 288 common pkey_mprotect 339 289 common pkey_alloc 340 290 common pkey_free 341 291 common statx 342 292 time32 io_pgetevents 343 292 64 io_pgetevents 344 293 common rseq 345 294 common kexec_file_load 346 # 295 through 402 are unassigned to sync up wi 347 403 32 clock_gettime64 348 404 32 clock_settime64 349 405 32 clock_adjtime64 350 406 32 clock_getres_time64 351 407 32 clock_nanosleep_time64 352 408 32 timer_gettime64 353 409 32 timer_settime64 354 410 32 timerfd_gettime64 355 411 32 timerfd_settime64 356 412 32 utimensat_time64 357 413 32 pselect6_time64 358 414 32 ppoll_time64 359 416 32 io_pgetevents_time64 360 417 32 recvmmsg_time64 361 418 32 mq_timedsend_time64 362 419 32 mq_timedreceive_time64 363 420 32 semtimedop_time64 364 421 32 rt_sigtimedwait_time64 365 422 32 futex_time64 366 423 32 sched_rr_get_interval_time64 367 424 common pidfd_send_signal 368 425 common io_uring_setup 369 426 common io_uring_enter 370 427 common io_uring_register 371 428 common open_tree 372 429 common move_mount 373 430 common fsopen 374 431 common fsconfig 375 432 common fsmount 376 433 common fspick 377 434 common pidfd_open 378 435 common clone3 379 436 common close_range 380 437 common openat2 381 438 common pidfd_getfd 382 439 common faccessat2 383 440 common process_madvise 384 441 common epoll_pwait2 385 442 common mount_setattr 386 443 common quotactl_fd 387 444 common landlock_create_ruleset 388 445 common landlock_add_rule 389 446 common landlock_restrict_self 390 447 memfd_secret memfd_secret 391 448 common process_mrelease 392 449 common futex_waitv 393 450 common set_mempolicy_home_node 394 451 common cachestat 395 452 common fchmodat2 396 453 common map_shadow_stack 397 454 common futex_wake 398 455 common futex_wait 399 456 common futex_requeue 400 457 common statmount 401 458 common listmount 402 459 common lsm_get_self_attr 403 460 common lsm_set_self_attr 404 461 common lsm_list_modules 405 462 common mseal
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.