michael@0: // Copyright (c) 2012 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: /* This file has been imported from michael@0: * http://git.chromium.org/gitweb/?p=chromium.git;a=blob_plain;f=sandbox/linux/services/arm_linux_syscalls.h;h=dd0826e54eb8777a92edf2ec1ca9274ab6950bd5;hb=2362c9abea79cae475921bdeee58f9e3910d211c michael@0: */ michael@0: michael@0: // Generated from the Linux kernel's calls.S. michael@0: #ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ michael@0: #define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ michael@0: michael@0: #if !defined(__arm__) || !defined(__ARM_EABI__) michael@0: #error "Including header on wrong architecture" michael@0: #endif michael@0: michael@0: // __NR_SYSCALL_BASE, __ARM_NR_BASE are defined in . michael@0: #include michael@0: michael@0: // This syscall list has holes, because ARM EABI makes some syscalls obsolete. michael@0: michael@0: #if !defined(__NR_restart_syscall) michael@0: #define __NR_restart_syscall (__NR_SYSCALL_BASE+0) michael@0: #endif michael@0: michael@0: #if !defined(__NR_exit) michael@0: #define __NR_exit (__NR_SYSCALL_BASE+1) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fork) michael@0: #define __NR_fork (__NR_SYSCALL_BASE+2) michael@0: #endif michael@0: michael@0: #if !defined(__NR_read) michael@0: #define __NR_read (__NR_SYSCALL_BASE+3) michael@0: #endif michael@0: michael@0: #if !defined(__NR_write) michael@0: #define __NR_write (__NR_SYSCALL_BASE+4) michael@0: #endif michael@0: michael@0: #if !defined(__NR_open) michael@0: #define __NR_open (__NR_SYSCALL_BASE+5) michael@0: #endif michael@0: michael@0: #if !defined(__NR_close) michael@0: #define __NR_close (__NR_SYSCALL_BASE+6) michael@0: #endif michael@0: michael@0: #if !defined(__NR_creat) michael@0: #define __NR_creat (__NR_SYSCALL_BASE+8) michael@0: #endif michael@0: michael@0: #if !defined(__NR_link) michael@0: #define __NR_link (__NR_SYSCALL_BASE+9) michael@0: #endif michael@0: michael@0: #if !defined(__NR_unlink) michael@0: #define __NR_unlink (__NR_SYSCALL_BASE+10) michael@0: #endif michael@0: michael@0: #if !defined(__NR_execve) michael@0: #define __NR_execve (__NR_SYSCALL_BASE+11) michael@0: #endif michael@0: michael@0: #if !defined(__NR_chdir) michael@0: #define __NR_chdir (__NR_SYSCALL_BASE+12) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mknod) michael@0: #define __NR_mknod (__NR_SYSCALL_BASE+14) michael@0: #endif michael@0: michael@0: #if !defined(__NR_chmod) michael@0: #define __NR_chmod (__NR_SYSCALL_BASE+15) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lchown) michael@0: #define __NR_lchown (__NR_SYSCALL_BASE+16) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lseek) michael@0: #define __NR_lseek (__NR_SYSCALL_BASE+19) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getpid) michael@0: #define __NR_getpid (__NR_SYSCALL_BASE+20) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mount) michael@0: #define __NR_mount (__NR_SYSCALL_BASE+21) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setuid) michael@0: #define __NR_setuid (__NR_SYSCALL_BASE+23) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getuid) michael@0: #define __NR_getuid (__NR_SYSCALL_BASE+24) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ptrace) michael@0: #define __NR_ptrace (__NR_SYSCALL_BASE+26) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pause) michael@0: #define __NR_pause (__NR_SYSCALL_BASE+29) michael@0: #endif michael@0: michael@0: #if !defined(__NR_access) michael@0: #define __NR_access (__NR_SYSCALL_BASE+33) michael@0: #endif michael@0: michael@0: #if !defined(__NR_nice) michael@0: #define __NR_nice (__NR_SYSCALL_BASE+34) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sync) michael@0: #define __NR_sync (__NR_SYSCALL_BASE+36) michael@0: #endif michael@0: michael@0: #if !defined(__NR_kill) michael@0: #define __NR_kill (__NR_SYSCALL_BASE+37) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rename) michael@0: #define __NR_rename (__NR_SYSCALL_BASE+38) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mkdir) michael@0: #define __NR_mkdir (__NR_SYSCALL_BASE+39) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rmdir) michael@0: #define __NR_rmdir (__NR_SYSCALL_BASE+40) michael@0: #endif michael@0: michael@0: #if !defined(__NR_dup) michael@0: #define __NR_dup (__NR_SYSCALL_BASE+41) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pipe) michael@0: #define __NR_pipe (__NR_SYSCALL_BASE+42) michael@0: #endif michael@0: michael@0: #if !defined(__NR_times) michael@0: #define __NR_times (__NR_SYSCALL_BASE+43) michael@0: #endif michael@0: michael@0: #if !defined(__NR_brk) michael@0: #define __NR_brk (__NR_SYSCALL_BASE+45) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setgid) michael@0: #define __NR_setgid (__NR_SYSCALL_BASE+46) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getgid) michael@0: #define __NR_getgid (__NR_SYSCALL_BASE+47) michael@0: #endif michael@0: michael@0: #if !defined(__NR_geteuid) michael@0: #define __NR_geteuid (__NR_SYSCALL_BASE+49) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getegid) michael@0: #define __NR_getegid (__NR_SYSCALL_BASE+50) michael@0: #endif michael@0: michael@0: #if !defined(__NR_acct) michael@0: #define __NR_acct (__NR_SYSCALL_BASE+51) michael@0: #endif michael@0: michael@0: #if !defined(__NR_umount2) michael@0: #define __NR_umount2 (__NR_SYSCALL_BASE+52) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ioctl) michael@0: #define __NR_ioctl (__NR_SYSCALL_BASE+54) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fcntl) michael@0: #define __NR_fcntl (__NR_SYSCALL_BASE+55) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setpgid) michael@0: #define __NR_setpgid (__NR_SYSCALL_BASE+57) michael@0: #endif michael@0: michael@0: #if !defined(__NR_umask) michael@0: #define __NR_umask (__NR_SYSCALL_BASE+60) michael@0: #endif michael@0: michael@0: #if !defined(__NR_chroot) michael@0: #define __NR_chroot (__NR_SYSCALL_BASE+61) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ustat) michael@0: #define __NR_ustat (__NR_SYSCALL_BASE+62) michael@0: #endif michael@0: michael@0: #if !defined(__NR_dup2) michael@0: #define __NR_dup2 (__NR_SYSCALL_BASE+63) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getppid) michael@0: #define __NR_getppid (__NR_SYSCALL_BASE+64) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getpgrp) michael@0: #define __NR_getpgrp (__NR_SYSCALL_BASE+65) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setsid) michael@0: #define __NR_setsid (__NR_SYSCALL_BASE+66) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sigaction) michael@0: #define __NR_sigaction (__NR_SYSCALL_BASE+67) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setreuid) michael@0: #define __NR_setreuid (__NR_SYSCALL_BASE+70) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setregid) michael@0: #define __NR_setregid (__NR_SYSCALL_BASE+71) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sigsuspend) michael@0: #define __NR_sigsuspend (__NR_SYSCALL_BASE+72) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sigpending) michael@0: #define __NR_sigpending (__NR_SYSCALL_BASE+73) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sethostname) michael@0: #define __NR_sethostname (__NR_SYSCALL_BASE+74) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setrlimit) michael@0: #define __NR_setrlimit (__NR_SYSCALL_BASE+75) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getrusage) michael@0: #define __NR_getrusage (__NR_SYSCALL_BASE+77) michael@0: #endif michael@0: michael@0: #if !defined(__NR_gettimeofday) michael@0: #define __NR_gettimeofday (__NR_SYSCALL_BASE+78) michael@0: #endif michael@0: michael@0: #if !defined(__NR_settimeofday) michael@0: #define __NR_settimeofday (__NR_SYSCALL_BASE+79) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getgroups) michael@0: #define __NR_getgroups (__NR_SYSCALL_BASE+80) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setgroups) michael@0: #define __NR_setgroups (__NR_SYSCALL_BASE+81) michael@0: #endif michael@0: michael@0: #if !defined(__NR_symlink) michael@0: #define __NR_symlink (__NR_SYSCALL_BASE+83) michael@0: #endif michael@0: michael@0: #if !defined(__NR_readlink) michael@0: #define __NR_readlink (__NR_SYSCALL_BASE+85) michael@0: #endif michael@0: michael@0: #if !defined(__NR_uselib) michael@0: #define __NR_uselib (__NR_SYSCALL_BASE+86) michael@0: #endif michael@0: michael@0: #if !defined(__NR_swapon) michael@0: #define __NR_swapon (__NR_SYSCALL_BASE+87) michael@0: #endif michael@0: michael@0: #if !defined(__NR_reboot) michael@0: #define __NR_reboot (__NR_SYSCALL_BASE+88) michael@0: #endif michael@0: michael@0: #if !defined(__NR_munmap) michael@0: #define __NR_munmap (__NR_SYSCALL_BASE+91) michael@0: #endif michael@0: michael@0: #if !defined(__NR_truncate) michael@0: #define __NR_truncate (__NR_SYSCALL_BASE+92) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ftruncate) michael@0: #define __NR_ftruncate (__NR_SYSCALL_BASE+93) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fchmod) michael@0: #define __NR_fchmod (__NR_SYSCALL_BASE+94) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fchown) michael@0: #define __NR_fchown (__NR_SYSCALL_BASE+95) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getpriority) michael@0: #define __NR_getpriority (__NR_SYSCALL_BASE+96) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setpriority) michael@0: #define __NR_setpriority (__NR_SYSCALL_BASE+97) michael@0: #endif michael@0: michael@0: #if !defined(__NR_statfs) michael@0: #define __NR_statfs (__NR_SYSCALL_BASE+99) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fstatfs) michael@0: #define __NR_fstatfs (__NR_SYSCALL_BASE+100) michael@0: #endif michael@0: michael@0: #if !defined(__NR_syslog) michael@0: #define __NR_syslog (__NR_SYSCALL_BASE+103) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setitimer) michael@0: #define __NR_setitimer (__NR_SYSCALL_BASE+104) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getitimer) michael@0: #define __NR_getitimer (__NR_SYSCALL_BASE+105) michael@0: #endif michael@0: michael@0: #if !defined(__NR_stat) michael@0: #define __NR_stat (__NR_SYSCALL_BASE+106) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lstat) michael@0: #define __NR_lstat (__NR_SYSCALL_BASE+107) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fstat) michael@0: #define __NR_fstat (__NR_SYSCALL_BASE+108) michael@0: #endif michael@0: michael@0: #if !defined(__NR_vhangup) michael@0: #define __NR_vhangup (__NR_SYSCALL_BASE+111) michael@0: #endif michael@0: michael@0: #if !defined(__NR_wait4) michael@0: #define __NR_wait4 (__NR_SYSCALL_BASE+114) michael@0: #endif michael@0: michael@0: #if !defined(__NR_swapoff) michael@0: #define __NR_swapoff (__NR_SYSCALL_BASE+115) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sysinfo) michael@0: #define __NR_sysinfo (__NR_SYSCALL_BASE+116) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fsync) michael@0: #define __NR_fsync (__NR_SYSCALL_BASE+118) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sigreturn) michael@0: #define __NR_sigreturn (__NR_SYSCALL_BASE+119) michael@0: #endif michael@0: michael@0: #if !defined(__NR_clone) michael@0: #define __NR_clone (__NR_SYSCALL_BASE+120) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setdomainname) michael@0: #define __NR_setdomainname (__NR_SYSCALL_BASE+121) michael@0: #endif michael@0: michael@0: #if !defined(__NR_uname) michael@0: #define __NR_uname (__NR_SYSCALL_BASE+122) michael@0: #endif michael@0: michael@0: #if !defined(__NR_adjtimex) michael@0: #define __NR_adjtimex (__NR_SYSCALL_BASE+124) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mprotect) michael@0: #define __NR_mprotect (__NR_SYSCALL_BASE+125) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sigprocmask) michael@0: #define __NR_sigprocmask (__NR_SYSCALL_BASE+126) michael@0: #endif michael@0: michael@0: #if !defined(__NR_init_module) michael@0: #define __NR_init_module (__NR_SYSCALL_BASE+128) michael@0: #endif michael@0: michael@0: #if !defined(__NR_delete_module) michael@0: #define __NR_delete_module (__NR_SYSCALL_BASE+129) michael@0: #endif michael@0: michael@0: #if !defined(__NR_quotactl) michael@0: #define __NR_quotactl (__NR_SYSCALL_BASE+131) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getpgid) michael@0: #define __NR_getpgid (__NR_SYSCALL_BASE+132) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fchdir) michael@0: #define __NR_fchdir (__NR_SYSCALL_BASE+133) michael@0: #endif michael@0: michael@0: #if !defined(__NR_bdflush) michael@0: #define __NR_bdflush (__NR_SYSCALL_BASE+134) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sysfs) michael@0: #define __NR_sysfs (__NR_SYSCALL_BASE+135) michael@0: #endif michael@0: michael@0: #if !defined(__NR_personality) michael@0: #define __NR_personality (__NR_SYSCALL_BASE+136) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setfsuid) michael@0: #define __NR_setfsuid (__NR_SYSCALL_BASE+138) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setfsgid) michael@0: #define __NR_setfsgid (__NR_SYSCALL_BASE+139) michael@0: #endif michael@0: michael@0: #if !defined(__NR__llseek) michael@0: #define __NR__llseek (__NR_SYSCALL_BASE+140) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getdents) michael@0: #define __NR_getdents (__NR_SYSCALL_BASE+141) michael@0: #endif michael@0: michael@0: #if !defined(__NR__newselect) michael@0: #define __NR__newselect (__NR_SYSCALL_BASE+142) michael@0: #endif michael@0: michael@0: #if !defined(__NR_flock) michael@0: #define __NR_flock (__NR_SYSCALL_BASE+143) michael@0: #endif michael@0: michael@0: #if !defined(__NR_msync) michael@0: #define __NR_msync (__NR_SYSCALL_BASE+144) michael@0: #endif michael@0: michael@0: #if !defined(__NR_readv) michael@0: #define __NR_readv (__NR_SYSCALL_BASE+145) michael@0: #endif michael@0: michael@0: #if !defined(__NR_writev) michael@0: #define __NR_writev (__NR_SYSCALL_BASE+146) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getsid) michael@0: #define __NR_getsid (__NR_SYSCALL_BASE+147) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fdatasync) michael@0: #define __NR_fdatasync (__NR_SYSCALL_BASE+148) michael@0: #endif michael@0: michael@0: #if !defined(__NR__sysctl) michael@0: #define __NR__sysctl (__NR_SYSCALL_BASE+149) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mlock) michael@0: #define __NR_mlock (__NR_SYSCALL_BASE+150) michael@0: #endif michael@0: michael@0: #if !defined(__NR_munlock) michael@0: #define __NR_munlock (__NR_SYSCALL_BASE+151) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mlockall) michael@0: #define __NR_mlockall (__NR_SYSCALL_BASE+152) michael@0: #endif michael@0: michael@0: #if !defined(__NR_munlockall) michael@0: #define __NR_munlockall (__NR_SYSCALL_BASE+153) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_setparam) michael@0: #define __NR_sched_setparam (__NR_SYSCALL_BASE+154) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_getparam) michael@0: #define __NR_sched_getparam (__NR_SYSCALL_BASE+155) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_setscheduler) michael@0: #define __NR_sched_setscheduler (__NR_SYSCALL_BASE+156) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_getscheduler) michael@0: #define __NR_sched_getscheduler (__NR_SYSCALL_BASE+157) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_yield) michael@0: #define __NR_sched_yield (__NR_SYSCALL_BASE+158) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_get_priority_max) michael@0: #define __NR_sched_get_priority_max (__NR_SYSCALL_BASE+159) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_get_priority_min) michael@0: #define __NR_sched_get_priority_min (__NR_SYSCALL_BASE+160) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_rr_get_interval) michael@0: #define __NR_sched_rr_get_interval (__NR_SYSCALL_BASE+161) michael@0: #endif michael@0: michael@0: #if !defined(__NR_nanosleep) michael@0: #define __NR_nanosleep (__NR_SYSCALL_BASE+162) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mremap) michael@0: #define __NR_mremap (__NR_SYSCALL_BASE+163) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setresuid) michael@0: #define __NR_setresuid (__NR_SYSCALL_BASE+164) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getresuid) michael@0: #define __NR_getresuid (__NR_SYSCALL_BASE+165) michael@0: #endif michael@0: michael@0: #if !defined(__NR_poll) michael@0: #define __NR_poll (__NR_SYSCALL_BASE+168) michael@0: #endif michael@0: michael@0: #if !defined(__NR_nfsservctl) michael@0: #define __NR_nfsservctl (__NR_SYSCALL_BASE+169) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setresgid) michael@0: #define __NR_setresgid (__NR_SYSCALL_BASE+170) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getresgid) michael@0: #define __NR_getresgid (__NR_SYSCALL_BASE+171) michael@0: #endif michael@0: michael@0: #if !defined(__NR_prctl) michael@0: #define __NR_prctl (__NR_SYSCALL_BASE+172) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_sigreturn) michael@0: #define __NR_rt_sigreturn (__NR_SYSCALL_BASE+173) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_sigaction) michael@0: #define __NR_rt_sigaction (__NR_SYSCALL_BASE+174) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_sigprocmask) michael@0: #define __NR_rt_sigprocmask (__NR_SYSCALL_BASE+175) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_sigpending) michael@0: #define __NR_rt_sigpending (__NR_SYSCALL_BASE+176) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_sigtimedwait) michael@0: #define __NR_rt_sigtimedwait (__NR_SYSCALL_BASE+177) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_sigqueueinfo) michael@0: #define __NR_rt_sigqueueinfo (__NR_SYSCALL_BASE+178) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_sigsuspend) michael@0: #define __NR_rt_sigsuspend (__NR_SYSCALL_BASE+179) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pread64) michael@0: #define __NR_pread64 (__NR_SYSCALL_BASE+180) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pwrite64) michael@0: #define __NR_pwrite64 (__NR_SYSCALL_BASE+181) michael@0: #endif michael@0: michael@0: #if !defined(__NR_chown) michael@0: #define __NR_chown (__NR_SYSCALL_BASE+182) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getcwd) michael@0: #define __NR_getcwd (__NR_SYSCALL_BASE+183) michael@0: #endif michael@0: michael@0: #if !defined(__NR_capget) michael@0: #define __NR_capget (__NR_SYSCALL_BASE+184) michael@0: #endif michael@0: michael@0: #if !defined(__NR_capset) michael@0: #define __NR_capset (__NR_SYSCALL_BASE+185) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sigaltstack) michael@0: #define __NR_sigaltstack (__NR_SYSCALL_BASE+186) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sendfile) michael@0: #define __NR_sendfile (__NR_SYSCALL_BASE+187) michael@0: #endif michael@0: michael@0: #if !defined(__NR_vfork) michael@0: #define __NR_vfork (__NR_SYSCALL_BASE+190) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ugetrlimit) michael@0: #define __NR_ugetrlimit (__NR_SYSCALL_BASE+191) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mmap2) michael@0: #define __NR_mmap2 (__NR_SYSCALL_BASE+192) michael@0: #endif michael@0: michael@0: #if !defined(__NR_truncate64) michael@0: #define __NR_truncate64 (__NR_SYSCALL_BASE+193) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ftruncate64) michael@0: #define __NR_ftruncate64 (__NR_SYSCALL_BASE+194) michael@0: #endif michael@0: michael@0: #if !defined(__NR_stat64) michael@0: #define __NR_stat64 (__NR_SYSCALL_BASE+195) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lstat64) michael@0: #define __NR_lstat64 (__NR_SYSCALL_BASE+196) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fstat64) michael@0: #define __NR_fstat64 (__NR_SYSCALL_BASE+197) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lchown32) michael@0: #define __NR_lchown32 (__NR_SYSCALL_BASE+198) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getuid32) michael@0: #define __NR_getuid32 (__NR_SYSCALL_BASE+199) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getgid32) michael@0: #define __NR_getgid32 (__NR_SYSCALL_BASE+200) michael@0: #endif michael@0: michael@0: #if !defined(__NR_geteuid32) michael@0: #define __NR_geteuid32 (__NR_SYSCALL_BASE+201) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getegid32) michael@0: #define __NR_getegid32 (__NR_SYSCALL_BASE+202) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setreuid32) michael@0: #define __NR_setreuid32 (__NR_SYSCALL_BASE+203) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setregid32) michael@0: #define __NR_setregid32 (__NR_SYSCALL_BASE+204) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getgroups32) michael@0: #define __NR_getgroups32 (__NR_SYSCALL_BASE+205) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setgroups32) michael@0: #define __NR_setgroups32 (__NR_SYSCALL_BASE+206) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fchown32) michael@0: #define __NR_fchown32 (__NR_SYSCALL_BASE+207) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setresuid32) michael@0: #define __NR_setresuid32 (__NR_SYSCALL_BASE+208) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getresuid32) michael@0: #define __NR_getresuid32 (__NR_SYSCALL_BASE+209) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setresgid32) michael@0: #define __NR_setresgid32 (__NR_SYSCALL_BASE+210) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getresgid32) michael@0: #define __NR_getresgid32 (__NR_SYSCALL_BASE+211) michael@0: #endif michael@0: michael@0: #if !defined(__NR_chown32) michael@0: #define __NR_chown32 (__NR_SYSCALL_BASE+212) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setuid32) michael@0: #define __NR_setuid32 (__NR_SYSCALL_BASE+213) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setgid32) michael@0: #define __NR_setgid32 (__NR_SYSCALL_BASE+214) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setfsuid32) michael@0: #define __NR_setfsuid32 (__NR_SYSCALL_BASE+215) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setfsgid32) michael@0: #define __NR_setfsgid32 (__NR_SYSCALL_BASE+216) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getdents64) michael@0: #define __NR_getdents64 (__NR_SYSCALL_BASE+217) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pivot_root) michael@0: #define __NR_pivot_root (__NR_SYSCALL_BASE+218) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mincore) michael@0: #define __NR_mincore (__NR_SYSCALL_BASE+219) michael@0: #endif michael@0: michael@0: #if !defined(__NR_madvise) michael@0: #define __NR_madvise (__NR_SYSCALL_BASE+220) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fcntl64) michael@0: #define __NR_fcntl64 (__NR_SYSCALL_BASE+221) michael@0: #endif michael@0: michael@0: #if !defined(__NR_gettid) michael@0: #define __NR_gettid (__NR_SYSCALL_BASE+224) michael@0: #endif michael@0: michael@0: #if !defined(__NR_readahead) michael@0: #define __NR_readahead (__NR_SYSCALL_BASE+225) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setxattr) michael@0: #define __NR_setxattr (__NR_SYSCALL_BASE+226) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lsetxattr) michael@0: #define __NR_lsetxattr (__NR_SYSCALL_BASE+227) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fsetxattr) michael@0: #define __NR_fsetxattr (__NR_SYSCALL_BASE+228) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getxattr) michael@0: #define __NR_getxattr (__NR_SYSCALL_BASE+229) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lgetxattr) michael@0: #define __NR_lgetxattr (__NR_SYSCALL_BASE+230) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fgetxattr) michael@0: #define __NR_fgetxattr (__NR_SYSCALL_BASE+231) michael@0: #endif michael@0: michael@0: #if !defined(__NR_listxattr) michael@0: #define __NR_listxattr (__NR_SYSCALL_BASE+232) michael@0: #endif michael@0: michael@0: #if !defined(__NR_llistxattr) michael@0: #define __NR_llistxattr (__NR_SYSCALL_BASE+233) michael@0: #endif michael@0: michael@0: #if !defined(__NR_flistxattr) michael@0: #define __NR_flistxattr (__NR_SYSCALL_BASE+234) michael@0: #endif michael@0: michael@0: #if !defined(__NR_removexattr) michael@0: #define __NR_removexattr (__NR_SYSCALL_BASE+235) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lremovexattr) michael@0: #define __NR_lremovexattr (__NR_SYSCALL_BASE+236) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fremovexattr) michael@0: #define __NR_fremovexattr (__NR_SYSCALL_BASE+237) michael@0: #endif michael@0: michael@0: #if !defined(__NR_tkill) michael@0: #define __NR_tkill (__NR_SYSCALL_BASE+238) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sendfile64) michael@0: #define __NR_sendfile64 (__NR_SYSCALL_BASE+239) michael@0: #endif michael@0: michael@0: #if !defined(__NR_futex) michael@0: #define __NR_futex (__NR_SYSCALL_BASE+240) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_setaffinity) michael@0: #define __NR_sched_setaffinity (__NR_SYSCALL_BASE+241) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sched_getaffinity) michael@0: #define __NR_sched_getaffinity (__NR_SYSCALL_BASE+242) michael@0: #endif michael@0: michael@0: #if !defined(__NR_io_setup) michael@0: #define __NR_io_setup (__NR_SYSCALL_BASE+243) michael@0: #endif michael@0: michael@0: #if !defined(__NR_io_destroy) michael@0: #define __NR_io_destroy (__NR_SYSCALL_BASE+244) michael@0: #endif michael@0: michael@0: #if !defined(__NR_io_getevents) michael@0: #define __NR_io_getevents (__NR_SYSCALL_BASE+245) michael@0: #endif michael@0: michael@0: #if !defined(__NR_io_submit) michael@0: #define __NR_io_submit (__NR_SYSCALL_BASE+246) michael@0: #endif michael@0: michael@0: #if !defined(__NR_io_cancel) michael@0: #define __NR_io_cancel (__NR_SYSCALL_BASE+247) michael@0: #endif michael@0: michael@0: #if !defined(__NR_exit_group) michael@0: #define __NR_exit_group (__NR_SYSCALL_BASE+248) michael@0: #endif michael@0: michael@0: #if !defined(__NR_lookup_dcookie) michael@0: #define __NR_lookup_dcookie (__NR_SYSCALL_BASE+249) michael@0: #endif michael@0: michael@0: #if !defined(__NR_epoll_create) michael@0: #define __NR_epoll_create (__NR_SYSCALL_BASE+250) michael@0: #endif michael@0: michael@0: #if !defined(__NR_epoll_ctl) michael@0: #define __NR_epoll_ctl (__NR_SYSCALL_BASE+251) michael@0: #endif michael@0: michael@0: #if !defined(__NR_epoll_wait) michael@0: #define __NR_epoll_wait (__NR_SYSCALL_BASE+252) michael@0: #endif michael@0: michael@0: #if !defined(__NR_remap_file_pages) michael@0: #define __NR_remap_file_pages (__NR_SYSCALL_BASE+253) michael@0: #endif michael@0: michael@0: #if !defined(__NR_set_tid_address) michael@0: #define __NR_set_tid_address (__NR_SYSCALL_BASE+256) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timer_create) michael@0: #define __NR_timer_create (__NR_SYSCALL_BASE+257) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timer_settime) michael@0: #define __NR_timer_settime (__NR_SYSCALL_BASE+258) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timer_gettime) michael@0: #define __NR_timer_gettime (__NR_SYSCALL_BASE+259) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timer_getoverrun) michael@0: #define __NR_timer_getoverrun (__NR_SYSCALL_BASE+260) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timer_delete) michael@0: #define __NR_timer_delete (__NR_SYSCALL_BASE+261) michael@0: #endif michael@0: michael@0: #if !defined(__NR_clock_settime) michael@0: #define __NR_clock_settime (__NR_SYSCALL_BASE+262) michael@0: #endif michael@0: michael@0: #if !defined(__NR_clock_gettime) michael@0: #define __NR_clock_gettime (__NR_SYSCALL_BASE+263) michael@0: #endif michael@0: michael@0: #if !defined(__NR_clock_getres) michael@0: #define __NR_clock_getres (__NR_SYSCALL_BASE+264) michael@0: #endif michael@0: michael@0: #if !defined(__NR_clock_nanosleep) michael@0: #define __NR_clock_nanosleep (__NR_SYSCALL_BASE+265) michael@0: #endif michael@0: michael@0: #if !defined(__NR_statfs64) michael@0: #define __NR_statfs64 (__NR_SYSCALL_BASE+266) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fstatfs64) michael@0: #define __NR_fstatfs64 (__NR_SYSCALL_BASE+267) michael@0: #endif michael@0: michael@0: #if !defined(__NR_tgkill) michael@0: #define __NR_tgkill (__NR_SYSCALL_BASE+268) michael@0: #endif michael@0: michael@0: #if !defined(__NR_utimes) michael@0: #define __NR_utimes (__NR_SYSCALL_BASE+269) michael@0: #endif michael@0: michael@0: #if !defined(__NR_arm_fadvise64_64) michael@0: #define __NR_arm_fadvise64_64 (__NR_SYSCALL_BASE+270) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pciconfig_iobase) michael@0: #define __NR_pciconfig_iobase (__NR_SYSCALL_BASE+271) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pciconfig_read) michael@0: #define __NR_pciconfig_read (__NR_SYSCALL_BASE+272) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pciconfig_write) michael@0: #define __NR_pciconfig_write (__NR_SYSCALL_BASE+273) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mq_open) michael@0: #define __NR_mq_open (__NR_SYSCALL_BASE+274) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mq_unlink) michael@0: #define __NR_mq_unlink (__NR_SYSCALL_BASE+275) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mq_timedsend) michael@0: #define __NR_mq_timedsend (__NR_SYSCALL_BASE+276) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mq_timedreceive) michael@0: #define __NR_mq_timedreceive (__NR_SYSCALL_BASE+277) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mq_notify) michael@0: #define __NR_mq_notify (__NR_SYSCALL_BASE+278) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mq_getsetattr) michael@0: #define __NR_mq_getsetattr (__NR_SYSCALL_BASE+279) michael@0: #endif michael@0: michael@0: #if !defined(__NR_waitid) michael@0: #define __NR_waitid (__NR_SYSCALL_BASE+280) michael@0: #endif michael@0: michael@0: #if !defined(__NR_socket) michael@0: #define __NR_socket (__NR_SYSCALL_BASE+281) michael@0: #endif michael@0: michael@0: #if !defined(__NR_bind) michael@0: #define __NR_bind (__NR_SYSCALL_BASE+282) michael@0: #endif michael@0: michael@0: #if !defined(__NR_connect) michael@0: #define __NR_connect (__NR_SYSCALL_BASE+283) michael@0: #endif michael@0: michael@0: #if !defined(__NR_listen) michael@0: #define __NR_listen (__NR_SYSCALL_BASE+284) michael@0: #endif michael@0: michael@0: #if !defined(__NR_accept) michael@0: #define __NR_accept (__NR_SYSCALL_BASE+285) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getsockname) michael@0: #define __NR_getsockname (__NR_SYSCALL_BASE+286) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getpeername) michael@0: #define __NR_getpeername (__NR_SYSCALL_BASE+287) michael@0: #endif michael@0: michael@0: #if !defined(__NR_socketpair) michael@0: #define __NR_socketpair (__NR_SYSCALL_BASE+288) michael@0: #endif michael@0: michael@0: #if !defined(__NR_send) michael@0: #define __NR_send (__NR_SYSCALL_BASE+289) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sendto) michael@0: #define __NR_sendto (__NR_SYSCALL_BASE+290) michael@0: #endif michael@0: michael@0: #if !defined(__NR_recv) michael@0: #define __NR_recv (__NR_SYSCALL_BASE+291) michael@0: #endif michael@0: michael@0: #if !defined(__NR_recvfrom) michael@0: #define __NR_recvfrom (__NR_SYSCALL_BASE+292) michael@0: #endif michael@0: michael@0: #if !defined(__NR_shutdown) michael@0: #define __NR_shutdown (__NR_SYSCALL_BASE+293) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setsockopt) michael@0: #define __NR_setsockopt (__NR_SYSCALL_BASE+294) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getsockopt) michael@0: #define __NR_getsockopt (__NR_SYSCALL_BASE+295) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sendmsg) michael@0: #define __NR_sendmsg (__NR_SYSCALL_BASE+296) michael@0: #endif michael@0: michael@0: #if !defined(__NR_recvmsg) michael@0: #define __NR_recvmsg (__NR_SYSCALL_BASE+297) michael@0: #endif michael@0: michael@0: #if !defined(__NR_semop) michael@0: #define __NR_semop (__NR_SYSCALL_BASE+298) michael@0: #endif michael@0: michael@0: #if !defined(__NR_semget) michael@0: #define __NR_semget (__NR_SYSCALL_BASE+299) michael@0: #endif michael@0: michael@0: #if !defined(__NR_semctl) michael@0: #define __NR_semctl (__NR_SYSCALL_BASE+300) michael@0: #endif michael@0: michael@0: #if !defined(__NR_msgsnd) michael@0: #define __NR_msgsnd (__NR_SYSCALL_BASE+301) michael@0: #endif michael@0: michael@0: #if !defined(__NR_msgrcv) michael@0: #define __NR_msgrcv (__NR_SYSCALL_BASE+302) michael@0: #endif michael@0: michael@0: #if !defined(__NR_msgget) michael@0: #define __NR_msgget (__NR_SYSCALL_BASE+303) michael@0: #endif michael@0: michael@0: #if !defined(__NR_msgctl) michael@0: #define __NR_msgctl (__NR_SYSCALL_BASE+304) michael@0: #endif michael@0: michael@0: #if !defined(__NR_shmat) michael@0: #define __NR_shmat (__NR_SYSCALL_BASE+305) michael@0: #endif michael@0: michael@0: #if !defined(__NR_shmdt) michael@0: #define __NR_shmdt (__NR_SYSCALL_BASE+306) michael@0: #endif michael@0: michael@0: #if !defined(__NR_shmget) michael@0: #define __NR_shmget (__NR_SYSCALL_BASE+307) michael@0: #endif michael@0: michael@0: #if !defined(__NR_shmctl) michael@0: #define __NR_shmctl (__NR_SYSCALL_BASE+308) michael@0: #endif michael@0: michael@0: #if !defined(__NR_add_key) michael@0: #define __NR_add_key (__NR_SYSCALL_BASE+309) michael@0: #endif michael@0: michael@0: #if !defined(__NR_request_key) michael@0: #define __NR_request_key (__NR_SYSCALL_BASE+310) michael@0: #endif michael@0: michael@0: #if !defined(__NR_keyctl) michael@0: #define __NR_keyctl (__NR_SYSCALL_BASE+311) michael@0: #endif michael@0: michael@0: #if !defined(__NR_semtimedop) michael@0: #define __NR_semtimedop (__NR_SYSCALL_BASE+312) michael@0: #endif michael@0: michael@0: #if !defined(__NR_vserver) michael@0: #define __NR_vserver (__NR_SYSCALL_BASE+313) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ioprio_set) michael@0: #define __NR_ioprio_set (__NR_SYSCALL_BASE+314) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ioprio_get) michael@0: #define __NR_ioprio_get (__NR_SYSCALL_BASE+315) michael@0: #endif michael@0: michael@0: #if !defined(__NR_inotify_init) michael@0: #define __NR_inotify_init (__NR_SYSCALL_BASE+316) michael@0: #endif michael@0: michael@0: #if !defined(__NR_inotify_add_watch) michael@0: #define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317) michael@0: #endif michael@0: michael@0: #if !defined(__NR_inotify_rm_watch) michael@0: #define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mbind) michael@0: #define __NR_mbind (__NR_SYSCALL_BASE+319) michael@0: #endif michael@0: michael@0: #if !defined(__NR_get_mempolicy) michael@0: #define __NR_get_mempolicy (__NR_SYSCALL_BASE+320) michael@0: #endif michael@0: michael@0: #if !defined(__NR_set_mempolicy) michael@0: #define __NR_set_mempolicy (__NR_SYSCALL_BASE+321) michael@0: #endif michael@0: michael@0: #if !defined(__NR_openat) michael@0: #define __NR_openat (__NR_SYSCALL_BASE+322) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mkdirat) michael@0: #define __NR_mkdirat (__NR_SYSCALL_BASE+323) michael@0: #endif michael@0: michael@0: #if !defined(__NR_mknodat) michael@0: #define __NR_mknodat (__NR_SYSCALL_BASE+324) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fchownat) michael@0: #define __NR_fchownat (__NR_SYSCALL_BASE+325) michael@0: #endif michael@0: michael@0: #if !defined(__NR_futimesat) michael@0: #define __NR_futimesat (__NR_SYSCALL_BASE+326) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fstatat64) michael@0: #define __NR_fstatat64 (__NR_SYSCALL_BASE+327) michael@0: #endif michael@0: michael@0: #if !defined(__NR_unlinkat) michael@0: #define __NR_unlinkat (__NR_SYSCALL_BASE+328) michael@0: #endif michael@0: michael@0: #if !defined(__NR_renameat) michael@0: #define __NR_renameat (__NR_SYSCALL_BASE+329) michael@0: #endif michael@0: michael@0: #if !defined(__NR_linkat) michael@0: #define __NR_linkat (__NR_SYSCALL_BASE+330) michael@0: #endif michael@0: michael@0: #if !defined(__NR_symlinkat) michael@0: #define __NR_symlinkat (__NR_SYSCALL_BASE+331) michael@0: #endif michael@0: michael@0: #if !defined(__NR_readlinkat) michael@0: #define __NR_readlinkat (__NR_SYSCALL_BASE+332) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fchmodat) michael@0: #define __NR_fchmodat (__NR_SYSCALL_BASE+333) michael@0: #endif michael@0: michael@0: #if !defined(__NR_faccessat) michael@0: #define __NR_faccessat (__NR_SYSCALL_BASE+334) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pselect6) michael@0: #define __NR_pselect6 (__NR_SYSCALL_BASE+335) michael@0: #endif michael@0: michael@0: #if !defined(__NR_ppoll) michael@0: #define __NR_ppoll (__NR_SYSCALL_BASE+336) michael@0: #endif michael@0: michael@0: #if !defined(__NR_unshare) michael@0: #define __NR_unshare (__NR_SYSCALL_BASE+337) michael@0: #endif michael@0: michael@0: #if !defined(__NR_set_robust_list) michael@0: #define __NR_set_robust_list (__NR_SYSCALL_BASE+338) michael@0: #endif michael@0: michael@0: #if !defined(__NR_get_robust_list) michael@0: #define __NR_get_robust_list (__NR_SYSCALL_BASE+339) michael@0: #endif michael@0: michael@0: #if !defined(__NR_splice) michael@0: #define __NR_splice (__NR_SYSCALL_BASE+340) michael@0: #endif michael@0: michael@0: #if !defined(__NR_arm_sync_file_range) michael@0: #define __NR_arm_sync_file_range (__NR_SYSCALL_BASE+341) michael@0: #endif michael@0: michael@0: #if !defined(__NR_tee) michael@0: #define __NR_tee (__NR_SYSCALL_BASE+342) michael@0: #endif michael@0: michael@0: #if !defined(__NR_vmsplice) michael@0: #define __NR_vmsplice (__NR_SYSCALL_BASE+343) michael@0: #endif michael@0: michael@0: #if !defined(__NR_move_pages) michael@0: #define __NR_move_pages (__NR_SYSCALL_BASE+344) michael@0: #endif michael@0: michael@0: #if !defined(__NR_getcpu) michael@0: #define __NR_getcpu (__NR_SYSCALL_BASE+345) michael@0: #endif michael@0: michael@0: #if !defined(__NR_epoll_pwait) michael@0: #define __NR_epoll_pwait (__NR_SYSCALL_BASE+346) michael@0: #endif michael@0: michael@0: #if !defined(__NR_kexec_load) michael@0: #define __NR_kexec_load (__NR_SYSCALL_BASE+347) michael@0: #endif michael@0: michael@0: #if !defined(__NR_utimensat) michael@0: #define __NR_utimensat (__NR_SYSCALL_BASE+348) michael@0: #endif michael@0: michael@0: #if !defined(__NR_signalfd) michael@0: #define __NR_signalfd (__NR_SYSCALL_BASE+349) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timerfd_create) michael@0: #define __NR_timerfd_create (__NR_SYSCALL_BASE+350) michael@0: #endif michael@0: michael@0: #if !defined(__NR_eventfd) michael@0: #define __NR_eventfd (__NR_SYSCALL_BASE+351) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fallocate) michael@0: #define __NR_fallocate (__NR_SYSCALL_BASE+352) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timerfd_settime) michael@0: #define __NR_timerfd_settime (__NR_SYSCALL_BASE+353) michael@0: #endif michael@0: michael@0: #if !defined(__NR_timerfd_gettime) michael@0: #define __NR_timerfd_gettime (__NR_SYSCALL_BASE+354) michael@0: #endif michael@0: michael@0: #if !defined(__NR_signalfd4) michael@0: #define __NR_signalfd4 (__NR_SYSCALL_BASE+355) michael@0: #endif michael@0: michael@0: #if !defined(__NR_eventfd2) michael@0: #define __NR_eventfd2 (__NR_SYSCALL_BASE+356) michael@0: #endif michael@0: michael@0: #if !defined(__NR_epoll_create1) michael@0: #define __NR_epoll_create1 (__NR_SYSCALL_BASE+357) michael@0: #endif michael@0: michael@0: #if !defined(__NR_dup3) michael@0: #define __NR_dup3 (__NR_SYSCALL_BASE+358) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pipe2) michael@0: #define __NR_pipe2 (__NR_SYSCALL_BASE+359) michael@0: #endif michael@0: michael@0: #if !defined(__NR_inotify_init1) michael@0: #define __NR_inotify_init1 (__NR_SYSCALL_BASE+360) michael@0: #endif michael@0: michael@0: #if !defined(__NR_preadv) michael@0: #define __NR_preadv (__NR_SYSCALL_BASE+361) michael@0: #endif michael@0: michael@0: #if !defined(__NR_pwritev) michael@0: #define __NR_pwritev (__NR_SYSCALL_BASE+362) michael@0: #endif michael@0: michael@0: #if !defined(__NR_rt_tgsigqueueinfo) michael@0: #define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363) michael@0: #endif michael@0: michael@0: #if !defined(__NR_perf_event_open) michael@0: #define __NR_perf_event_open (__NR_SYSCALL_BASE+364) michael@0: #endif michael@0: michael@0: #if !defined(__NR_recvmmsg) michael@0: #define __NR_recvmmsg (__NR_SYSCALL_BASE+365) michael@0: #endif michael@0: michael@0: #if !defined(__NR_accept4) michael@0: #define __NR_accept4 (__NR_SYSCALL_BASE+366) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fanotify_init) michael@0: #define __NR_fanotify_init (__NR_SYSCALL_BASE+367) michael@0: #endif michael@0: michael@0: #if !defined(__NR_fanotify_mark) michael@0: #define __NR_fanotify_mark (__NR_SYSCALL_BASE+368) michael@0: #endif michael@0: michael@0: #if !defined(__NR_prlimit64) michael@0: #define __NR_prlimit64 (__NR_SYSCALL_BASE+369) michael@0: #endif michael@0: michael@0: #if !defined(__NR_name_to_handle_at) michael@0: #define __NR_name_to_handle_at (__NR_SYSCALL_BASE+370) michael@0: #endif michael@0: michael@0: #if !defined(__NR_open_by_handle_at) michael@0: #define __NR_open_by_handle_at (__NR_SYSCALL_BASE+371) michael@0: #endif michael@0: michael@0: #if !defined(__NR_clock_adjtime) michael@0: #define __NR_clock_adjtime (__NR_SYSCALL_BASE+372) michael@0: #endif michael@0: michael@0: #if !defined(__NR_syncfs) michael@0: #define __NR_syncfs (__NR_SYSCALL_BASE+373) michael@0: #endif michael@0: michael@0: #if !defined(__NR_sendmmsg) michael@0: #define __NR_sendmmsg (__NR_SYSCALL_BASE+374) michael@0: #endif michael@0: michael@0: #if !defined(__NR_setns) michael@0: #define __NR_setns (__NR_SYSCALL_BASE+375) michael@0: #endif michael@0: michael@0: #if !defined(__NR_process_vm_readv) michael@0: #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) michael@0: #endif michael@0: michael@0: #if !defined(__NR_process_vm_writev) michael@0: #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) michael@0: #endif michael@0: michael@0: // ARM private syscalls. michael@0: #if !defined(__ARM_NR_breakpoint) michael@0: #define __ARM_NR_breakpoint (__ARM_NR_BASE+1) michael@0: #endif michael@0: michael@0: #if !defined(__ARM_NR_cacheflush) michael@0: #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) michael@0: #endif michael@0: michael@0: #if !defined(__ARM_NR_usr26) michael@0: #define __ARM_NR_usr26 (__ARM_NR_BASE+3) michael@0: #endif michael@0: michael@0: #if !defined(__ARM_NR_usr32) michael@0: #define __ARM_NR_usr32 (__ARM_NR_BASE+4) michael@0: #endif michael@0: michael@0: #if !defined(__ARM_NR_set_tls) michael@0: #define __ARM_NR_set_tls (__ARM_NR_BASE+5) michael@0: #endif michael@0: michael@0: // ARM kernel private syscall. michael@0: #if !defined(__ARM_NR_cmpxchg) michael@0: #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) michael@0: #endif michael@0: michael@0: #endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ michael@0: