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