1 # SPDX-License-Identifier: GPL-2.0 WITH Linux- 2 # 3 # system call numbers and entry vectors for m6 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 chown 27 # 17 was 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 was stty 42 # 32 was gtty 43 33 common access 44 34 common nice 45 # 35 was 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 was 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 was lock 64 54 common ioctl 65 55 common fcntl 66 # 56 was mpx 67 57 common setpgid 68 # 58 was ulimit 69 # 59 was 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 was profil 109 99 common statfs 110 100 common fstatfs 111 # 101 was 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 was olduname 120 # 110 was iopl 121 111 common vhangup 122 # 112 was idle 123 # 113 was vm86 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 cacheflush 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 was 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 getpagesize 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 lchown 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 chown32 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 lchown32 223 213 common setuid32 224 214 common setgid32 225 215 common setfsuid32 226 216 common setfsgid32 227 217 common pivot_root 228 # 218 is reserved 229 # 219 is reserved 230 220 common getdents64 231 221 common gettid 232 222 common tkill 233 223 common setxattr 234 224 common lsetxattr 235 225 common fsetxattr 236 226 common getxattr 237 227 common lgetxattr 238 228 common fgetxattr 239 229 common listxattr 240 230 common llistxattr 241 231 common flistxattr 242 232 common removexattr 243 233 common lremovexattr 244 234 common fremovexattr 245 235 common futex 246 236 common sendfile64 247 237 common mincore 248 238 common madvise 249 239 common fcntl64 250 240 common readahead 251 241 common io_setup 252 242 common io_destroy 253 243 common io_getevents 254 244 common io_submit 255 245 common io_cancel 256 246 common fadvise64 257 247 common exit_group 258 248 common lookup_dcookie 259 249 common epoll_create 260 250 common epoll_ctl 261 251 common epoll_wait 262 252 common remap_file_pages 263 253 common set_tid_address 264 254 common timer_create 265 255 common timer_settime 266 256 common timer_gettime 267 257 common timer_getoverrun 268 258 common timer_delete 269 259 common clock_settime 270 260 common clock_gettime 271 261 common clock_getres 272 262 common clock_nanosleep 273 263 common statfs64 274 264 common fstatfs64 275 265 common tgkill 276 266 common utimes 277 267 common fadvise64_64 278 268 common mbind 279 269 common get_mempolicy 280 270 common set_mempolicy 281 271 common mq_open 282 272 common mq_unlink 283 273 common mq_timedsend 284 274 common mq_timedreceive 285 275 common mq_notify 286 276 common mq_getsetattr 287 277 common waitid 288 # 278 was vserver 289 279 common add_key 290 280 common request_key 291 281 common keyctl 292 282 common ioprio_set 293 283 common ioprio_get 294 284 common inotify_init 295 285 common inotify_add_watch 296 286 common inotify_rm_watch 297 287 common migrate_pages 298 288 common openat 299 289 common mkdirat 300 290 common mknodat 301 291 common fchownat 302 292 common futimesat 303 293 common fstatat64 304 294 common unlinkat 305 295 common renameat 306 296 common linkat 307 297 common symlinkat 308 298 common readlinkat 309 299 common fchmodat 310 300 common faccessat 311 301 common pselect6 312 302 common ppoll 313 303 common unshare 314 304 common set_robust_list 315 305 common get_robust_list 316 306 common splice 317 307 common sync_file_range 318 308 common tee 319 309 common vmsplice 320 310 common move_pages 321 311 common sched_setaffinity 322 312 common sched_getaffinity 323 313 common kexec_load 324 314 common getcpu 325 315 common epoll_pwait 326 316 common utimensat 327 317 common signalfd 328 318 common timerfd_create 329 319 common eventfd 330 320 common fallocate 331 321 common timerfd_settime 332 322 common timerfd_gettime 333 323 common signalfd4 334 324 common eventfd2 335 325 common epoll_create1 336 326 common dup3 337 327 common pipe2 338 328 common inotify_init1 339 329 common preadv 340 330 common pwritev 341 331 common rt_tgsigqueueinfo 342 332 common perf_event_open 343 333 common get_thread_area 344 334 common set_thread_area 345 335 common atomic_cmpxchg_32 346 336 common atomic_barrier 347 337 common fanotify_init 348 338 common fanotify_mark 349 339 common prlimit64 350 340 common name_to_handle_at 351 341 common open_by_handle_at 352 342 common clock_adjtime 353 343 common syncfs 354 344 common setns 355 345 common process_vm_readv 356 346 common process_vm_writev 357 347 common kcmp 358 348 common finit_module 359 349 common sched_setattr 360 350 common sched_getattr 361 351 common renameat2 362 352 common getrandom 363 353 common memfd_create 364 354 common bpf 365 355 common execveat 366 356 common socket 367 357 common socketpair 368 358 common bind 369 359 common connect 370 360 common listen 371 361 common accept4 372 362 common getsockopt 373 363 common setsockopt 374 364 common getsockname 375 365 common getpeername 376 366 common sendto 377 367 common sendmsg 378 368 common recvfrom 379 369 common recvmsg 380 370 common shutdown 381 371 common recvmmsg 382 372 common sendmmsg 383 373 common userfaultfd 384 374 common membarrier 385 375 common mlock2 386 376 common copy_file_range 387 377 common preadv2 388 378 common pwritev2 389 379 common statx 390 380 common seccomp 391 381 common pkey_mprotect 392 382 common pkey_alloc 393 383 common pkey_free 394 384 common rseq 395 # room for arch specific calls 396 393 common semget 397 394 common semctl 398 395 common shmget 399 396 common shmctl 400 397 common shmat 401 398 common shmdt 402 399 common msgget 403 400 common msgsnd 404 401 common msgrcv 405 402 common msgctl 406 403 common clock_gettime64 407 404 common clock_settime64 408 405 common clock_adjtime64 409 406 common clock_getres_time64 410 407 common clock_nanosleep_time64 411 408 common timer_gettime64 412 409 common timer_settime64 413 410 common timerfd_gettime64 414 411 common timerfd_settime64 415 412 common utimensat_time64 416 413 common pselect6_time64 417 414 common ppoll_time64 418 416 common io_pgetevents_time64 419 417 common recvmmsg_time64 420 418 common mq_timedsend_time64 421 419 common mq_timedreceive_time64 422 420 common semtimedop_time64 423 421 common rt_sigtimedwait_time64 424 422 common futex_time64 425 423 common sched_rr_get_interval_time64 426 424 common pidfd_send_signal 427 425 common io_uring_setup 428 426 common io_uring_enter 429 427 common io_uring_register 430 428 common open_tree 431 429 common move_mount 432 430 common fsopen 433 431 common fsconfig 434 432 common fsmount 435 433 common fspick 436 434 common pidfd_open 437 435 common clone3 438 436 common close_range 439 437 common openat2 440 438 common pidfd_getfd 441 439 common faccessat2 442 440 common process_madvise 443 441 common epoll_pwait2 444 442 common mount_setattr 445 443 common quotactl_fd 446 444 common landlock_create_ruleset 447 445 common landlock_add_rule 448 446 common landlock_restrict_self 449 # 447 reserved for memfd_secret 450 448 common process_mrelease 451 449 common futex_waitv 452 450 common set_mempolicy_home_node 453 451 common cachestat 454 452 common fchmodat2 455 453 common map_shadow_stack 456 454 common futex_wake 457 455 common futex_wait 458 456 common futex_requeue 459 457 common statmount 460 458 common listmount 461 459 common lsm_get_self_attr 462 460 common lsm_set_self_attr 463 461 common lsm_list_modules 464 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.