1 # SPDX-License-Identifier: GPL-2.0 WITH Linux- 2 # 3 # system call numbers and entry vectors for mi 4 # 5 # The format is: 6 # <number> <abi> <name> <entry point> 7 # 8 # The <abi> is always "common" for this file 9 # 10 0 common restart_syscall 11 1 common exit 12 2 common fork 13 3 common read 14 4 common write 15 5 common open 16 6 common close 17 7 common waitpid 18 8 common creat 19 9 common link 20 10 common unlink 21 11 common execve 22 12 common chdir 23 13 common time 24 14 common mknod 25 15 common chmod 26 16 common lchown 27 17 common break 28 18 common oldstat 29 19 common lseek 30 20 common getpid 31 21 common mount 32 22 common umount 33 23 common setuid 34 24 common getuid 35 25 common stime 36 26 common ptrace 37 27 common alarm 38 28 common oldfstat 39 29 common pause 40 30 common utime 41 31 common stty 42 32 common gtty 43 33 common access 44 34 common nice 45 35 common ftime 46 36 common sync 47 37 common kill 48 38 common rename 49 39 common mkdir 50 40 common rmdir 51 41 common dup 52 42 common pipe 53 43 common times 54 44 common prof 55 45 common brk 56 46 common setgid 57 47 common getgid 58 48 common signal 59 49 common geteuid 60 50 common getegid 61 51 common acct 62 52 common umount2 63 53 common lock 64 54 common ioctl 65 55 common fcntl 66 56 common mpx 67 57 common setpgid 68 58 common ulimit 69 59 common oldolduname 70 60 common umask 71 61 common chroot 72 62 common ustat 73 63 common dup2 74 64 common getppid 75 65 common getpgrp 76 66 common setsid 77 67 common sigaction 78 68 common sgetmask 79 69 common ssetmask 80 70 common setreuid 81 71 common setregid 82 72 common sigsuspend 83 73 common sigpending 84 74 common sethostname 85 75 common setrlimit 86 76 common getrlimit 87 77 common getrusage 88 78 common gettimeofday 89 79 common settimeofday 90 80 common getgroups 91 81 common setgroups 92 82 common select 93 83 common symlink 94 84 common oldlstat 95 85 common readlink 96 86 common uselib 97 87 common swapon 98 88 common reboot 99 89 common readdir 100 90 common mmap 101 91 common munmap 102 92 common truncate 103 93 common ftruncate 104 94 common fchmod 105 95 common fchown 106 96 common getpriority 107 97 common setpriority 108 98 common profil 109 99 common statfs 110 100 common fstatfs 111 101 common ioperm 112 102 common socketcall 113 103 common syslog 114 104 common setitimer 115 105 common getitimer 116 106 common stat 117 107 common lstat 118 108 common fstat 119 109 common olduname 120 110 common iopl 121 111 common vhangup 122 112 common idle 123 113 common vm86old 124 114 common wait4 125 115 common swapoff 126 116 common sysinfo 127 117 common ipc 128 118 common fsync 129 119 common sigreturn 130 120 common clone 131 121 common setdomainname 132 122 common uname 133 123 common modify_ldt 134 124 common adjtimex 135 125 common mprotect 136 126 common sigprocmask 137 127 common create_module 138 128 common init_module 139 129 common delete_module 140 130 common get_kernel_syms 141 131 common quotactl 142 132 common getpgid 143 133 common fchdir 144 134 common bdflush 145 135 common sysfs 146 136 common personality 147 137 common afs_syscall 148 138 common setfsuid 149 139 common setfsgid 150 140 common _llseek 151 141 common getdents 152 142 common _newselect 153 143 common flock 154 144 common msync 155 145 common readv 156 146 common writev 157 147 common getsid 158 148 common fdatasync 159 149 common _sysctl 160 150 common mlock 161 151 common munlock 162 152 common mlockall 163 153 common munlockall 164 154 common sched_setparam 165 155 common sched_getparam 166 156 common sched_setscheduler 167 157 common sched_getscheduler 168 158 common sched_yield 169 159 common sched_get_priority_max 170 160 common sched_get_priority_min 171 161 common sched_rr_get_interval 172 162 common nanosleep 173 163 common mremap 174 164 common setresuid 175 165 common getresuid 176 166 common vm86 177 167 common query_module 178 168 common poll 179 169 common nfsservctl 180 170 common setresgid 181 171 common getresgid 182 172 common prctl 183 173 common rt_sigreturn 184 174 common rt_sigaction 185 175 common rt_sigprocmask 186 176 common rt_sigpending 187 177 common rt_sigtimedwait 188 178 common rt_sigqueueinfo 189 179 common rt_sigsuspend 190 180 common pread64 191 181 common pwrite64 192 182 common chown 193 183 common getcwd 194 184 common capget 195 185 common capset 196 186 common sigaltstack 197 187 common sendfile 198 188 common getpmsg 199 189 common putpmsg 200 190 common vfork 201 191 common ugetrlimit 202 192 common mmap2 203 193 common truncate64 204 194 common ftruncate64 205 195 common stat64 206 196 common lstat64 207 197 common fstat64 208 198 common lchown32 209 199 common getuid32 210 200 common getgid32 211 201 common geteuid32 212 202 common getegid32 213 203 common setreuid32 214 204 common setregid32 215 205 common getgroups32 216 206 common setgroups32 217 207 common fchown32 218 208 common setresuid32 219 209 common getresuid32 220 210 common setresgid32 221 211 common getresgid32 222 212 common chown32 223 213 common setuid32 224 214 common setgid32 225 215 common setfsuid32 226 216 common setfsgid32 227 217 common pivot_root 228 218 common mincore 229 219 common madvise 230 220 common getdents64 231 221 common fcntl64 232 # 222 is reserved for TUX 233 # 223 is unused 234 224 common gettid 235 225 common readahead 236 226 common setxattr 237 227 common lsetxattr 238 228 common fsetxattr 239 229 common getxattr 240 230 common lgetxattr 241 231 common fgetxattr 242 232 common listxattr 243 233 common llistxattr 244 234 common flistxattr 245 235 common removexattr 246 236 common lremovexattr 247 237 common fremovexattr 248 238 common tkill 249 239 common sendfile64 250 240 common futex 251 241 common sched_setaffinity 252 242 common sched_getaffinity 253 243 common set_thread_area 254 244 common get_thread_area 255 245 common io_setup 256 246 common io_destroy 257 247 common io_getevents 258 248 common io_submit 259 249 common io_cancel 260 250 common fadvise64 261 # 251 is available for reuse (was briefly sys_ 262 252 common exit_group 263 253 common lookup_dcookie 264 254 common epoll_create 265 255 common epoll_ctl 266 256 common epoll_wait 267 257 common remap_file_pages 268 258 common set_tid_address 269 259 common timer_create 270 260 common timer_settime 271 261 common timer_gettime 272 262 common timer_getoverrun 273 263 common timer_delete 274 264 common clock_settime 275 265 common clock_gettime 276 266 common clock_getres 277 267 common clock_nanosleep 278 268 common statfs64 279 269 common fstatfs64 280 270 common tgkill 281 271 common utimes 282 272 common fadvise64_64 283 273 common vserver 284 274 common mbind 285 275 common get_mempolicy 286 276 common set_mempolicy 287 277 common mq_open 288 278 common mq_unlink 289 279 common mq_timedsend 290 280 common mq_timedreceive 291 281 common mq_notify 292 282 common mq_getsetattr 293 283 common kexec_load 294 284 common waitid 295 # 285 was setaltroot 296 286 common add_key 297 287 common request_key 298 288 common keyctl 299 289 common ioprio_set 300 290 common ioprio_get 301 291 common inotify_init 302 292 common inotify_add_watch 303 293 common inotify_rm_watch 304 294 common migrate_pages 305 295 common openat 306 296 common mkdirat 307 297 common mknodat 308 298 common fchownat 309 299 common futimesat 310 300 common fstatat64 311 301 common unlinkat 312 302 common renameat 313 303 common linkat 314 304 common symlinkat 315 305 common readlinkat 316 306 common fchmodat 317 307 common faccessat 318 308 common pselect6 319 309 common ppoll 320 310 common unshare 321 311 common set_robust_list 322 312 common get_robust_list 323 313 common splice 324 314 common sync_file_range 325 315 common tee 326 316 common vmsplice 327 317 common move_pages 328 318 common getcpu 329 319 common epoll_pwait 330 320 common utimensat 331 321 common signalfd 332 322 common timerfd_create 333 323 common eventfd 334 324 common fallocate 335 325 common semtimedop 336 326 common timerfd_settime 337 327 common timerfd_gettime 338 328 common semctl 339 329 common semget 340 330 common semop 341 331 common msgctl 342 332 common msgget 343 333 common msgrcv 344 334 common msgsnd 345 335 common shmat 346 336 common shmctl 347 337 common shmdt 348 338 common shmget 349 339 common signalfd4 350 340 common eventfd2 351 341 common epoll_create1 352 342 common dup3 353 343 common pipe2 354 344 common inotify_init1 355 345 common socket 356 346 common socketpair 357 347 common bind 358 348 common listen 359 349 common accept 360 350 common connect 361 351 common getsockname 362 352 common getpeername 363 353 common sendto 364 354 common send 365 355 common recvfrom 366 356 common recv 367 357 common setsockopt 368 358 common getsockopt 369 359 common shutdown 370 360 common sendmsg 371 361 common recvmsg 372 362 common accept4 373 363 common preadv 374 364 common pwritev 375 365 common rt_tgsigqueueinfo 376 366 common perf_event_open 377 367 common recvmmsg 378 368 common fanotify_init 379 369 common fanotify_mark 380 370 common prlimit64 381 371 common name_to_handle_at 382 372 common open_by_handle_at 383 373 common clock_adjtime 384 374 common syncfs 385 375 common setns 386 376 common sendmmsg 387 377 common process_vm_readv 388 378 common process_vm_writev 389 379 common kcmp 390 380 common finit_module 391 381 common sched_setattr 392 382 common sched_getattr 393 383 common renameat2 394 384 common seccomp 395 385 common getrandom 396 386 common memfd_create 397 387 common bpf 398 388 common execveat 399 389 common userfaultfd 400 390 common membarrier 401 391 common mlock2 402 392 common copy_file_range 403 393 common preadv2 404 394 common pwritev2 405 395 common pkey_mprotect 406 396 common pkey_alloc 407 397 common pkey_free 408 398 common statx 409 399 common io_pgetevents 410 400 common rseq 411 # 401 and 402 are unused 412 403 common clock_gettime64 413 404 common clock_settime64 414 405 common clock_adjtime64 415 406 common clock_getres_time64 416 407 common clock_nanosleep_time64 417 408 common timer_gettime64 418 409 common timer_settime64 419 410 common timerfd_gettime64 420 411 common timerfd_settime64 421 412 common utimensat_time64 422 413 common pselect6_time64 423 414 common ppoll_time64 424 416 common io_pgetevents_time64 425 417 common recvmmsg_time64 426 418 common mq_timedsend_time64 427 419 common mq_timedreceive_time64 428 420 common semtimedop_time64 429 421 common rt_sigtimedwait_time64 430 422 common futex_time64 431 423 common sched_rr_get_interval_time64 432 424 common pidfd_send_signal 433 425 common io_uring_setup 434 426 common io_uring_enter 435 427 common io_uring_register 436 428 common open_tree 437 429 common move_mount 438 430 common fsopen 439 431 common fsconfig 440 432 common fsmount 441 433 common fspick 442 434 common pidfd_open 443 435 common clone3 444 436 common close_range 445 437 common openat2 446 438 common pidfd_getfd 447 439 common faccessat2 448 440 common process_madvise 449 441 common epoll_pwait2 450 442 common mount_setattr 451 443 common quotactl_fd 452 444 common landlock_create_ruleset 453 445 common landlock_add_rule 454 446 common landlock_restrict_self 455 # 447 reserved for memfd_secret 456 448 common process_mrelease 457 449 common futex_waitv 458 450 common set_mempolicy_home_node 459 451 common cachestat 460 452 common fchmodat2 461 453 common map_shadow_stack 462 454 common futex_wake 463 455 common futex_wait 464 456 common futex_requeue 465 457 common statmount 466 458 common listmount 467 459 common lsm_get_self_attr 468 460 common lsm_set_self_attr 469 461 common lsm_list_modules 470 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.