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