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