fd98893b0e44a606af2cfe03653f4782e52fe165
[platform/upstream/glibc.git] / sysdeps / unix / sysv / linux / syscall-names.list
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.14.
25 kernel 5.14
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 futimesat
150 get_kernel_syms
151 get_mempolicy
152 get_robust_list
153 get_thread_area
154 get_tls
155 getcpu
156 getcwd
157 getdents
158 getdents64
159 getdomainname
160 getdtablesize
161 getegid
162 getegid32
163 geteuid
164 geteuid32
165 getgid
166 getgid32
167 getgroups
168 getgroups32
169 gethostname
170 getitimer
171 getpagesize
172 getpeername
173 getpgid
174 getpgrp
175 getpid
176 getpmsg
177 getppid
178 getpriority
179 getrandom
180 getresgid
181 getresgid32
182 getresuid
183 getresuid32
184 getrlimit
185 getrusage
186 getsid
187 getsockname
188 getsockopt
189 gettid
190 gettimeofday
191 getuid
192 getuid32
193 getunwind
194 getxattr
195 getxgid
196 getxpid
197 getxuid
198 gtty
199 idle
200 init_module
201 inotify_add_watch
202 inotify_init
203 inotify_init1
204 inotify_rm_watch
205 io_cancel
206 io_destroy
207 io_getevents
208 io_pgetevents
209 io_pgetevents_time64
210 io_setup
211 io_submit
212 io_uring_enter
213 io_uring_register
214 io_uring_setup
215 ioctl
216 ioperm
217 iopl
218 ioprio_get
219 ioprio_set
220 ipc
221 kcmp
222 kern_features
223 kexec_file_load
224 kexec_load
225 keyctl
226 kill
227 landlock_add_rule
228 landlock_create_ruleset
229 landlock_restrict_self
230 lchown
231 lchown32
232 lgetxattr
233 link
234 linkat
235 listen
236 listxattr
237 llistxattr
238 llseek
239 lock
240 lookup_dcookie
241 lremovexattr
242 lseek
243 lsetxattr
244 lstat
245 lstat64
246 madvise
247 mbind
248 membarrier
249 memfd_create
250 memfd_secret
251 memory_ordering
252 migrate_pages
253 mincore
254 mkdir
255 mkdirat
256 mknod
257 mknodat
258 mlock
259 mlock2
260 mlockall
261 mmap
262 mmap2
263 modify_ldt
264 mount
265 mount_setattr
266 move_mount
267 move_pages
268 mprotect
269 mpx
270 mq_getsetattr
271 mq_notify
272 mq_open
273 mq_timedreceive
274 mq_timedreceive_time64
275 mq_timedsend
276 mq_timedsend_time64
277 mq_unlink
278 mremap
279 msgctl
280 msgget
281 msgrcv
282 msgsnd
283 msync
284 multiplexer
285 munlock
286 munlockall
287 munmap
288 name_to_handle_at
289 nanosleep
290 newfstatat
291 nfsservctl
292 ni_syscall
293 nice
294 old_adjtimex
295 old_getpagesize
296 oldfstat
297 oldlstat
298 oldolduname
299 oldstat
300 oldumount
301 olduname
302 open
303 open_by_handle_at
304 open_tree
305 openat
306 openat2
307 osf_adjtime
308 osf_afs_syscall
309 osf_alt_plock
310 osf_alt_setsid
311 osf_alt_sigpending
312 osf_asynch_daemon
313 osf_audcntl
314 osf_audgen
315 osf_chflags
316 osf_execve
317 osf_exportfs
318 osf_fchflags
319 osf_fdatasync
320 osf_fpathconf
321 osf_fstat
322 osf_fstatfs
323 osf_fstatfs64
324 osf_fuser
325 osf_getaddressconf
326 osf_getdirentries
327 osf_getdomainname
328 osf_getfh
329 osf_getfsstat
330 osf_gethostid
331 osf_getitimer
332 osf_getlogin
333 osf_getmnt
334 osf_getrusage
335 osf_getsysinfo
336 osf_gettimeofday
337 osf_kloadcall
338 osf_kmodcall
339 osf_lstat
340 osf_memcntl
341 osf_mincore
342 osf_mount
343 osf_mremap
344 osf_msfs_syscall
345 osf_msleep
346 osf_mvalid
347 osf_mwakeup
348 osf_naccept
349 osf_nfssvc
350 osf_ngetpeername
351 osf_ngetsockname
352 osf_nrecvfrom
353 osf_nrecvmsg
354 osf_nsendmsg
355 osf_ntp_adjtime
356 osf_ntp_gettime
357 osf_old_creat
358 osf_old_fstat
359 osf_old_getpgrp
360 osf_old_killpg
361 osf_old_lstat
362 osf_old_open
363 osf_old_sigaction
364 osf_old_sigblock
365 osf_old_sigreturn
366 osf_old_sigsetmask
367 osf_old_sigvec
368 osf_old_stat
369 osf_old_vadvise
370 osf_old_vtrace
371 osf_old_wait
372 osf_oldquota
373 osf_pathconf
374 osf_pid_block
375 osf_pid_unblock
376 osf_plock
377 osf_priocntlset
378 osf_profil
379 osf_proplist_syscall
380 osf_reboot
381 osf_revoke
382 osf_sbrk
383 osf_security
384 osf_select
385 osf_set_program_attributes
386 osf_set_speculative
387 osf_sethostid
388 osf_setitimer
389 osf_setlogin
390 osf_setsysinfo
391 osf_settimeofday
392 osf_shmat
393 osf_signal
394 osf_sigprocmask
395 osf_sigsendset
396 osf_sigstack
397 osf_sigwaitprim
398 osf_sstk
399 osf_stat
400 osf_statfs
401 osf_statfs64
402 osf_subsys_info
403 osf_swapctl
404 osf_swapon
405 osf_syscall
406 osf_sysinfo
407 osf_table
408 osf_uadmin
409 osf_usleep_thread
410 osf_uswitch
411 osf_utc_adjtime
412 osf_utc_gettime
413 osf_utimes
414 osf_utsname
415 osf_wait4
416 osf_waitid
417 pause
418 pciconfig_iobase
419 pciconfig_read
420 pciconfig_write
421 perf_event_open
422 perfctr
423 perfmonctl
424 personality
425 pidfd_getfd
426 pidfd_open
427 pidfd_send_signal
428 pipe
429 pipe2
430 pivot_root
431 pkey_alloc
432 pkey_free
433 pkey_mprotect
434 poll
435 ppoll
436 ppoll_time64
437 prctl
438 pread64
439 preadv
440 preadv2
441 prlimit64
442 process_madvise
443 process_vm_readv
444 process_vm_writev
445 prof
446 profil
447 pselect6
448 pselect6_time64
449 ptrace
450 putpmsg
451 pwrite64
452 pwritev
453 pwritev2
454 query_module
455 quotactl
456 quotactl_fd
457 read
458 readahead
459 readdir
460 readlink
461 readlinkat
462 readv
463 reboot
464 recv
465 recvfrom
466 recvmmsg
467 recvmmsg_time64
468 recvmsg
469 remap_file_pages
470 removexattr
471 rename
472 renameat
473 renameat2
474 request_key
475 restart_syscall
476 riscv_flush_icache
477 rmdir
478 rseq
479 rt_sigaction
480 rt_sigpending
481 rt_sigprocmask
482 rt_sigqueueinfo
483 rt_sigreturn
484 rt_sigsuspend
485 rt_sigtimedwait
486 rt_sigtimedwait_time64
487 rt_tgsigqueueinfo
488 rtas
489 s390_guarded_storage
490 s390_pci_mmio_read
491 s390_pci_mmio_write
492 s390_runtime_instr
493 s390_sthyi
494 sched_get_affinity
495 sched_get_priority_max
496 sched_get_priority_min
497 sched_getaffinity
498 sched_getattr
499 sched_getparam
500 sched_getscheduler
501 sched_rr_get_interval
502 sched_rr_get_interval_time64
503 sched_set_affinity
504 sched_setaffinity
505 sched_setattr
506 sched_setparam
507 sched_setscheduler
508 sched_yield
509 seccomp
510 security
511 select
512 semctl
513 semget
514 semop
515 semtimedop
516 semtimedop_time64
517 send
518 sendfile
519 sendfile64
520 sendmmsg
521 sendmsg
522 sendto
523 set_mempolicy
524 set_robust_list
525 set_thread_area
526 set_tid_address
527 set_tls
528 setdomainname
529 setfsgid
530 setfsgid32
531 setfsuid
532 setfsuid32
533 setgid
534 setgid32
535 setgroups
536 setgroups32
537 sethae
538 sethostname
539 setitimer
540 setns
541 setpgid
542 setpgrp
543 setpriority
544 setregid
545 setregid32
546 setresgid
547 setresgid32
548 setresuid
549 setresuid32
550 setreuid
551 setreuid32
552 setrlimit
553 setsid
554 setsockopt
555 settimeofday
556 setuid
557 setuid32
558 setxattr
559 sgetmask
560 shmat
561 shmctl
562 shmdt
563 shmget
564 shutdown
565 sigaction
566 sigaltstack
567 signal
568 signalfd
569 signalfd4
570 sigpending
571 sigprocmask
572 sigreturn
573 sigsuspend
574 socket
575 socketcall
576 socketpair
577 splice
578 spu_create
579 spu_run
580 ssetmask
581 stat
582 stat64
583 statfs
584 statfs64
585 statx
586 stime
587 stty
588 subpage_prot
589 swapcontext
590 swapoff
591 swapon
592 switch_endian
593 symlink
594 symlinkat
595 sync
596 sync_file_range
597 sync_file_range2
598 syncfs
599 sys_debug_setcontext
600 sys_epoll_create
601 sys_epoll_ctl
602 sys_epoll_wait
603 syscall
604 sysfs
605 sysinfo
606 syslog
607 sysmips
608 tee
609 tgkill
610 time
611 timer_create
612 timer_delete
613 timer_getoverrun
614 timer_gettime
615 timer_gettime64
616 timer_settime
617 timer_settime64
618 timerfd
619 timerfd_create
620 timerfd_gettime
621 timerfd_gettime64
622 timerfd_settime
623 timerfd_settime64
624 times
625 tkill
626 truncate
627 truncate64
628 tuxcall
629 udftrap
630 ugetrlimit
631 ulimit
632 umask
633 umount
634 umount2
635 uname
636 unlink
637 unlinkat
638 unshare
639 uselib
640 userfaultfd
641 usr26
642 usr32
643 ustat
644 utime
645 utimensat
646 utimensat_time64
647 utimes
648 utrap_install
649 vfork
650 vhangup
651 vm86
652 vm86old
653 vmsplice
654 vserver
655 wait4
656 waitid
657 waitpid
658 write
659 writev