1 /* Generated at libc build time from kernel syscall list. */ 2 3 #ifndef _SYSCALL_H 4 # error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead." 5 #endif 6 7 #include <bits/wordsize.h> 8 9 #define SYS__sysctl __NR__sysctl 10 #define SYS_access __NR_access 11 #define SYS_acct __NR_acct 12 #define SYS_add_key __NR_add_key 13 #define SYS_adjtimex __NR_adjtimex 14 #define SYS_afs_syscall __NR_afs_syscall 15 #define SYS_alarm __NR_alarm 16 #define SYS_brk __NR_brk 17 #define SYS_capget __NR_capget 18 #define SYS_capset __NR_capset 19 #define SYS_chdir __NR_chdir 20 #define SYS_chmod __NR_chmod 21 #define SYS_chown __NR_chown 22 #define SYS_chroot __NR_chroot 23 #define SYS_clock_getres __NR_clock_getres 24 #define SYS_clock_gettime __NR_clock_gettime 25 #define SYS_clock_nanosleep __NR_clock_nanosleep 26 #define SYS_clock_settime __NR_clock_settime 27 #define SYS_clone __NR_clone 28 #define SYS_close __NR_close 29 #define SYS_creat __NR_creat 30 #define SYS_create_module __NR_create_module 31 #define SYS_delete_module __NR_delete_module 32 #define SYS_dup __NR_dup 33 #define SYS_dup2 __NR_dup2 34 #define SYS_dup3 __NR_dup3 35 #define SYS_epoll_create __NR_epoll_create 36 #define SYS_epoll_create1 __NR_epoll_create1 37 #define SYS_epoll_ctl __NR_epoll_ctl 38 #define SYS_epoll_pwait __NR_epoll_pwait 39 #define SYS_epoll_wait __NR_epoll_wait 40 #define SYS_eventfd __NR_eventfd 41 #define SYS_eventfd2 __NR_eventfd2 42 #define SYS_execve __NR_execve 43 #define SYS_exit __NR_exit 44 #define SYS_exit_group __NR_exit_group 45 #define SYS_faccessat __NR_faccessat 46 #define SYS_fadvise64 __NR_fadvise64 47 #define SYS_fallocate __NR_fallocate 48 #define SYS_fchdir __NR_fchdir 49 #define SYS_fchmod __NR_fchmod 50 #define SYS_fchmodat __NR_fchmodat 51 #define SYS_fchown __NR_fchown 52 #define SYS_fchownat __NR_fchownat 53 #define SYS_fcntl __NR_fcntl 54 #define SYS_fdatasync __NR_fdatasync 55 #define SYS_fgetxattr __NR_fgetxattr 56 #define SYS_flistxattr __NR_flistxattr 57 #define SYS_flock __NR_flock 58 #define SYS_fork __NR_fork 59 #define SYS_fremovexattr __NR_fremovexattr 60 #define SYS_fsetxattr __NR_fsetxattr 61 #define SYS_fstat __NR_fstat 62 #define SYS_fstatfs __NR_fstatfs 63 #define SYS_fsync __NR_fsync 64 #define SYS_ftruncate __NR_ftruncate 65 #define SYS_futex __NR_futex 66 #define SYS_futimesat __NR_futimesat 67 #define SYS_get_kernel_syms __NR_get_kernel_syms 68 #define SYS_get_mempolicy __NR_get_mempolicy 69 #define SYS_get_robust_list __NR_get_robust_list 70 #define SYS_get_thread_area __NR_get_thread_area 71 #define SYS_getcwd __NR_getcwd 72 #define SYS_getdents __NR_getdents 73 #define SYS_getdents64 __NR_getdents64 74 #define SYS_getegid __NR_getegid 75 #define SYS_geteuid __NR_geteuid 76 #define SYS_getgid __NR_getgid 77 #define SYS_getgroups __NR_getgroups 78 #define SYS_getitimer __NR_getitimer 79 #define SYS_getpgid __NR_getpgid 80 #define SYS_getpgrp __NR_getpgrp 81 #define SYS_getpid __NR_getpid 82 #define SYS_getpmsg __NR_getpmsg 83 #define SYS_getppid __NR_getppid 84 #define SYS_getpriority __NR_getpriority 85 #define SYS_getresgid __NR_getresgid 86 #define SYS_getresuid __NR_getresuid 87 #define SYS_getrlimit __NR_getrlimit 88 #define SYS_getrusage __NR_getrusage 89 #define SYS_getsid __NR_getsid 90 #define SYS_gettid __NR_gettid 91 #define SYS_gettimeofday __NR_gettimeofday 92 #define SYS_getuid __NR_getuid 93 #define SYS_getxattr __NR_getxattr 94 #define SYS_init_module __NR_init_module 95 #define SYS_inotify_add_watch __NR_inotify_add_watch 96 #define SYS_inotify_init __NR_inotify_init 97 #define SYS_inotify_init1 __NR_inotify_init1 98 #define SYS_inotify_rm_watch __NR_inotify_rm_watch 99 #define SYS_io_cancel __NR_io_cancel 100 #define SYS_io_destroy __NR_io_destroy 101 #define SYS_io_getevents __NR_io_getevents 102 #define SYS_io_setup __NR_io_setup 103 #define SYS_io_submit __NR_io_submit 104 #define SYS_ioctl __NR_ioctl 105 #define SYS_ioperm __NR_ioperm 106 #define SYS_iopl __NR_iopl 107 #define SYS_ioprio_get __NR_ioprio_get 108 #define SYS_ioprio_set __NR_ioprio_set 109 #define SYS_kexec_load __NR_kexec_load 110 #define SYS_keyctl __NR_keyctl 111 #define SYS_kill __NR_kill 112 #define SYS_lchown __NR_lchown 113 #define SYS_lgetxattr __NR_lgetxattr 114 #define SYS_link __NR_link 115 #define SYS_linkat __NR_linkat 116 #define SYS_listxattr __NR_listxattr 117 #define SYS_llistxattr __NR_llistxattr 118 #define SYS_lookup_dcookie __NR_lookup_dcookie 119 #define SYS_lremovexattr __NR_lremovexattr 120 #define SYS_lseek __NR_lseek 121 #define SYS_lsetxattr __NR_lsetxattr 122 #define SYS_lstat __NR_lstat 123 #define SYS_madvise __NR_madvise 124 #define SYS_mbind __NR_mbind 125 #define SYS_migrate_pages __NR_migrate_pages 126 #define SYS_mincore __NR_mincore 127 #define SYS_mkdir __NR_mkdir 128 #define SYS_mkdirat __NR_mkdirat 129 #define SYS_mknod __NR_mknod 130 #define SYS_mknodat __NR_mknodat 131 #define SYS_mlock __NR_mlock 132 #define SYS_mlockall __NR_mlockall 133 #define SYS_mmap __NR_mmap 134 #define SYS_modify_ldt __NR_modify_ldt 135 #define SYS_mount __NR_mount 136 #define SYS_move_pages __NR_move_pages 137 #define SYS_mprotect __NR_mprotect 138 #define SYS_mq_getsetattr __NR_mq_getsetattr 139 #define SYS_mq_notify __NR_mq_notify 140 #define SYS_mq_open __NR_mq_open 141 #define SYS_mq_timedreceive __NR_mq_timedreceive 142 #define SYS_mq_timedsend __NR_mq_timedsend 143 #define SYS_mq_unlink __NR_mq_unlink 144 #define SYS_mremap __NR_mremap 145 #define SYS_msync __NR_msync 146 #define SYS_munlock __NR_munlock 147 #define SYS_munlockall __NR_munlockall 148 #define SYS_munmap __NR_munmap 149 #define SYS_nanosleep __NR_nanosleep 150 #define SYS_nfsservctl __NR_nfsservctl 151 #define SYS_open __NR_open 152 #define SYS_openat __NR_openat 153 #define SYS_pause __NR_pause 154 #define SYS_perf_event_open __NR_perf_event_open 155 #define SYS_personality __NR_personality 156 #define SYS_pipe __NR_pipe 157 #define SYS_pipe2 __NR_pipe2 158 #define SYS_pivot_root __NR_pivot_root 159 #define SYS_poll __NR_poll 160 #define SYS_ppoll __NR_ppoll 161 #define SYS_prctl __NR_prctl 162 #define SYS_pread64 __NR_pread64 163 #define SYS_preadv __NR_preadv 164 #define SYS_pselect6 __NR_pselect6 165 #define SYS_ptrace __NR_ptrace 166 #define SYS_putpmsg __NR_putpmsg 167 #define SYS_pwrite64 __NR_pwrite64 168 #define SYS_pwritev __NR_pwritev 169 #define SYS_query_module __NR_query_module 170 #define SYS_quotactl __NR_quotactl 171 #define SYS_read __NR_read 172 #define SYS_readahead __NR_readahead 173 #define SYS_readlink __NR_readlink 174 #define SYS_readlinkat __NR_readlinkat 175 #define SYS_readv __NR_readv 176 #define SYS_reboot __NR_reboot 177 #define SYS_remap_file_pages __NR_remap_file_pages 178 #define SYS_removexattr __NR_removexattr 179 #define SYS_rename __NR_rename 180 #define SYS_renameat __NR_renameat 181 #define SYS_request_key __NR_request_key 182 #define SYS_restart_syscall __NR_restart_syscall 183 #define SYS_rmdir __NR_rmdir 184 #define SYS_rt_sigaction __NR_rt_sigaction 185 #define SYS_rt_sigpending __NR_rt_sigpending 186 #define SYS_rt_sigprocmask __NR_rt_sigprocmask 187 #define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo 188 #define SYS_rt_sigreturn __NR_rt_sigreturn 189 #define SYS_rt_sigsuspend __NR_rt_sigsuspend 190 #define SYS_rt_sigtimedwait __NR_rt_sigtimedwait 191 #define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo 192 #define SYS_sched_get_priority_max __NR_sched_get_priority_max 193 #define SYS_sched_get_priority_min __NR_sched_get_priority_min 194 #define SYS_sched_getaffinity __NR_sched_getaffinity 195 #define SYS_sched_getparam __NR_sched_getparam 196 #define SYS_sched_getscheduler __NR_sched_getscheduler 197 #define SYS_sched_rr_get_interval __NR_sched_rr_get_interval 198 #define SYS_sched_setaffinity __NR_sched_setaffinity 199 #define SYS_sched_setparam __NR_sched_setparam 200 #define SYS_sched_setscheduler __NR_sched_setscheduler 201 #define SYS_sched_yield __NR_sched_yield 202 #define SYS_select __NR_select 203 #define SYS_sendfile __NR_sendfile 204 #define SYS_set_mempolicy __NR_set_mempolicy 205 #define SYS_set_robust_list __NR_set_robust_list 206 #define SYS_set_thread_area __NR_set_thread_area 207 #define SYS_set_tid_address __NR_set_tid_address 208 #define SYS_setdomainname __NR_setdomainname 209 #define SYS_setfsgid __NR_setfsgid 210 #define SYS_setfsuid __NR_setfsuid 211 #define SYS_setgid __NR_setgid 212 #define SYS_setgroups __NR_setgroups 213 #define SYS_sethostname __NR_sethostname 214 #define SYS_setitimer __NR_setitimer 215 #define SYS_setpgid __NR_setpgid 216 #define SYS_setpriority __NR_setpriority 217 #define SYS_setregid __NR_setregid 218 #define SYS_setresgid __NR_setresgid 219 #define SYS_setresuid __NR_setresuid 220 #define SYS_setreuid __NR_setreuid 221 #define SYS_setrlimit __NR_setrlimit 222 #define SYS_setsid __NR_setsid 223 #define SYS_settimeofday __NR_settimeofday 224 #define SYS_setuid __NR_setuid 225 #define SYS_setxattr __NR_setxattr 226 #define SYS_sigaltstack __NR_sigaltstack 227 #define SYS_signalfd __NR_signalfd 228 #define SYS_signalfd4 __NR_signalfd4 229 #define SYS_splice __NR_splice 230 #define SYS_stat __NR_stat 231 #define SYS_statfs __NR_statfs 232 #define SYS_swapoff __NR_swapoff 233 #define SYS_swapon __NR_swapon 234 #define SYS_symlink __NR_symlink 235 #define SYS_symlinkat __NR_symlinkat 236 #define SYS_sync __NR_sync 237 #define SYS_sync_file_range __NR_sync_file_range 238 #define SYS_sysfs __NR_sysfs 239 #define SYS_sysinfo __NR_sysinfo 240 #define SYS_syslog __NR_syslog 241 #define SYS_tee __NR_tee 242 #define SYS_tgkill __NR_tgkill 243 #define SYS_time __NR_time 244 #define SYS_timer_create __NR_timer_create 245 #define SYS_timer_delete __NR_timer_delete 246 #define SYS_timer_getoverrun __NR_timer_getoverrun 247 #define SYS_timer_gettime __NR_timer_gettime 248 #define SYS_timer_settime __NR_timer_settime 249 #define SYS_timerfd_create __NR_timerfd_create 250 #define SYS_timerfd_gettime __NR_timerfd_gettime 251 #define SYS_timerfd_settime __NR_timerfd_settime 252 #define SYS_times __NR_times 253 #define SYS_tkill __NR_tkill 254 #define SYS_truncate __NR_truncate 255 #define SYS_umask __NR_umask 256 #define SYS_umount2 __NR_umount2 257 #define SYS_uname __NR_uname 258 #define SYS_unlink __NR_unlink 259 #define SYS_unlinkat __NR_unlinkat 260 #define SYS_unshare __NR_unshare 261 #define SYS_uselib __NR_uselib 262 #define SYS_ustat __NR_ustat 263 #define SYS_utime __NR_utime 264 #define SYS_utimensat __NR_utimensat 265 #define SYS_utimes __NR_utimes 266 #define SYS_vfork __NR_vfork 267 #define SYS_vhangup __NR_vhangup 268 #define SYS_vmsplice __NR_vmsplice 269 #define SYS_vserver __NR_vserver 270 #define SYS_wait4 __NR_wait4 271 #define SYS_waitid __NR_waitid 272 #define SYS_write __NR_write 273 #define SYS_writev __NR_writev 274 #if __WORDSIZE == 64 275 #define SYS_accept __NR_accept 276 #define SYS_accept4 __NR_accept4 277 #define SYS_arch_prctl __NR_arch_prctl 278 #define SYS_bind __NR_bind 279 #define SYS_connect __NR_connect 280 #define SYS_epoll_ctl_old __NR_epoll_ctl_old 281 #define SYS_epoll_wait_old __NR_epoll_wait_old 282 #define SYS_getpeername __NR_getpeername 283 #define SYS_getsockname __NR_getsockname 284 #define SYS_getsockopt __NR_getsockopt 285 #define SYS_listen __NR_listen 286 #define SYS_msgctl __NR_msgctl 287 #define SYS_msgget __NR_msgget 288 #define SYS_msgrcv __NR_msgrcv 289 #define SYS_msgsnd __NR_msgsnd 290 #define SYS_newfstatat __NR_newfstatat 291 #define SYS_recvfrom __NR_recvfrom 292 #define SYS_recvmsg __NR_recvmsg 293 #define SYS_security __NR_security 294 #define SYS_semctl __NR_semctl 295 #define SYS_semget __NR_semget 296 #define SYS_semop __NR_semop 297 #define SYS_semtimedop __NR_semtimedop 298 #define SYS_sendmsg __NR_sendmsg 299 #define SYS_sendto __NR_sendto 300 #define SYS_setsockopt __NR_setsockopt 301 #define SYS_shmat __NR_shmat 302 #define SYS_shmctl __NR_shmctl 303 #define SYS_shmdt __NR_shmdt 304 #define SYS_shmget __NR_shmget 305 #define SYS_shutdown __NR_shutdown 306 #define SYS_socket __NR_socket 307 #define SYS_socketpair __NR_socketpair 308 #define SYS_tuxcall __NR_tuxcall 309 #else 310 #define SYS__llseek __NR__llseek 311 #define SYS__newselect __NR__newselect 312 #define SYS_bdflush __NR_bdflush 313 #define SYS_break __NR_break 314 #define SYS_chown32 __NR_chown32 315 #define SYS_fadvise64_64 __NR_fadvise64_64 316 #define SYS_fchown32 __NR_fchown32 317 #define SYS_fcntl64 __NR_fcntl64 318 #define SYS_fstat64 __NR_fstat64 319 #define SYS_fstatat64 __NR_fstatat64 320 #define SYS_fstatfs64 __NR_fstatfs64 321 #define SYS_ftime __NR_ftime 322 #define SYS_ftruncate64 __NR_ftruncate64 323 #define SYS_getcpu __NR_getcpu 324 #define SYS_getegid32 __NR_getegid32 325 #define SYS_geteuid32 __NR_geteuid32 326 #define SYS_getgid32 __NR_getgid32 327 #define SYS_getgroups32 __NR_getgroups32 328 #define SYS_getresgid32 __NR_getresgid32 329 #define SYS_getresuid32 __NR_getresuid32 330 #define SYS_getuid32 __NR_getuid32 331 #define SYS_gtty __NR_gtty 332 #define SYS_idle __NR_idle 333 #define SYS_ipc __NR_ipc 334 #define SYS_lchown32 __NR_lchown32 335 #define SYS_lock __NR_lock 336 #define SYS_lstat64 __NR_lstat64 337 #define SYS_madvise1 __NR_madvise1 338 #define SYS_mmap2 __NR_mmap2 339 #define SYS_mpx __NR_mpx 340 #define SYS_nice __NR_nice 341 #define SYS_oldfstat __NR_oldfstat 342 #define SYS_oldlstat __NR_oldlstat 343 #define SYS_oldolduname __NR_oldolduname 344 #define SYS_oldstat __NR_oldstat 345 #define SYS_olduname __NR_olduname 346 #define SYS_prof __NR_prof 347 #define SYS_profil __NR_profil 348 #define SYS_readdir __NR_readdir 349 #define SYS_sendfile64 __NR_sendfile64 350 #define SYS_setfsgid32 __NR_setfsgid32 351 #define SYS_setfsuid32 __NR_setfsuid32 352 #define SYS_setgid32 __NR_setgid32 353 #define SYS_setgroups32 __NR_setgroups32 354 #define SYS_setregid32 __NR_setregid32 355 #define SYS_setresgid32 __NR_setresgid32 356 #define SYS_setresuid32 __NR_setresuid32 357 #define SYS_setreuid32 __NR_setreuid32 358 #define SYS_setuid32 __NR_setuid32 359 #define SYS_sgetmask __NR_sgetmask 360 #define SYS_sigaction __NR_sigaction 361 #define SYS_signal __NR_signal 362 #define SYS_sigpending __NR_sigpending 363 #define SYS_sigprocmask __NR_sigprocmask 364 #define SYS_sigreturn __NR_sigreturn 365 #define SYS_sigsuspend __NR_sigsuspend 366 #define SYS_socketcall __NR_socketcall 367 #define SYS_ssetmask __NR_ssetmask 368 #define SYS_stat64 __NR_stat64 369 #define SYS_statfs64 __NR_statfs64 370 #define SYS_stime __NR_stime 371 #define SYS_stty __NR_stty 372 #define SYS_truncate64 __NR_truncate64 373 #define SYS_ugetrlimit __NR_ugetrlimit 374 #define SYS_ulimit __NR_ulimit 375 #define SYS_umount __NR_umount 376 #define SYS_vm86 __NR_vm86 377 #define SYS_vm86old __NR_vm86old 378 #define SYS_waitpid __NR_waitpid 379 #endif 380