1# List of all known Linux system calls. 2# Copyright (C) 2017-2021 Free Software Foundation, Inc. 3# This file is part of the GNU C Library. 4# 5# The GNU C Library is free software; you can redistribute it and/or 6# modify it under the terms of the GNU Lesser General Public 7# License as published by the Free Software Foundation; either 8# version 2.1 of the License, or (at your option) any later version. 9# 10# The GNU C Library is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13# Lesser General Public License for more details. 14# 15# You should have received a copy of the GNU Lesser General Public 16# License along with the GNU C Library; if not, see 17# <https://www.gnu.org/licenses/>. 18 19# This file contains the list of system call names. It has to remain in 20# alphabetical order. Lines which start with # are treated as comments. 21# This file can list all potential system calls. The names are only 22# used if the installed kernel headers also provide them. 23 24# The list of system calls is current as of Linux 5.15. 25kernel 5.15 26 27FAST_atomic_update 28FAST_cmpxchg 29FAST_cmpxchg64 30_llseek 31_newselect 32_sysctl 33accept 34accept4 35access 36acct 37acl_get 38acl_set 39add_key 40adjtimex 41afs_syscall 42alarm 43alloc_hugepages 44arc_gettls 45arc_settls 46arc_usr_cmpxchg 47arch_prctl 48arm_fadvise64_64 49arm_sync_file_range 50atomic_barrier 51atomic_cmpxchg_32 52attrctl 53bdflush 54bind 55bpf 56break 57breakpoint 58brk 59cachectl 60cacheflush 61capget 62capset 63chdir 64chmod 65chown 66chown32 67chroot 68clock_adjtime 69clock_adjtime64 70clock_getres 71clock_getres_time64 72clock_gettime 73clock_gettime64 74clock_nanosleep 75clock_nanosleep_time64 76clock_settime 77clock_settime64 78clone 79clone2 80clone3 81close 82close_range 83cmpxchg_badaddr 84connect 85copy_file_range 86creat 87create_module 88delete_module 89dipc 90dup 91dup2 92dup3 93epoll_create 94epoll_create1 95epoll_ctl 96epoll_ctl_old 97epoll_pwait 98epoll_pwait2 99epoll_wait 100epoll_wait_old 101eventfd 102eventfd2 103exec_with_loader 104execv 105execve 106execveat 107exit 108exit_group 109faccessat 110faccessat2 111fadvise64 112fadvise64_64 113fallocate 114fanotify_init 115fanotify_mark 116fchdir 117fchmod 118fchmodat 119fchown 120fchown32 121fchownat 122fcntl 123fcntl64 124fdatasync 125fgetxattr 126finit_module 127flistxattr 128flock 129fork 130fp_udfiex_crtl 131free_hugepages 132fremovexattr 133fsconfig 134fsetxattr 135fsmount 136fsopen 137fspick 138fstat 139fstat64 140fstatat64 141fstatfs 142fstatfs64 143fsync 144ftime 145ftruncate 146ftruncate64 147futex 148futex_time64 149futimesat 150get_kernel_syms 151get_mempolicy 152get_robust_list 153get_thread_area 154get_tls 155getcpu 156getcwd 157getdents 158getdents64 159getdomainname 160getdtablesize 161getegid 162getegid32 163geteuid 164geteuid32 165getgid 166getgid32 167getgroups 168getgroups32 169gethostname 170getitimer 171getpagesize 172getpeername 173getpgid 174getpgrp 175getpid 176getpmsg 177getppid 178getpriority 179getrandom 180getresgid 181getresgid32 182getresuid 183getresuid32 184getrlimit 185getrusage 186getsid 187getsockname 188getsockopt 189gettid 190gettimeofday 191getuid 192getuid32 193getunwind 194getxattr 195getxgid 196getxpid 197getxuid 198gtty 199idle 200init_module 201inotify_add_watch 202inotify_init 203inotify_init1 204inotify_rm_watch 205io_cancel 206io_destroy 207io_getevents 208io_pgetevents 209io_pgetevents_time64 210io_setup 211io_submit 212io_uring_enter 213io_uring_register 214io_uring_setup 215ioctl 216ioperm 217iopl 218ioprio_get 219ioprio_set 220ipc 221kcmp 222kern_features 223kexec_file_load 224kexec_load 225keyctl 226kill 227landlock_add_rule 228landlock_create_ruleset 229landlock_restrict_self 230lchown 231lchown32 232lgetxattr 233link 234linkat 235listen 236listxattr 237llistxattr 238llseek 239lock 240lookup_dcookie 241lremovexattr 242lseek 243lsetxattr 244lstat 245lstat64 246madvise 247mbind 248membarrier 249memfd_create 250memfd_secret 251memory_ordering 252migrate_pages 253mincore 254mkdir 255mkdirat 256mknod 257mknodat 258mlock 259mlock2 260mlockall 261mmap 262mmap2 263modify_ldt 264mount 265mount_setattr 266move_mount 267move_pages 268mprotect 269mpx 270mq_getsetattr 271mq_notify 272mq_open 273mq_timedreceive 274mq_timedreceive_time64 275mq_timedsend 276mq_timedsend_time64 277mq_unlink 278mremap 279msgctl 280msgget 281msgrcv 282msgsnd 283msync 284multiplexer 285munlock 286munlockall 287munmap 288name_to_handle_at 289nanosleep 290newfstatat 291nfsservctl 292ni_syscall 293nice 294old_adjtimex 295old_getpagesize 296oldfstat 297oldlstat 298oldolduname 299oldstat 300oldumount 301olduname 302open 303open_by_handle_at 304open_tree 305openat 306openat2 307osf_adjtime 308osf_afs_syscall 309osf_alt_plock 310osf_alt_setsid 311osf_alt_sigpending 312osf_asynch_daemon 313osf_audcntl 314osf_audgen 315osf_chflags 316osf_execve 317osf_exportfs 318osf_fchflags 319osf_fdatasync 320osf_fpathconf 321osf_fstat 322osf_fstatfs 323osf_fstatfs64 324osf_fuser 325osf_getaddressconf 326osf_getdirentries 327osf_getdomainname 328osf_getfh 329osf_getfsstat 330osf_gethostid 331osf_getitimer 332osf_getlogin 333osf_getmnt 334osf_getrusage 335osf_getsysinfo 336osf_gettimeofday 337osf_kloadcall 338osf_kmodcall 339osf_lstat 340osf_memcntl 341osf_mincore 342osf_mount 343osf_mremap 344osf_msfs_syscall 345osf_msleep 346osf_mvalid 347osf_mwakeup 348osf_naccept 349osf_nfssvc 350osf_ngetpeername 351osf_ngetsockname 352osf_nrecvfrom 353osf_nrecvmsg 354osf_nsendmsg 355osf_ntp_adjtime 356osf_ntp_gettime 357osf_old_creat 358osf_old_fstat 359osf_old_getpgrp 360osf_old_killpg 361osf_old_lstat 362osf_old_open 363osf_old_sigaction 364osf_old_sigblock 365osf_old_sigreturn 366osf_old_sigsetmask 367osf_old_sigvec 368osf_old_stat 369osf_old_vadvise 370osf_old_vtrace 371osf_old_wait 372osf_oldquota 373osf_pathconf 374osf_pid_block 375osf_pid_unblock 376osf_plock 377osf_priocntlset 378osf_profil 379osf_proplist_syscall 380osf_reboot 381osf_revoke 382osf_sbrk 383osf_security 384osf_select 385osf_set_program_attributes 386osf_set_speculative 387osf_sethostid 388osf_setitimer 389osf_setlogin 390osf_setsysinfo 391osf_settimeofday 392osf_shmat 393osf_signal 394osf_sigprocmask 395osf_sigsendset 396osf_sigstack 397osf_sigwaitprim 398osf_sstk 399osf_stat 400osf_statfs 401osf_statfs64 402osf_subsys_info 403osf_swapctl 404osf_swapon 405osf_syscall 406osf_sysinfo 407osf_table 408osf_uadmin 409osf_usleep_thread 410osf_uswitch 411osf_utc_adjtime 412osf_utc_gettime 413osf_utimes 414osf_utsname 415osf_wait4 416osf_waitid 417pause 418pciconfig_iobase 419pciconfig_read 420pciconfig_write 421perf_event_open 422perfctr 423perfmonctl 424personality 425pidfd_getfd 426pidfd_open 427pidfd_send_signal 428pipe 429pipe2 430pivot_root 431pkey_alloc 432pkey_free 433pkey_mprotect 434poll 435ppoll 436ppoll_time64 437prctl 438pread64 439preadv 440preadv2 441prlimit64 442process_madvise 443process_mrelease 444process_vm_readv 445process_vm_writev 446prof 447profil 448pselect6 449pselect6_time64 450ptrace 451putpmsg 452pwrite64 453pwritev 454pwritev2 455query_module 456quotactl 457quotactl_fd 458read 459readahead 460readdir 461readlink 462readlinkat 463readv 464reboot 465recv 466recvfrom 467recvmmsg 468recvmmsg_time64 469recvmsg 470remap_file_pages 471removexattr 472rename 473renameat 474renameat2 475request_key 476restart_syscall 477riscv_flush_icache 478rmdir 479rseq 480rt_sigaction 481rt_sigpending 482rt_sigprocmask 483rt_sigqueueinfo 484rt_sigreturn 485rt_sigsuspend 486rt_sigtimedwait 487rt_sigtimedwait_time64 488rt_tgsigqueueinfo 489rtas 490s390_guarded_storage 491s390_pci_mmio_read 492s390_pci_mmio_write 493s390_runtime_instr 494s390_sthyi 495sched_get_affinity 496sched_get_priority_max 497sched_get_priority_min 498sched_getaffinity 499sched_getattr 500sched_getparam 501sched_getscheduler 502sched_rr_get_interval 503sched_rr_get_interval_time64 504sched_set_affinity 505sched_setaffinity 506sched_setattr 507sched_setparam 508sched_setscheduler 509sched_yield 510seccomp 511security 512select 513semctl 514semget 515semop 516semtimedop 517semtimedop_time64 518send 519sendfile 520sendfile64 521sendmmsg 522sendmsg 523sendto 524set_mempolicy 525set_robust_list 526set_thread_area 527set_tid_address 528set_tls 529setdomainname 530setfsgid 531setfsgid32 532setfsuid 533setfsuid32 534setgid 535setgid32 536setgroups 537setgroups32 538sethae 539sethostname 540setitimer 541setns 542setpgid 543setpgrp 544setpriority 545setregid 546setregid32 547setresgid 548setresgid32 549setresuid 550setresuid32 551setreuid 552setreuid32 553setrlimit 554setsid 555setsockopt 556settimeofday 557setuid 558setuid32 559setxattr 560sgetmask 561shmat 562shmctl 563shmdt 564shmget 565shutdown 566sigaction 567sigaltstack 568signal 569signalfd 570signalfd4 571sigpending 572sigprocmask 573sigreturn 574sigsuspend 575socket 576socketcall 577socketpair 578splice 579spu_create 580spu_run 581ssetmask 582stat 583stat64 584statfs 585statfs64 586statx 587stime 588stty 589subpage_prot 590swapcontext 591swapoff 592swapon 593switch_endian 594symlink 595symlinkat 596sync 597sync_file_range 598sync_file_range2 599syncfs 600sys_debug_setcontext 601sys_epoll_create 602sys_epoll_ctl 603sys_epoll_wait 604syscall 605sysfs 606sysinfo 607syslog 608sysmips 609tee 610tgkill 611time 612timer_create 613timer_delete 614timer_getoverrun 615timer_gettime 616timer_gettime64 617timer_settime 618timer_settime64 619timerfd 620timerfd_create 621timerfd_gettime 622timerfd_gettime64 623timerfd_settime 624timerfd_settime64 625times 626tkill 627truncate 628truncate64 629tuxcall 630udftrap 631ugetrlimit 632ulimit 633umask 634umount 635umount2 636uname 637unlink 638unlinkat 639unshare 640uselib 641userfaultfd 642usr26 643usr32 644ustat 645utime 646utimensat 647utimensat_time64 648utimes 649utrap_install 650vfork 651vhangup 652vm86 653vm86old 654vmsplice 655vserver 656wait4 657waitid 658waitpid 659write 660writev 661