diff options
author | Elliott Hughes <enh@google.com> | 2013-03-21 22:15:06 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-03-21 22:26:20 -0700 |
commit | 5c2772f59d3b6f564897187324d8606f54423207 (patch) | |
tree | 2e6558ee71209b8520dbdd757b1d2cae37937040 /libc | |
parent | babb72dc292a567674f6d7d2ccf7f63edaf77b80 (diff) | |
download | bionic-5c2772f59d3b6f564897187324d8606f54423207.zip bionic-5c2772f59d3b6f564897187324d8606f54423207.tar.gz bionic-5c2772f59d3b6f564897187324d8606f54423207.tar.bz2 |
The SYS_ constants should cover all __NR_ values.
<sys/linux-syscalls.h> only contains constants for the syscalls
we're generating stubs for. We want all the syscalls available
on the architecture in question.
Keep using <sys/linux-syscalls.h> on ARM for now because the
__NR_ARM_set_tls and __NR_ARM_cacheflush values aren't in <asm/unistd.h>.
Change-Id: I66683950d87d9b18d6107d0acc0ed238a4496f44
Diffstat (limited to 'libc')
413 files changed, 1499 insertions, 914 deletions
diff --git a/libc/arch-arm/bionic/kill.S b/libc/arch-arm/bionic/kill.S index 7e030f3..723602a 100644 --- a/libc/arch-arm/bionic/kill.S +++ b/libc/arch-arm/bionic/kill.S @@ -25,6 +25,11 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + +#include <linux/err.h> +#include <asm/unistd.h> +#include <machine/asm.h> + /* unlike our auto-generated syscall stubs, this code saves lr on the stack, as well as a few other registers. this makes our stack unwinder happy, when we generate debug stack @@ -33,14 +38,6 @@ of a corrupted malloc heap). */ -#include <linux/err.h> -#include <sys/linux-syscalls.h> -#include <machine/asm.h> - -#ifndef __NR_kill -#define __NR_kill 37 -#endif - ENTRY(kill) stmfd sp!, {r4-r7, ip, lr} ldr r7, =__NR_kill diff --git a/libc/arch-arm/bionic/tgkill.S b/libc/arch-arm/bionic/tgkill.S index 60df9e6..f46cb58 100644 --- a/libc/arch-arm/bionic/tgkill.S +++ b/libc/arch-arm/bionic/tgkill.S @@ -25,6 +25,11 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + +#include <linux/err.h> +#include <asm/unistd.h> +#include <machine/asm.h> + /* unlike our auto-generated syscall stubs, this code saves lr on the stack, as well as a few other registers. this makes our stack unwinder happy, when we generate debug stack @@ -33,14 +38,6 @@ of a corrupted malloc heap). */ -#include <linux/err.h> -#include <sys/linux-syscalls.h> -#include <machine/asm.h> - -#ifndef __NR_tgkill -#define __NR_tgkill 268 -#endif - ENTRY(tgkill) stmfd sp!, {r4-r7, ip, lr} ldr r7, =__NR_tgkill diff --git a/libc/arch-arm/bionic/tkill.S b/libc/arch-arm/bionic/tkill.S index d5bb739..fd6e21e 100644 --- a/libc/arch-arm/bionic/tkill.S +++ b/libc/arch-arm/bionic/tkill.S @@ -25,6 +25,11 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + +#include <linux/err.h> +#include <asm/unistd.h> +#include <machine/asm.h> + /* unlike our auto-generated syscall stubs, this code saves lr on the stack, as well as a few other registers. this makes our stack unwinder happy, when we generate debug stack @@ -33,14 +38,6 @@ of a corrupted malloc heap). */ -#include <linux/err.h> -#include <sys/linux-syscalls.h> -#include <machine/asm.h> - -#ifndef __NR_tkill -#define __NR_tkill 238 -#endif - ENTRY(tkill) stmfd sp!, {r4-r7, ip, lr} ldr r7, =__NR_tkill diff --git a/libc/arch-mips/syscalls/__brk.S b/libc/arch-mips/syscalls/__brk.S index 1f09772..9797b9d 100644 --- a/libc/arch-mips/syscalls/__brk.S +++ b/libc/arch-mips/syscalls/__brk.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __brk .align 4 diff --git a/libc/arch-mips/syscalls/__fcntl.S b/libc/arch-mips/syscalls/__fcntl.S index 6dd76e3..b6a0fda 100644 --- a/libc/arch-mips/syscalls/__fcntl.S +++ b/libc/arch-mips/syscalls/__fcntl.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __fcntl .align 4 diff --git a/libc/arch-mips/syscalls/__fcntl64.S b/libc/arch-mips/syscalls/__fcntl64.S index e82e382..d2725e3 100644 --- a/libc/arch-mips/syscalls/__fcntl64.S +++ b/libc/arch-mips/syscalls/__fcntl64.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __fcntl64 .align 4 diff --git a/libc/arch-mips/syscalls/__fork.S b/libc/arch-mips/syscalls/__fork.S index db30472..e8d1dea 100644 --- a/libc/arch-mips/syscalls/__fork.S +++ b/libc/arch-mips/syscalls/__fork.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __fork .align 4 diff --git a/libc/arch-mips/syscalls/__fstatfs64.S b/libc/arch-mips/syscalls/__fstatfs64.S index 6485d10..0e9bce4 100644 --- a/libc/arch-mips/syscalls/__fstatfs64.S +++ b/libc/arch-mips/syscalls/__fstatfs64.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __fstatfs64 .align 4 diff --git a/libc/arch-mips/syscalls/__getcpu.S b/libc/arch-mips/syscalls/__getcpu.S index 90d59f4..052510f 100644 --- a/libc/arch-mips/syscalls/__getcpu.S +++ b/libc/arch-mips/syscalls/__getcpu.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __getcpu .align 4 diff --git a/libc/arch-mips/syscalls/__getcwd.S b/libc/arch-mips/syscalls/__getcwd.S index e8fa340..11a7a94 100644 --- a/libc/arch-mips/syscalls/__getcwd.S +++ b/libc/arch-mips/syscalls/__getcwd.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __getcwd .align 4 diff --git a/libc/arch-mips/syscalls/__getpriority.S b/libc/arch-mips/syscalls/__getpriority.S index 7cabd31..b1bf9ea 100644 --- a/libc/arch-mips/syscalls/__getpriority.S +++ b/libc/arch-mips/syscalls/__getpriority.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __getpriority .align 4 diff --git a/libc/arch-mips/syscalls/__ioctl.S b/libc/arch-mips/syscalls/__ioctl.S index 2524e02..d072bd8 100644 --- a/libc/arch-mips/syscalls/__ioctl.S +++ b/libc/arch-mips/syscalls/__ioctl.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __ioctl .align 4 diff --git a/libc/arch-mips/syscalls/__llseek.S b/libc/arch-mips/syscalls/__llseek.S index fbfd583..4248e0c 100644 --- a/libc/arch-mips/syscalls/__llseek.S +++ b/libc/arch-mips/syscalls/__llseek.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __llseek .align 4 diff --git a/libc/arch-mips/syscalls/__mmap2.S b/libc/arch-mips/syscalls/__mmap2.S index 98f97eb..8f4534c 100644 --- a/libc/arch-mips/syscalls/__mmap2.S +++ b/libc/arch-mips/syscalls/__mmap2.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __mmap2 .align 4 diff --git a/libc/arch-mips/syscalls/__open.S b/libc/arch-mips/syscalls/__open.S index 0ccb286..9c0a7c6 100644 --- a/libc/arch-mips/syscalls/__open.S +++ b/libc/arch-mips/syscalls/__open.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __open .align 4 diff --git a/libc/arch-mips/syscalls/__openat.S b/libc/arch-mips/syscalls/__openat.S index 04399b4..f2451b4 100644 --- a/libc/arch-mips/syscalls/__openat.S +++ b/libc/arch-mips/syscalls/__openat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __openat .align 4 diff --git a/libc/arch-mips/syscalls/__ptrace.S b/libc/arch-mips/syscalls/__ptrace.S index 0bcba9f..f892650 100644 --- a/libc/arch-mips/syscalls/__ptrace.S +++ b/libc/arch-mips/syscalls/__ptrace.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __ptrace .align 4 diff --git a/libc/arch-mips/syscalls/__reboot.S b/libc/arch-mips/syscalls/__reboot.S index 5e8e57a..dcd68e4 100644 --- a/libc/arch-mips/syscalls/__reboot.S +++ b/libc/arch-mips/syscalls/__reboot.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __reboot .align 4 diff --git a/libc/arch-mips/syscalls/__rt_sigaction.S b/libc/arch-mips/syscalls/__rt_sigaction.S index 43a571a..b828681 100644 --- a/libc/arch-mips/syscalls/__rt_sigaction.S +++ b/libc/arch-mips/syscalls/__rt_sigaction.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __rt_sigaction .align 4 diff --git a/libc/arch-mips/syscalls/__rt_sigprocmask.S b/libc/arch-mips/syscalls/__rt_sigprocmask.S index 59a8894..6faf1ef 100644 --- a/libc/arch-mips/syscalls/__rt_sigprocmask.S +++ b/libc/arch-mips/syscalls/__rt_sigprocmask.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __rt_sigprocmask .align 4 diff --git a/libc/arch-mips/syscalls/__rt_sigtimedwait.S b/libc/arch-mips/syscalls/__rt_sigtimedwait.S index dae872e..1a6ae6e 100644 --- a/libc/arch-mips/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-mips/syscalls/__rt_sigtimedwait.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __rt_sigtimedwait .align 4 diff --git a/libc/arch-mips/syscalls/__sched_getaffinity.S b/libc/arch-mips/syscalls/__sched_getaffinity.S index cc01ff2..4099baa 100644 --- a/libc/arch-mips/syscalls/__sched_getaffinity.S +++ b/libc/arch-mips/syscalls/__sched_getaffinity.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __sched_getaffinity .align 4 diff --git a/libc/arch-mips/syscalls/__set_thread_area.S b/libc/arch-mips/syscalls/__set_thread_area.S index 2aac901..d198513 100644 --- a/libc/arch-mips/syscalls/__set_thread_area.S +++ b/libc/arch-mips/syscalls/__set_thread_area.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __set_thread_area .align 4 diff --git a/libc/arch-mips/syscalls/__setresuid.S b/libc/arch-mips/syscalls/__setresuid.S index e00d2e1..e43e121 100644 --- a/libc/arch-mips/syscalls/__setresuid.S +++ b/libc/arch-mips/syscalls/__setresuid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __setresuid .align 4 diff --git a/libc/arch-mips/syscalls/__setreuid.S b/libc/arch-mips/syscalls/__setreuid.S index b45f3fc..72bca16 100644 --- a/libc/arch-mips/syscalls/__setreuid.S +++ b/libc/arch-mips/syscalls/__setreuid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __setreuid .align 4 diff --git a/libc/arch-mips/syscalls/__setuid.S b/libc/arch-mips/syscalls/__setuid.S index c221526..360552c 100644 --- a/libc/arch-mips/syscalls/__setuid.S +++ b/libc/arch-mips/syscalls/__setuid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __setuid .align 4 diff --git a/libc/arch-mips/syscalls/__sigsuspend.S b/libc/arch-mips/syscalls/__sigsuspend.S index b622efe..2b6f6d7 100644 --- a/libc/arch-mips/syscalls/__sigsuspend.S +++ b/libc/arch-mips/syscalls/__sigsuspend.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __sigsuspend .align 4 diff --git a/libc/arch-mips/syscalls/__statfs64.S b/libc/arch-mips/syscalls/__statfs64.S index 4d1b17f..167f338 100644 --- a/libc/arch-mips/syscalls/__statfs64.S +++ b/libc/arch-mips/syscalls/__statfs64.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __statfs64 .align 4 diff --git a/libc/arch-mips/syscalls/__sys_clone.S b/libc/arch-mips/syscalls/__sys_clone.S index 3451e02..718466b 100644 --- a/libc/arch-mips/syscalls/__sys_clone.S +++ b/libc/arch-mips/syscalls/__sys_clone.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __sys_clone .align 4 diff --git a/libc/arch-mips/syscalls/__syslog.S b/libc/arch-mips/syscalls/__syslog.S index bdc194d..8b30c50 100644 --- a/libc/arch-mips/syscalls/__syslog.S +++ b/libc/arch-mips/syscalls/__syslog.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __syslog .align 4 diff --git a/libc/arch-mips/syscalls/__timer_create.S b/libc/arch-mips/syscalls/__timer_create.S index 140d0d1..7d34312 100644 --- a/libc/arch-mips/syscalls/__timer_create.S +++ b/libc/arch-mips/syscalls/__timer_create.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __timer_create .align 4 diff --git a/libc/arch-mips/syscalls/__timer_delete.S b/libc/arch-mips/syscalls/__timer_delete.S index 4f362e6..45c95bc 100644 --- a/libc/arch-mips/syscalls/__timer_delete.S +++ b/libc/arch-mips/syscalls/__timer_delete.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __timer_delete .align 4 diff --git a/libc/arch-mips/syscalls/__timer_getoverrun.S b/libc/arch-mips/syscalls/__timer_getoverrun.S index 68afa1c..2175ecd 100644 --- a/libc/arch-mips/syscalls/__timer_getoverrun.S +++ b/libc/arch-mips/syscalls/__timer_getoverrun.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __timer_getoverrun .align 4 diff --git a/libc/arch-mips/syscalls/__timer_gettime.S b/libc/arch-mips/syscalls/__timer_gettime.S index 4a70da6..3d5944f 100644 --- a/libc/arch-mips/syscalls/__timer_gettime.S +++ b/libc/arch-mips/syscalls/__timer_gettime.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __timer_gettime .align 4 diff --git a/libc/arch-mips/syscalls/__timer_settime.S b/libc/arch-mips/syscalls/__timer_settime.S index ad84606..387ab4a 100644 --- a/libc/arch-mips/syscalls/__timer_settime.S +++ b/libc/arch-mips/syscalls/__timer_settime.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __timer_settime .align 4 diff --git a/libc/arch-mips/syscalls/__waitid.S b/libc/arch-mips/syscalls/__waitid.S index 83e5aa3..979a22b 100644 --- a/libc/arch-mips/syscalls/__waitid.S +++ b/libc/arch-mips/syscalls/__waitid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl __waitid .align 4 diff --git a/libc/arch-mips/syscalls/_exit.S b/libc/arch-mips/syscalls/_exit.S index b7ec876..c6f84f5 100644 --- a/libc/arch-mips/syscalls/_exit.S +++ b/libc/arch-mips/syscalls/_exit.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl _exit .align 4 diff --git a/libc/arch-mips/syscalls/_exit_thread.S b/libc/arch-mips/syscalls/_exit_thread.S index 0af9d3d..d5547e8 100644 --- a/libc/arch-mips/syscalls/_exit_thread.S +++ b/libc/arch-mips/syscalls/_exit_thread.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl _exit_thread .align 4 diff --git a/libc/arch-mips/syscalls/_flush_cache.S b/libc/arch-mips/syscalls/_flush_cache.S index 07dee66..cee9dbc 100644 --- a/libc/arch-mips/syscalls/_flush_cache.S +++ b/libc/arch-mips/syscalls/_flush_cache.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl _flush_cache .align 4 diff --git a/libc/arch-mips/syscalls/_waitpid.S b/libc/arch-mips/syscalls/_waitpid.S index 20db3a8..be5887f 100644 --- a/libc/arch-mips/syscalls/_waitpid.S +++ b/libc/arch-mips/syscalls/_waitpid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl _waitpid .align 4 diff --git a/libc/arch-mips/syscalls/accept.S b/libc/arch-mips/syscalls/accept.S index c19216e..c9b4772 100644 --- a/libc/arch-mips/syscalls/accept.S +++ b/libc/arch-mips/syscalls/accept.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl accept .align 4 diff --git a/libc/arch-mips/syscalls/access.S b/libc/arch-mips/syscalls/access.S index a22ed92..2b4bec4 100644 --- a/libc/arch-mips/syscalls/access.S +++ b/libc/arch-mips/syscalls/access.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl access .align 4 diff --git a/libc/arch-mips/syscalls/acct.S b/libc/arch-mips/syscalls/acct.S index 5235ede..598f762 100644 --- a/libc/arch-mips/syscalls/acct.S +++ b/libc/arch-mips/syscalls/acct.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl acct .align 4 diff --git a/libc/arch-mips/syscalls/bind.S b/libc/arch-mips/syscalls/bind.S index 4f00922..58ab603 100644 --- a/libc/arch-mips/syscalls/bind.S +++ b/libc/arch-mips/syscalls/bind.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl bind .align 4 diff --git a/libc/arch-mips/syscalls/capget.S b/libc/arch-mips/syscalls/capget.S index 80e55ee..e6d8755 100644 --- a/libc/arch-mips/syscalls/capget.S +++ b/libc/arch-mips/syscalls/capget.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl capget .align 4 diff --git a/libc/arch-mips/syscalls/capset.S b/libc/arch-mips/syscalls/capset.S index 0e4a3be..412d62e 100644 --- a/libc/arch-mips/syscalls/capset.S +++ b/libc/arch-mips/syscalls/capset.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl capset .align 4 diff --git a/libc/arch-mips/syscalls/chdir.S b/libc/arch-mips/syscalls/chdir.S index 42eb37c..217e000 100644 --- a/libc/arch-mips/syscalls/chdir.S +++ b/libc/arch-mips/syscalls/chdir.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl chdir .align 4 diff --git a/libc/arch-mips/syscalls/chmod.S b/libc/arch-mips/syscalls/chmod.S index 7ea3ede..7f7f8ee 100644 --- a/libc/arch-mips/syscalls/chmod.S +++ b/libc/arch-mips/syscalls/chmod.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl chmod .align 4 diff --git a/libc/arch-mips/syscalls/chown.S b/libc/arch-mips/syscalls/chown.S index 5fb1e32..8064572 100644 --- a/libc/arch-mips/syscalls/chown.S +++ b/libc/arch-mips/syscalls/chown.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl chown .align 4 diff --git a/libc/arch-mips/syscalls/chroot.S b/libc/arch-mips/syscalls/chroot.S index fafb6a2..07b28e9 100644 --- a/libc/arch-mips/syscalls/chroot.S +++ b/libc/arch-mips/syscalls/chroot.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl chroot .align 4 diff --git a/libc/arch-mips/syscalls/clock_getres.S b/libc/arch-mips/syscalls/clock_getres.S index 4021b14..c7c8de1 100644 --- a/libc/arch-mips/syscalls/clock_getres.S +++ b/libc/arch-mips/syscalls/clock_getres.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl clock_getres .align 4 diff --git a/libc/arch-mips/syscalls/clock_gettime.S b/libc/arch-mips/syscalls/clock_gettime.S index ba7afb9..b89c9d0 100644 --- a/libc/arch-mips/syscalls/clock_gettime.S +++ b/libc/arch-mips/syscalls/clock_gettime.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl clock_gettime .align 4 diff --git a/libc/arch-mips/syscalls/clock_nanosleep.S b/libc/arch-mips/syscalls/clock_nanosleep.S index 1a9aef5..ec85361 100644 --- a/libc/arch-mips/syscalls/clock_nanosleep.S +++ b/libc/arch-mips/syscalls/clock_nanosleep.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl clock_nanosleep .align 4 diff --git a/libc/arch-mips/syscalls/clock_settime.S b/libc/arch-mips/syscalls/clock_settime.S index 65d4388..3e6f2e6 100644 --- a/libc/arch-mips/syscalls/clock_settime.S +++ b/libc/arch-mips/syscalls/clock_settime.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl clock_settime .align 4 diff --git a/libc/arch-mips/syscalls/close.S b/libc/arch-mips/syscalls/close.S index 07ff4e3..115c286 100644 --- a/libc/arch-mips/syscalls/close.S +++ b/libc/arch-mips/syscalls/close.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl close .align 4 diff --git a/libc/arch-mips/syscalls/connect.S b/libc/arch-mips/syscalls/connect.S index d1fc280..13300e2 100644 --- a/libc/arch-mips/syscalls/connect.S +++ b/libc/arch-mips/syscalls/connect.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl connect .align 4 diff --git a/libc/arch-mips/syscalls/delete_module.S b/libc/arch-mips/syscalls/delete_module.S index db80ba7..b820c7d 100644 --- a/libc/arch-mips/syscalls/delete_module.S +++ b/libc/arch-mips/syscalls/delete_module.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl delete_module .align 4 diff --git a/libc/arch-mips/syscalls/dup.S b/libc/arch-mips/syscalls/dup.S index e815749..da45c9e 100644 --- a/libc/arch-mips/syscalls/dup.S +++ b/libc/arch-mips/syscalls/dup.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl dup .align 4 diff --git a/libc/arch-mips/syscalls/dup2.S b/libc/arch-mips/syscalls/dup2.S index 6fb151f..d040ef3 100644 --- a/libc/arch-mips/syscalls/dup2.S +++ b/libc/arch-mips/syscalls/dup2.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl dup2 .align 4 diff --git a/libc/arch-mips/syscalls/epoll_create.S b/libc/arch-mips/syscalls/epoll_create.S index e5e420b..2f4ac7f 100644 --- a/libc/arch-mips/syscalls/epoll_create.S +++ b/libc/arch-mips/syscalls/epoll_create.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl epoll_create .align 4 diff --git a/libc/arch-mips/syscalls/epoll_ctl.S b/libc/arch-mips/syscalls/epoll_ctl.S index f4f9f05..92b5425 100644 --- a/libc/arch-mips/syscalls/epoll_ctl.S +++ b/libc/arch-mips/syscalls/epoll_ctl.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl epoll_ctl .align 4 diff --git a/libc/arch-mips/syscalls/epoll_wait.S b/libc/arch-mips/syscalls/epoll_wait.S index 64d33fb..7665a10 100644 --- a/libc/arch-mips/syscalls/epoll_wait.S +++ b/libc/arch-mips/syscalls/epoll_wait.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl epoll_wait .align 4 diff --git a/libc/arch-mips/syscalls/eventfd.S b/libc/arch-mips/syscalls/eventfd.S index 5c4e22b..48d4c04 100644 --- a/libc/arch-mips/syscalls/eventfd.S +++ b/libc/arch-mips/syscalls/eventfd.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl eventfd .align 4 diff --git a/libc/arch-mips/syscalls/execve.S b/libc/arch-mips/syscalls/execve.S index 31b9276..2f279b8 100644 --- a/libc/arch-mips/syscalls/execve.S +++ b/libc/arch-mips/syscalls/execve.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl execve .align 4 diff --git a/libc/arch-mips/syscalls/faccessat.S b/libc/arch-mips/syscalls/faccessat.S index 97db4c0..93346f1 100644 --- a/libc/arch-mips/syscalls/faccessat.S +++ b/libc/arch-mips/syscalls/faccessat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl faccessat .align 4 diff --git a/libc/arch-mips/syscalls/fchdir.S b/libc/arch-mips/syscalls/fchdir.S index 93298bd..d3aa8d9 100644 --- a/libc/arch-mips/syscalls/fchdir.S +++ b/libc/arch-mips/syscalls/fchdir.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fchdir .align 4 diff --git a/libc/arch-mips/syscalls/fchmod.S b/libc/arch-mips/syscalls/fchmod.S index f483567..3837f18 100644 --- a/libc/arch-mips/syscalls/fchmod.S +++ b/libc/arch-mips/syscalls/fchmod.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fchmod .align 4 diff --git a/libc/arch-mips/syscalls/fchmodat.S b/libc/arch-mips/syscalls/fchmodat.S index 8ba1bbe..77487ab 100644 --- a/libc/arch-mips/syscalls/fchmodat.S +++ b/libc/arch-mips/syscalls/fchmodat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fchmodat .align 4 diff --git a/libc/arch-mips/syscalls/fchown.S b/libc/arch-mips/syscalls/fchown.S index 24fc08f..ba2ec81 100644 --- a/libc/arch-mips/syscalls/fchown.S +++ b/libc/arch-mips/syscalls/fchown.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fchown .align 4 diff --git a/libc/arch-mips/syscalls/fchownat.S b/libc/arch-mips/syscalls/fchownat.S index 983ed56..5b464e3 100644 --- a/libc/arch-mips/syscalls/fchownat.S +++ b/libc/arch-mips/syscalls/fchownat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fchownat .align 4 diff --git a/libc/arch-mips/syscalls/fdatasync.S b/libc/arch-mips/syscalls/fdatasync.S index 312439d..45d43fd 100644 --- a/libc/arch-mips/syscalls/fdatasync.S +++ b/libc/arch-mips/syscalls/fdatasync.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fdatasync .align 4 diff --git a/libc/arch-mips/syscalls/fgetxattr.S b/libc/arch-mips/syscalls/fgetxattr.S index 7e77e61..454e809 100644 --- a/libc/arch-mips/syscalls/fgetxattr.S +++ b/libc/arch-mips/syscalls/fgetxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fgetxattr .align 4 diff --git a/libc/arch-mips/syscalls/flistxattr.S b/libc/arch-mips/syscalls/flistxattr.S index 26e26e1..319d45a 100644 --- a/libc/arch-mips/syscalls/flistxattr.S +++ b/libc/arch-mips/syscalls/flistxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl flistxattr .align 4 diff --git a/libc/arch-mips/syscalls/flock.S b/libc/arch-mips/syscalls/flock.S index f9a3142..41d0deb 100644 --- a/libc/arch-mips/syscalls/flock.S +++ b/libc/arch-mips/syscalls/flock.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl flock .align 4 diff --git a/libc/arch-mips/syscalls/fremovexattr.S b/libc/arch-mips/syscalls/fremovexattr.S index db3eb6c..449e00c 100644 --- a/libc/arch-mips/syscalls/fremovexattr.S +++ b/libc/arch-mips/syscalls/fremovexattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fremovexattr .align 4 diff --git a/libc/arch-mips/syscalls/fsetxattr.S b/libc/arch-mips/syscalls/fsetxattr.S index 9e666f2..5c7731a 100644 --- a/libc/arch-mips/syscalls/fsetxattr.S +++ b/libc/arch-mips/syscalls/fsetxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fsetxattr .align 4 diff --git a/libc/arch-mips/syscalls/fstat.S b/libc/arch-mips/syscalls/fstat.S index 73d7235..201e94c 100644 --- a/libc/arch-mips/syscalls/fstat.S +++ b/libc/arch-mips/syscalls/fstat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fstat .align 4 diff --git a/libc/arch-mips/syscalls/fstatat.S b/libc/arch-mips/syscalls/fstatat.S index 3ae229e..e22d6fd 100644 --- a/libc/arch-mips/syscalls/fstatat.S +++ b/libc/arch-mips/syscalls/fstatat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fstatat .align 4 diff --git a/libc/arch-mips/syscalls/fsync.S b/libc/arch-mips/syscalls/fsync.S index e1cd316..168bc88 100644 --- a/libc/arch-mips/syscalls/fsync.S +++ b/libc/arch-mips/syscalls/fsync.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl fsync .align 4 diff --git a/libc/arch-mips/syscalls/ftruncate.S b/libc/arch-mips/syscalls/ftruncate.S index 5d72b43..aa84e1f 100644 --- a/libc/arch-mips/syscalls/ftruncate.S +++ b/libc/arch-mips/syscalls/ftruncate.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl ftruncate .align 4 diff --git a/libc/arch-mips/syscalls/ftruncate64.S b/libc/arch-mips/syscalls/ftruncate64.S index 216ae38..398069c 100644 --- a/libc/arch-mips/syscalls/ftruncate64.S +++ b/libc/arch-mips/syscalls/ftruncate64.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl ftruncate64 .align 4 diff --git a/libc/arch-mips/syscalls/futex.S b/libc/arch-mips/syscalls/futex.S index 65e537a..2cf4eb0 100644 --- a/libc/arch-mips/syscalls/futex.S +++ b/libc/arch-mips/syscalls/futex.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl futex .align 4 diff --git a/libc/arch-mips/syscalls/getdents.S b/libc/arch-mips/syscalls/getdents.S index 8ff0f26..4a4f63c 100644 --- a/libc/arch-mips/syscalls/getdents.S +++ b/libc/arch-mips/syscalls/getdents.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getdents .align 4 diff --git a/libc/arch-mips/syscalls/getegid.S b/libc/arch-mips/syscalls/getegid.S index dc2a04b..c6b6ccb 100644 --- a/libc/arch-mips/syscalls/getegid.S +++ b/libc/arch-mips/syscalls/getegid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getegid .align 4 diff --git a/libc/arch-mips/syscalls/geteuid.S b/libc/arch-mips/syscalls/geteuid.S index 8beca88..cdcf793 100644 --- a/libc/arch-mips/syscalls/geteuid.S +++ b/libc/arch-mips/syscalls/geteuid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl geteuid .align 4 diff --git a/libc/arch-mips/syscalls/getgid.S b/libc/arch-mips/syscalls/getgid.S index 6a615ee..af25ff0 100644 --- a/libc/arch-mips/syscalls/getgid.S +++ b/libc/arch-mips/syscalls/getgid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getgid .align 4 diff --git a/libc/arch-mips/syscalls/getgroups.S b/libc/arch-mips/syscalls/getgroups.S index 8be7308..35b62a6 100644 --- a/libc/arch-mips/syscalls/getgroups.S +++ b/libc/arch-mips/syscalls/getgroups.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getgroups .align 4 diff --git a/libc/arch-mips/syscalls/getitimer.S b/libc/arch-mips/syscalls/getitimer.S index 3df1d11..82e6a45 100644 --- a/libc/arch-mips/syscalls/getitimer.S +++ b/libc/arch-mips/syscalls/getitimer.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getitimer .align 4 diff --git a/libc/arch-mips/syscalls/getpeername.S b/libc/arch-mips/syscalls/getpeername.S index 4a3beda..771ac55 100644 --- a/libc/arch-mips/syscalls/getpeername.S +++ b/libc/arch-mips/syscalls/getpeername.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getpeername .align 4 diff --git a/libc/arch-mips/syscalls/getpgid.S b/libc/arch-mips/syscalls/getpgid.S index fd79351..1b4834c 100644 --- a/libc/arch-mips/syscalls/getpgid.S +++ b/libc/arch-mips/syscalls/getpgid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getpgid .align 4 diff --git a/libc/arch-mips/syscalls/getpid.S b/libc/arch-mips/syscalls/getpid.S index f52e31b..819e954 100644 --- a/libc/arch-mips/syscalls/getpid.S +++ b/libc/arch-mips/syscalls/getpid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getpid .align 4 diff --git a/libc/arch-mips/syscalls/getppid.S b/libc/arch-mips/syscalls/getppid.S index 5e3fe19..a03a7a7 100644 --- a/libc/arch-mips/syscalls/getppid.S +++ b/libc/arch-mips/syscalls/getppid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getppid .align 4 diff --git a/libc/arch-mips/syscalls/getresgid.S b/libc/arch-mips/syscalls/getresgid.S index 8e9bf39..fe751fb 100644 --- a/libc/arch-mips/syscalls/getresgid.S +++ b/libc/arch-mips/syscalls/getresgid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getresgid .align 4 diff --git a/libc/arch-mips/syscalls/getresuid.S b/libc/arch-mips/syscalls/getresuid.S index ff27cde..a81f6bc 100644 --- a/libc/arch-mips/syscalls/getresuid.S +++ b/libc/arch-mips/syscalls/getresuid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getresuid .align 4 diff --git a/libc/arch-mips/syscalls/getrlimit.S b/libc/arch-mips/syscalls/getrlimit.S index 72ed7d8..22827e0 100644 --- a/libc/arch-mips/syscalls/getrlimit.S +++ b/libc/arch-mips/syscalls/getrlimit.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getrlimit .align 4 diff --git a/libc/arch-mips/syscalls/getrusage.S b/libc/arch-mips/syscalls/getrusage.S index 4c0f7d0..9555799 100644 --- a/libc/arch-mips/syscalls/getrusage.S +++ b/libc/arch-mips/syscalls/getrusage.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getrusage .align 4 diff --git a/libc/arch-mips/syscalls/getsid.S b/libc/arch-mips/syscalls/getsid.S index 2c089ac..ea454b6 100644 --- a/libc/arch-mips/syscalls/getsid.S +++ b/libc/arch-mips/syscalls/getsid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getsid .align 4 diff --git a/libc/arch-mips/syscalls/getsockname.S b/libc/arch-mips/syscalls/getsockname.S index e3d41f9..c8cc037 100644 --- a/libc/arch-mips/syscalls/getsockname.S +++ b/libc/arch-mips/syscalls/getsockname.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getsockname .align 4 diff --git a/libc/arch-mips/syscalls/getsockopt.S b/libc/arch-mips/syscalls/getsockopt.S index d55ae6a..f2ad135 100644 --- a/libc/arch-mips/syscalls/getsockopt.S +++ b/libc/arch-mips/syscalls/getsockopt.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getsockopt .align 4 diff --git a/libc/arch-mips/syscalls/gettid.S b/libc/arch-mips/syscalls/gettid.S index de37df5..84556cc 100644 --- a/libc/arch-mips/syscalls/gettid.S +++ b/libc/arch-mips/syscalls/gettid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl gettid .align 4 diff --git a/libc/arch-mips/syscalls/gettimeofday.S b/libc/arch-mips/syscalls/gettimeofday.S index a9a93a5..50270cb 100644 --- a/libc/arch-mips/syscalls/gettimeofday.S +++ b/libc/arch-mips/syscalls/gettimeofday.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl gettimeofday .align 4 diff --git a/libc/arch-mips/syscalls/getuid.S b/libc/arch-mips/syscalls/getuid.S index e5ba698..5e820d1 100644 --- a/libc/arch-mips/syscalls/getuid.S +++ b/libc/arch-mips/syscalls/getuid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getuid .align 4 diff --git a/libc/arch-mips/syscalls/getxattr.S b/libc/arch-mips/syscalls/getxattr.S index 6c70579..9ca843c 100644 --- a/libc/arch-mips/syscalls/getxattr.S +++ b/libc/arch-mips/syscalls/getxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl getxattr .align 4 diff --git a/libc/arch-mips/syscalls/init_module.S b/libc/arch-mips/syscalls/init_module.S index 5cfbd2f..baf4dba 100644 --- a/libc/arch-mips/syscalls/init_module.S +++ b/libc/arch-mips/syscalls/init_module.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl init_module .align 4 diff --git a/libc/arch-mips/syscalls/inotify_add_watch.S b/libc/arch-mips/syscalls/inotify_add_watch.S index 8dde667..329368e 100644 --- a/libc/arch-mips/syscalls/inotify_add_watch.S +++ b/libc/arch-mips/syscalls/inotify_add_watch.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl inotify_add_watch .align 4 diff --git a/libc/arch-mips/syscalls/inotify_init.S b/libc/arch-mips/syscalls/inotify_init.S index cde4667..14b8c73 100644 --- a/libc/arch-mips/syscalls/inotify_init.S +++ b/libc/arch-mips/syscalls/inotify_init.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl inotify_init .align 4 diff --git a/libc/arch-mips/syscalls/inotify_rm_watch.S b/libc/arch-mips/syscalls/inotify_rm_watch.S index 1b2964e..deff837 100644 --- a/libc/arch-mips/syscalls/inotify_rm_watch.S +++ b/libc/arch-mips/syscalls/inotify_rm_watch.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl inotify_rm_watch .align 4 diff --git a/libc/arch-mips/syscalls/ioprio_get.S b/libc/arch-mips/syscalls/ioprio_get.S index f7f2441..ad0b0cb 100644 --- a/libc/arch-mips/syscalls/ioprio_get.S +++ b/libc/arch-mips/syscalls/ioprio_get.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl ioprio_get .align 4 diff --git a/libc/arch-mips/syscalls/ioprio_set.S b/libc/arch-mips/syscalls/ioprio_set.S index 33a30e7..d119819 100644 --- a/libc/arch-mips/syscalls/ioprio_set.S +++ b/libc/arch-mips/syscalls/ioprio_set.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl ioprio_set .align 4 diff --git a/libc/arch-mips/syscalls/kill.S b/libc/arch-mips/syscalls/kill.S index a6640ff..4792015 100644 --- a/libc/arch-mips/syscalls/kill.S +++ b/libc/arch-mips/syscalls/kill.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl kill .align 4 diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S index 8c41dcf..ff862ed 100644 --- a/libc/arch-mips/syscalls/klogctl.S +++ b/libc/arch-mips/syscalls/klogctl.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl klogctl .align 4 diff --git a/libc/arch-mips/syscalls/lchown.S b/libc/arch-mips/syscalls/lchown.S index 9fb4660..4de65f8 100644 --- a/libc/arch-mips/syscalls/lchown.S +++ b/libc/arch-mips/syscalls/lchown.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl lchown .align 4 diff --git a/libc/arch-mips/syscalls/lgetxattr.S b/libc/arch-mips/syscalls/lgetxattr.S index d546d28..e6c18b7 100644 --- a/libc/arch-mips/syscalls/lgetxattr.S +++ b/libc/arch-mips/syscalls/lgetxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl lgetxattr .align 4 diff --git a/libc/arch-mips/syscalls/link.S b/libc/arch-mips/syscalls/link.S index 4096b44..c3a9903 100644 --- a/libc/arch-mips/syscalls/link.S +++ b/libc/arch-mips/syscalls/link.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl link .align 4 diff --git a/libc/arch-mips/syscalls/listen.S b/libc/arch-mips/syscalls/listen.S index f365d1d..324f486 100644 --- a/libc/arch-mips/syscalls/listen.S +++ b/libc/arch-mips/syscalls/listen.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl listen .align 4 diff --git a/libc/arch-mips/syscalls/listxattr.S b/libc/arch-mips/syscalls/listxattr.S index 90b4544..52871af 100644 --- a/libc/arch-mips/syscalls/listxattr.S +++ b/libc/arch-mips/syscalls/listxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl listxattr .align 4 diff --git a/libc/arch-mips/syscalls/llistxattr.S b/libc/arch-mips/syscalls/llistxattr.S index e74bf85..f48a657 100644 --- a/libc/arch-mips/syscalls/llistxattr.S +++ b/libc/arch-mips/syscalls/llistxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl llistxattr .align 4 diff --git a/libc/arch-mips/syscalls/lremovexattr.S b/libc/arch-mips/syscalls/lremovexattr.S index a8d8df9..f19ae18 100644 --- a/libc/arch-mips/syscalls/lremovexattr.S +++ b/libc/arch-mips/syscalls/lremovexattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl lremovexattr .align 4 diff --git a/libc/arch-mips/syscalls/lseek.S b/libc/arch-mips/syscalls/lseek.S index bf486ac..3dc9b36 100644 --- a/libc/arch-mips/syscalls/lseek.S +++ b/libc/arch-mips/syscalls/lseek.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl lseek .align 4 diff --git a/libc/arch-mips/syscalls/lsetxattr.S b/libc/arch-mips/syscalls/lsetxattr.S index 19a0fdf..77484a9 100644 --- a/libc/arch-mips/syscalls/lsetxattr.S +++ b/libc/arch-mips/syscalls/lsetxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl lsetxattr .align 4 diff --git a/libc/arch-mips/syscalls/lstat.S b/libc/arch-mips/syscalls/lstat.S index 355d1da..a961ccb 100644 --- a/libc/arch-mips/syscalls/lstat.S +++ b/libc/arch-mips/syscalls/lstat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl lstat .align 4 diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S index 4df7325..08cd8ca 100644 --- a/libc/arch-mips/syscalls/madvise.S +++ b/libc/arch-mips/syscalls/madvise.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl madvise .align 4 diff --git a/libc/arch-mips/syscalls/mincore.S b/libc/arch-mips/syscalls/mincore.S index 8f467cd..7f6a1d0 100644 --- a/libc/arch-mips/syscalls/mincore.S +++ b/libc/arch-mips/syscalls/mincore.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mincore .align 4 diff --git a/libc/arch-mips/syscalls/mkdir.S b/libc/arch-mips/syscalls/mkdir.S index abf7db8..baa1860 100644 --- a/libc/arch-mips/syscalls/mkdir.S +++ b/libc/arch-mips/syscalls/mkdir.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mkdir .align 4 diff --git a/libc/arch-mips/syscalls/mkdirat.S b/libc/arch-mips/syscalls/mkdirat.S index 4ccbe3b..158359a 100644 --- a/libc/arch-mips/syscalls/mkdirat.S +++ b/libc/arch-mips/syscalls/mkdirat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mkdirat .align 4 diff --git a/libc/arch-mips/syscalls/mknod.S b/libc/arch-mips/syscalls/mknod.S index 5ebb0ad..1b03962 100644 --- a/libc/arch-mips/syscalls/mknod.S +++ b/libc/arch-mips/syscalls/mknod.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mknod .align 4 diff --git a/libc/arch-mips/syscalls/mlock.S b/libc/arch-mips/syscalls/mlock.S index 99aca6e..34eae89 100644 --- a/libc/arch-mips/syscalls/mlock.S +++ b/libc/arch-mips/syscalls/mlock.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mlock .align 4 diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S index 393c090..3c2d852 100644 --- a/libc/arch-mips/syscalls/mlockall.S +++ b/libc/arch-mips/syscalls/mlockall.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mlockall .align 4 diff --git a/libc/arch-mips/syscalls/mount.S b/libc/arch-mips/syscalls/mount.S index 1b3385a..2319e39 100644 --- a/libc/arch-mips/syscalls/mount.S +++ b/libc/arch-mips/syscalls/mount.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mount .align 4 diff --git a/libc/arch-mips/syscalls/mprotect.S b/libc/arch-mips/syscalls/mprotect.S index 4dc3bea..c54c33f 100644 --- a/libc/arch-mips/syscalls/mprotect.S +++ b/libc/arch-mips/syscalls/mprotect.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mprotect .align 4 diff --git a/libc/arch-mips/syscalls/mremap.S b/libc/arch-mips/syscalls/mremap.S index 721ccd9..c92b313 100644 --- a/libc/arch-mips/syscalls/mremap.S +++ b/libc/arch-mips/syscalls/mremap.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl mremap .align 4 diff --git a/libc/arch-mips/syscalls/msync.S b/libc/arch-mips/syscalls/msync.S index 37e1c9a..9ebd2b1 100644 --- a/libc/arch-mips/syscalls/msync.S +++ b/libc/arch-mips/syscalls/msync.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl msync .align 4 diff --git a/libc/arch-mips/syscalls/munlock.S b/libc/arch-mips/syscalls/munlock.S index befc282..1018413 100644 --- a/libc/arch-mips/syscalls/munlock.S +++ b/libc/arch-mips/syscalls/munlock.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl munlock .align 4 diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S index 20fa7b8..d41dd1c 100644 --- a/libc/arch-mips/syscalls/munlockall.S +++ b/libc/arch-mips/syscalls/munlockall.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl munlockall .align 4 diff --git a/libc/arch-mips/syscalls/munmap.S b/libc/arch-mips/syscalls/munmap.S index 5b717a9..0ccd072 100644 --- a/libc/arch-mips/syscalls/munmap.S +++ b/libc/arch-mips/syscalls/munmap.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl munmap .align 4 diff --git a/libc/arch-mips/syscalls/nanosleep.S b/libc/arch-mips/syscalls/nanosleep.S index 58ace12..6bbbcc1 100644 --- a/libc/arch-mips/syscalls/nanosleep.S +++ b/libc/arch-mips/syscalls/nanosleep.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl nanosleep .align 4 diff --git a/libc/arch-mips/syscalls/pause.S b/libc/arch-mips/syscalls/pause.S index 70346b4..ba95fa5 100644 --- a/libc/arch-mips/syscalls/pause.S +++ b/libc/arch-mips/syscalls/pause.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl pause .align 4 diff --git a/libc/arch-mips/syscalls/perf_event_open.S b/libc/arch-mips/syscalls/perf_event_open.S index 22c9c3c..3867c2d 100644 --- a/libc/arch-mips/syscalls/perf_event_open.S +++ b/libc/arch-mips/syscalls/perf_event_open.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl perf_event_open .align 4 diff --git a/libc/arch-mips/syscalls/personality.S b/libc/arch-mips/syscalls/personality.S index 0020469..1570ac5 100644 --- a/libc/arch-mips/syscalls/personality.S +++ b/libc/arch-mips/syscalls/personality.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl personality .align 4 diff --git a/libc/arch-mips/syscalls/pipe2.S b/libc/arch-mips/syscalls/pipe2.S index 9dfde29..906be63 100644 --- a/libc/arch-mips/syscalls/pipe2.S +++ b/libc/arch-mips/syscalls/pipe2.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl pipe2 .align 4 diff --git a/libc/arch-mips/syscalls/poll.S b/libc/arch-mips/syscalls/poll.S index c1fec97..9e3b142 100644 --- a/libc/arch-mips/syscalls/poll.S +++ b/libc/arch-mips/syscalls/poll.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl poll .align 4 diff --git a/libc/arch-mips/syscalls/prctl.S b/libc/arch-mips/syscalls/prctl.S index aaf1344..a9b1ac8 100644 --- a/libc/arch-mips/syscalls/prctl.S +++ b/libc/arch-mips/syscalls/prctl.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl prctl .align 4 diff --git a/libc/arch-mips/syscalls/pread64.S b/libc/arch-mips/syscalls/pread64.S index 86e817c..51d84a9 100644 --- a/libc/arch-mips/syscalls/pread64.S +++ b/libc/arch-mips/syscalls/pread64.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl pread64 .align 4 diff --git a/libc/arch-mips/syscalls/pwrite64.S b/libc/arch-mips/syscalls/pwrite64.S index a8dcd98..46dfdf6 100644 --- a/libc/arch-mips/syscalls/pwrite64.S +++ b/libc/arch-mips/syscalls/pwrite64.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl pwrite64 .align 4 diff --git a/libc/arch-mips/syscalls/read.S b/libc/arch-mips/syscalls/read.S index 75816cd..ee6e61a 100644 --- a/libc/arch-mips/syscalls/read.S +++ b/libc/arch-mips/syscalls/read.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl read .align 4 diff --git a/libc/arch-mips/syscalls/readahead.S b/libc/arch-mips/syscalls/readahead.S index 5ec600d..95c4e5b 100644 --- a/libc/arch-mips/syscalls/readahead.S +++ b/libc/arch-mips/syscalls/readahead.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl readahead .align 4 diff --git a/libc/arch-mips/syscalls/readlink.S b/libc/arch-mips/syscalls/readlink.S index ccdd596..2acf566 100644 --- a/libc/arch-mips/syscalls/readlink.S +++ b/libc/arch-mips/syscalls/readlink.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl readlink .align 4 diff --git a/libc/arch-mips/syscalls/readv.S b/libc/arch-mips/syscalls/readv.S index 0561c18..e0cea4e 100644 --- a/libc/arch-mips/syscalls/readv.S +++ b/libc/arch-mips/syscalls/readv.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl readv .align 4 diff --git a/libc/arch-mips/syscalls/recvfrom.S b/libc/arch-mips/syscalls/recvfrom.S index cf3441d..c34e506 100644 --- a/libc/arch-mips/syscalls/recvfrom.S +++ b/libc/arch-mips/syscalls/recvfrom.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl recvfrom .align 4 diff --git a/libc/arch-mips/syscalls/recvmsg.S b/libc/arch-mips/syscalls/recvmsg.S index 5f22c49..b47d866 100644 --- a/libc/arch-mips/syscalls/recvmsg.S +++ b/libc/arch-mips/syscalls/recvmsg.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl recvmsg .align 4 diff --git a/libc/arch-mips/syscalls/removexattr.S b/libc/arch-mips/syscalls/removexattr.S index 7d12b96..55c8e59 100644 --- a/libc/arch-mips/syscalls/removexattr.S +++ b/libc/arch-mips/syscalls/removexattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl removexattr .align 4 diff --git a/libc/arch-mips/syscalls/rename.S b/libc/arch-mips/syscalls/rename.S index 950d579..e36dcba 100644 --- a/libc/arch-mips/syscalls/rename.S +++ b/libc/arch-mips/syscalls/rename.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl rename .align 4 diff --git a/libc/arch-mips/syscalls/renameat.S b/libc/arch-mips/syscalls/renameat.S index a2f3c4f..893c245 100644 --- a/libc/arch-mips/syscalls/renameat.S +++ b/libc/arch-mips/syscalls/renameat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl renameat .align 4 diff --git a/libc/arch-mips/syscalls/rmdir.S b/libc/arch-mips/syscalls/rmdir.S index 2f77d0d..79f36c4 100644 --- a/libc/arch-mips/syscalls/rmdir.S +++ b/libc/arch-mips/syscalls/rmdir.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl rmdir .align 4 diff --git a/libc/arch-mips/syscalls/sched_get_priority_max.S b/libc/arch-mips/syscalls/sched_get_priority_max.S index 158b0fe..16095c4 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_max.S +++ b/libc/arch-mips/syscalls/sched_get_priority_max.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_get_priority_max .align 4 diff --git a/libc/arch-mips/syscalls/sched_get_priority_min.S b/libc/arch-mips/syscalls/sched_get_priority_min.S index 8c07d72..96cd2e6 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_min.S +++ b/libc/arch-mips/syscalls/sched_get_priority_min.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_get_priority_min .align 4 diff --git a/libc/arch-mips/syscalls/sched_getparam.S b/libc/arch-mips/syscalls/sched_getparam.S index 6aba7cf..c781c4a 100644 --- a/libc/arch-mips/syscalls/sched_getparam.S +++ b/libc/arch-mips/syscalls/sched_getparam.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_getparam .align 4 diff --git a/libc/arch-mips/syscalls/sched_getscheduler.S b/libc/arch-mips/syscalls/sched_getscheduler.S index 33d7f49..8cbc0f5 100644 --- a/libc/arch-mips/syscalls/sched_getscheduler.S +++ b/libc/arch-mips/syscalls/sched_getscheduler.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_getscheduler .align 4 diff --git a/libc/arch-mips/syscalls/sched_rr_get_interval.S b/libc/arch-mips/syscalls/sched_rr_get_interval.S index e634ed0..3e010db 100644 --- a/libc/arch-mips/syscalls/sched_rr_get_interval.S +++ b/libc/arch-mips/syscalls/sched_rr_get_interval.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_rr_get_interval .align 4 diff --git a/libc/arch-mips/syscalls/sched_setaffinity.S b/libc/arch-mips/syscalls/sched_setaffinity.S index aefc240..7910dc7 100644 --- a/libc/arch-mips/syscalls/sched_setaffinity.S +++ b/libc/arch-mips/syscalls/sched_setaffinity.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_setaffinity .align 4 diff --git a/libc/arch-mips/syscalls/sched_setparam.S b/libc/arch-mips/syscalls/sched_setparam.S index 4d646bd..04bda4f 100644 --- a/libc/arch-mips/syscalls/sched_setparam.S +++ b/libc/arch-mips/syscalls/sched_setparam.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_setparam .align 4 diff --git a/libc/arch-mips/syscalls/sched_setscheduler.S b/libc/arch-mips/syscalls/sched_setscheduler.S index a79e39c..0c42759 100644 --- a/libc/arch-mips/syscalls/sched_setscheduler.S +++ b/libc/arch-mips/syscalls/sched_setscheduler.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_setscheduler .align 4 diff --git a/libc/arch-mips/syscalls/sched_yield.S b/libc/arch-mips/syscalls/sched_yield.S index c7c99dc..58f4796 100644 --- a/libc/arch-mips/syscalls/sched_yield.S +++ b/libc/arch-mips/syscalls/sched_yield.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sched_yield .align 4 diff --git a/libc/arch-mips/syscalls/select.S b/libc/arch-mips/syscalls/select.S index ce4112f..6f6431a 100644 --- a/libc/arch-mips/syscalls/select.S +++ b/libc/arch-mips/syscalls/select.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl select .align 4 diff --git a/libc/arch-mips/syscalls/sendfile.S b/libc/arch-mips/syscalls/sendfile.S index c4c176e..179801f 100644 --- a/libc/arch-mips/syscalls/sendfile.S +++ b/libc/arch-mips/syscalls/sendfile.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sendfile .align 4 diff --git a/libc/arch-mips/syscalls/sendmsg.S b/libc/arch-mips/syscalls/sendmsg.S index 1913f13..0341243 100644 --- a/libc/arch-mips/syscalls/sendmsg.S +++ b/libc/arch-mips/syscalls/sendmsg.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sendmsg .align 4 diff --git a/libc/arch-mips/syscalls/sendto.S b/libc/arch-mips/syscalls/sendto.S index f17743d..aea43e2 100644 --- a/libc/arch-mips/syscalls/sendto.S +++ b/libc/arch-mips/syscalls/sendto.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sendto .align 4 diff --git a/libc/arch-mips/syscalls/setgid.S b/libc/arch-mips/syscalls/setgid.S index 83dbfe5..81dfba7 100644 --- a/libc/arch-mips/syscalls/setgid.S +++ b/libc/arch-mips/syscalls/setgid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setgid .align 4 diff --git a/libc/arch-mips/syscalls/setgroups.S b/libc/arch-mips/syscalls/setgroups.S index ef9327d..d2d69ed 100644 --- a/libc/arch-mips/syscalls/setgroups.S +++ b/libc/arch-mips/syscalls/setgroups.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setgroups .align 4 diff --git a/libc/arch-mips/syscalls/setitimer.S b/libc/arch-mips/syscalls/setitimer.S index b042e07..7e63d91 100644 --- a/libc/arch-mips/syscalls/setitimer.S +++ b/libc/arch-mips/syscalls/setitimer.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setitimer .align 4 diff --git a/libc/arch-mips/syscalls/setpgid.S b/libc/arch-mips/syscalls/setpgid.S index 2ddc828..2bc0c4b 100644 --- a/libc/arch-mips/syscalls/setpgid.S +++ b/libc/arch-mips/syscalls/setpgid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setpgid .align 4 diff --git a/libc/arch-mips/syscalls/setpriority.S b/libc/arch-mips/syscalls/setpriority.S index 02550e9..996b8e1 100644 --- a/libc/arch-mips/syscalls/setpriority.S +++ b/libc/arch-mips/syscalls/setpriority.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setpriority .align 4 diff --git a/libc/arch-mips/syscalls/setregid.S b/libc/arch-mips/syscalls/setregid.S index 619b3a1..dea7218 100644 --- a/libc/arch-mips/syscalls/setregid.S +++ b/libc/arch-mips/syscalls/setregid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setregid .align 4 diff --git a/libc/arch-mips/syscalls/setresgid.S b/libc/arch-mips/syscalls/setresgid.S index 3ff94c7..a793385 100644 --- a/libc/arch-mips/syscalls/setresgid.S +++ b/libc/arch-mips/syscalls/setresgid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setresgid .align 4 diff --git a/libc/arch-mips/syscalls/setrlimit.S b/libc/arch-mips/syscalls/setrlimit.S index 3ec37c5..b3d94a0 100644 --- a/libc/arch-mips/syscalls/setrlimit.S +++ b/libc/arch-mips/syscalls/setrlimit.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setrlimit .align 4 diff --git a/libc/arch-mips/syscalls/setsid.S b/libc/arch-mips/syscalls/setsid.S index 2a09663..fc263b6 100644 --- a/libc/arch-mips/syscalls/setsid.S +++ b/libc/arch-mips/syscalls/setsid.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setsid .align 4 diff --git a/libc/arch-mips/syscalls/setsockopt.S b/libc/arch-mips/syscalls/setsockopt.S index dc5e62f..a8232ae 100644 --- a/libc/arch-mips/syscalls/setsockopt.S +++ b/libc/arch-mips/syscalls/setsockopt.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setsockopt .align 4 diff --git a/libc/arch-mips/syscalls/settimeofday.S b/libc/arch-mips/syscalls/settimeofday.S index f7c03ea..7a5a89e 100644 --- a/libc/arch-mips/syscalls/settimeofday.S +++ b/libc/arch-mips/syscalls/settimeofday.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl settimeofday .align 4 diff --git a/libc/arch-mips/syscalls/setxattr.S b/libc/arch-mips/syscalls/setxattr.S index baa78a4..0b2c052 100644 --- a/libc/arch-mips/syscalls/setxattr.S +++ b/libc/arch-mips/syscalls/setxattr.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl setxattr .align 4 diff --git a/libc/arch-mips/syscalls/shutdown.S b/libc/arch-mips/syscalls/shutdown.S index b80d99b..545c8f7 100644 --- a/libc/arch-mips/syscalls/shutdown.S +++ b/libc/arch-mips/syscalls/shutdown.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl shutdown .align 4 diff --git a/libc/arch-mips/syscalls/sigaction.S b/libc/arch-mips/syscalls/sigaction.S index 700da54..306bc2b 100644 --- a/libc/arch-mips/syscalls/sigaction.S +++ b/libc/arch-mips/syscalls/sigaction.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sigaction .align 4 diff --git a/libc/arch-mips/syscalls/sigaltstack.S b/libc/arch-mips/syscalls/sigaltstack.S index d2a4a9a..bd74428 100644 --- a/libc/arch-mips/syscalls/sigaltstack.S +++ b/libc/arch-mips/syscalls/sigaltstack.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sigaltstack .align 4 diff --git a/libc/arch-mips/syscalls/signalfd4.S b/libc/arch-mips/syscalls/signalfd4.S index 7e4082c..0039778 100644 --- a/libc/arch-mips/syscalls/signalfd4.S +++ b/libc/arch-mips/syscalls/signalfd4.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl signalfd4 .align 4 diff --git a/libc/arch-mips/syscalls/sigpending.S b/libc/arch-mips/syscalls/sigpending.S index 68df4db..45baa4f 100644 --- a/libc/arch-mips/syscalls/sigpending.S +++ b/libc/arch-mips/syscalls/sigpending.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sigpending .align 4 diff --git a/libc/arch-mips/syscalls/sigprocmask.S b/libc/arch-mips/syscalls/sigprocmask.S index 17c01cb..a4049bb 100644 --- a/libc/arch-mips/syscalls/sigprocmask.S +++ b/libc/arch-mips/syscalls/sigprocmask.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sigprocmask .align 4 diff --git a/libc/arch-mips/syscalls/socket.S b/libc/arch-mips/syscalls/socket.S index e7d43f9..3423bb7 100644 --- a/libc/arch-mips/syscalls/socket.S +++ b/libc/arch-mips/syscalls/socket.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl socket .align 4 diff --git a/libc/arch-mips/syscalls/socketpair.S b/libc/arch-mips/syscalls/socketpair.S index 97c67af..fd2b2e1 100644 --- a/libc/arch-mips/syscalls/socketpair.S +++ b/libc/arch-mips/syscalls/socketpair.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl socketpair .align 4 diff --git a/libc/arch-mips/syscalls/stat.S b/libc/arch-mips/syscalls/stat.S index aec910d..9a12ba8 100644 --- a/libc/arch-mips/syscalls/stat.S +++ b/libc/arch-mips/syscalls/stat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl stat .align 4 diff --git a/libc/arch-mips/syscalls/symlink.S b/libc/arch-mips/syscalls/symlink.S index f81c6dd..b74b545 100644 --- a/libc/arch-mips/syscalls/symlink.S +++ b/libc/arch-mips/syscalls/symlink.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl symlink .align 4 diff --git a/libc/arch-mips/syscalls/sync.S b/libc/arch-mips/syscalls/sync.S index a122873..1a9f981 100644 --- a/libc/arch-mips/syscalls/sync.S +++ b/libc/arch-mips/syscalls/sync.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sync .align 4 diff --git a/libc/arch-mips/syscalls/syscall.S b/libc/arch-mips/syscalls/syscall.S index 2192bd5..17b0835 100644 --- a/libc/arch-mips/syscalls/syscall.S +++ b/libc/arch-mips/syscalls/syscall.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl syscall .align 4 diff --git a/libc/arch-mips/syscalls/sysinfo.S b/libc/arch-mips/syscalls/sysinfo.S index 4577af9..ba0b121 100644 --- a/libc/arch-mips/syscalls/sysinfo.S +++ b/libc/arch-mips/syscalls/sysinfo.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl sysinfo .align 4 diff --git a/libc/arch-mips/syscalls/tgkill.S b/libc/arch-mips/syscalls/tgkill.S index 57b3a85..169ba79 100644 --- a/libc/arch-mips/syscalls/tgkill.S +++ b/libc/arch-mips/syscalls/tgkill.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl tgkill .align 4 diff --git a/libc/arch-mips/syscalls/times.S b/libc/arch-mips/syscalls/times.S index 3e8950d..e53cdb0 100644 --- a/libc/arch-mips/syscalls/times.S +++ b/libc/arch-mips/syscalls/times.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl times .align 4 diff --git a/libc/arch-mips/syscalls/tkill.S b/libc/arch-mips/syscalls/tkill.S index 3037baa..f1439cc 100644 --- a/libc/arch-mips/syscalls/tkill.S +++ b/libc/arch-mips/syscalls/tkill.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl tkill .align 4 diff --git a/libc/arch-mips/syscalls/truncate.S b/libc/arch-mips/syscalls/truncate.S index 4a8f12c..b16df81 100644 --- a/libc/arch-mips/syscalls/truncate.S +++ b/libc/arch-mips/syscalls/truncate.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl truncate .align 4 diff --git a/libc/arch-mips/syscalls/umask.S b/libc/arch-mips/syscalls/umask.S index eee911e..b952e69 100644 --- a/libc/arch-mips/syscalls/umask.S +++ b/libc/arch-mips/syscalls/umask.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl umask .align 4 diff --git a/libc/arch-mips/syscalls/umount2.S b/libc/arch-mips/syscalls/umount2.S index c6d9df6..1e5a0bb 100644 --- a/libc/arch-mips/syscalls/umount2.S +++ b/libc/arch-mips/syscalls/umount2.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl umount2 .align 4 diff --git a/libc/arch-mips/syscalls/uname.S b/libc/arch-mips/syscalls/uname.S index 7e4f780..7bda6b8 100644 --- a/libc/arch-mips/syscalls/uname.S +++ b/libc/arch-mips/syscalls/uname.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl uname .align 4 diff --git a/libc/arch-mips/syscalls/unlink.S b/libc/arch-mips/syscalls/unlink.S index fd8dad9..e08bb3e 100644 --- a/libc/arch-mips/syscalls/unlink.S +++ b/libc/arch-mips/syscalls/unlink.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl unlink .align 4 diff --git a/libc/arch-mips/syscalls/unlinkat.S b/libc/arch-mips/syscalls/unlinkat.S index 793ab5e..0e09db1 100644 --- a/libc/arch-mips/syscalls/unlinkat.S +++ b/libc/arch-mips/syscalls/unlinkat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl unlinkat .align 4 diff --git a/libc/arch-mips/syscalls/unshare.S b/libc/arch-mips/syscalls/unshare.S index 11af354..75bb6d6 100644 --- a/libc/arch-mips/syscalls/unshare.S +++ b/libc/arch-mips/syscalls/unshare.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl unshare .align 4 diff --git a/libc/arch-mips/syscalls/utimensat.S b/libc/arch-mips/syscalls/utimensat.S index 435c49e..0d00cf2 100644 --- a/libc/arch-mips/syscalls/utimensat.S +++ b/libc/arch-mips/syscalls/utimensat.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl utimensat .align 4 diff --git a/libc/arch-mips/syscalls/utimes.S b/libc/arch-mips/syscalls/utimes.S index 8ce1e44..85a5443 100644 --- a/libc/arch-mips/syscalls/utimes.S +++ b/libc/arch-mips/syscalls/utimes.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl utimes .align 4 diff --git a/libc/arch-mips/syscalls/wait4.S b/libc/arch-mips/syscalls/wait4.S index 8e3d2dc..368b5d5 100644 --- a/libc/arch-mips/syscalls/wait4.S +++ b/libc/arch-mips/syscalls/wait4.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl wait4 .align 4 diff --git a/libc/arch-mips/syscalls/write.S b/libc/arch-mips/syscalls/write.S index a772ace..edcf356 100644 --- a/libc/arch-mips/syscalls/write.S +++ b/libc/arch-mips/syscalls/write.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl write .align 4 diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S index bdacb42..48c0a69 100644 --- a/libc/arch-mips/syscalls/writev.S +++ b/libc/arch-mips/syscalls/writev.S @@ -1,5 +1,5 @@ /* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl writev .align 4 diff --git a/libc/arch-x86/bionic/vfork.S b/libc/arch-x86/bionic/vfork.S index 235be0c..7b62449 100644 --- a/libc/arch-x86/bionic/vfork.S +++ b/libc/arch-x86/bionic/vfork.S @@ -1,10 +1,5 @@ #include <machine/asm.h> -#include <sys/linux-syscalls.h> - -#ifndef __NR_vfork -#define __NR_vfork 190 -#endif - +#include <asm/unistd.h> /* Get rid of the stack modifications (popl/ret) after vfork() success. * vfork is VERY sneaky. One has to be very careful about what can be done diff --git a/libc/arch-x86/syscalls/__brk.S b/libc/arch-x86/syscalls/__brk.S index 88841df..b26e187 100644 --- a/libc/arch-x86/syscalls/__brk.S +++ b/libc/arch-x86/syscalls/__brk.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__brk) pushl %ebx diff --git a/libc/arch-x86/syscalls/__fcntl.S b/libc/arch-x86/syscalls/__fcntl.S index 087097e..328df24 100644 --- a/libc/arch-x86/syscalls/__fcntl.S +++ b/libc/arch-x86/syscalls/__fcntl.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__fcntl) pushl %ebx diff --git a/libc/arch-x86/syscalls/__fcntl64.S b/libc/arch-x86/syscalls/__fcntl64.S index 5a67ee1..b0fb981 100644 --- a/libc/arch-x86/syscalls/__fcntl64.S +++ b/libc/arch-x86/syscalls/__fcntl64.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__fcntl64) pushl %ebx diff --git a/libc/arch-x86/syscalls/__fork.S b/libc/arch-x86/syscalls/__fork.S index 7c3661d..98e00c8 100644 --- a/libc/arch-x86/syscalls/__fork.S +++ b/libc/arch-x86/syscalls/__fork.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__fork) pushl %ebx diff --git a/libc/arch-x86/syscalls/__fstatfs64.S b/libc/arch-x86/syscalls/__fstatfs64.S index 57eb2f6..aeb6863 100644 --- a/libc/arch-x86/syscalls/__fstatfs64.S +++ b/libc/arch-x86/syscalls/__fstatfs64.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__fstatfs64) pushl %ebx diff --git a/libc/arch-x86/syscalls/__getcpu.S b/libc/arch-x86/syscalls/__getcpu.S index 448e012..f50782c 100644 --- a/libc/arch-x86/syscalls/__getcpu.S +++ b/libc/arch-x86/syscalls/__getcpu.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__getcpu) pushl %ebx diff --git a/libc/arch-x86/syscalls/__getcwd.S b/libc/arch-x86/syscalls/__getcwd.S index 29a73e3..9337342 100644 --- a/libc/arch-x86/syscalls/__getcwd.S +++ b/libc/arch-x86/syscalls/__getcwd.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__getcwd) pushl %ebx diff --git a/libc/arch-x86/syscalls/__getpriority.S b/libc/arch-x86/syscalls/__getpriority.S index c5f4751..60fa3bb 100644 --- a/libc/arch-x86/syscalls/__getpriority.S +++ b/libc/arch-x86/syscalls/__getpriority.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__getpriority) pushl %ebx diff --git a/libc/arch-x86/syscalls/__ioctl.S b/libc/arch-x86/syscalls/__ioctl.S index e64c3af..0e8d189 100644 --- a/libc/arch-x86/syscalls/__ioctl.S +++ b/libc/arch-x86/syscalls/__ioctl.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__ioctl) pushl %ebx diff --git a/libc/arch-x86/syscalls/__llseek.S b/libc/arch-x86/syscalls/__llseek.S index 9160ee7..b347886 100644 --- a/libc/arch-x86/syscalls/__llseek.S +++ b/libc/arch-x86/syscalls/__llseek.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__llseek) pushl %ebx diff --git a/libc/arch-x86/syscalls/__mmap2.S b/libc/arch-x86/syscalls/__mmap2.S index 59c6d23..010a989 100644 --- a/libc/arch-x86/syscalls/__mmap2.S +++ b/libc/arch-x86/syscalls/__mmap2.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__mmap2) pushl %ebx diff --git a/libc/arch-x86/syscalls/__open.S b/libc/arch-x86/syscalls/__open.S index 02b99b7..87cda45 100644 --- a/libc/arch-x86/syscalls/__open.S +++ b/libc/arch-x86/syscalls/__open.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__open) pushl %ebx diff --git a/libc/arch-x86/syscalls/__openat.S b/libc/arch-x86/syscalls/__openat.S index 8a7dafe..31db1dc 100644 --- a/libc/arch-x86/syscalls/__openat.S +++ b/libc/arch-x86/syscalls/__openat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__openat) pushl %ebx diff --git a/libc/arch-x86/syscalls/__ptrace.S b/libc/arch-x86/syscalls/__ptrace.S index 157bdd8..1f143cc 100644 --- a/libc/arch-x86/syscalls/__ptrace.S +++ b/libc/arch-x86/syscalls/__ptrace.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__ptrace) pushl %ebx diff --git a/libc/arch-x86/syscalls/__reboot.S b/libc/arch-x86/syscalls/__reboot.S index 6c6ecff..a32e8a8 100644 --- a/libc/arch-x86/syscalls/__reboot.S +++ b/libc/arch-x86/syscalls/__reboot.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__reboot) pushl %ebx diff --git a/libc/arch-x86/syscalls/__rt_sigaction.S b/libc/arch-x86/syscalls/__rt_sigaction.S index b0ffaee..957bca1 100644 --- a/libc/arch-x86/syscalls/__rt_sigaction.S +++ b/libc/arch-x86/syscalls/__rt_sigaction.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__rt_sigaction) pushl %ebx diff --git a/libc/arch-x86/syscalls/__rt_sigprocmask.S b/libc/arch-x86/syscalls/__rt_sigprocmask.S index 26b2fee..a23e079 100644 --- a/libc/arch-x86/syscalls/__rt_sigprocmask.S +++ b/libc/arch-x86/syscalls/__rt_sigprocmask.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__rt_sigprocmask) pushl %ebx diff --git a/libc/arch-x86/syscalls/__rt_sigtimedwait.S b/libc/arch-x86/syscalls/__rt_sigtimedwait.S index af53f04..cf2b2a2 100644 --- a/libc/arch-x86/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-x86/syscalls/__rt_sigtimedwait.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__rt_sigtimedwait) pushl %ebx diff --git a/libc/arch-x86/syscalls/__sched_getaffinity.S b/libc/arch-x86/syscalls/__sched_getaffinity.S index 21efaee..da9f08a 100644 --- a/libc/arch-x86/syscalls/__sched_getaffinity.S +++ b/libc/arch-x86/syscalls/__sched_getaffinity.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__sched_getaffinity) pushl %ebx diff --git a/libc/arch-x86/syscalls/__set_thread_area.S b/libc/arch-x86/syscalls/__set_thread_area.S index bcdbca3..37f41d0 100644 --- a/libc/arch-x86/syscalls/__set_thread_area.S +++ b/libc/arch-x86/syscalls/__set_thread_area.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__set_thread_area) pushl %ebx diff --git a/libc/arch-x86/syscalls/__setresuid.S b/libc/arch-x86/syscalls/__setresuid.S index d235042..c16d2fb 100644 --- a/libc/arch-x86/syscalls/__setresuid.S +++ b/libc/arch-x86/syscalls/__setresuid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__setresuid) pushl %ebx diff --git a/libc/arch-x86/syscalls/__setreuid.S b/libc/arch-x86/syscalls/__setreuid.S index 61eea65..2ba521d 100644 --- a/libc/arch-x86/syscalls/__setreuid.S +++ b/libc/arch-x86/syscalls/__setreuid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__setreuid) pushl %ebx diff --git a/libc/arch-x86/syscalls/__setuid.S b/libc/arch-x86/syscalls/__setuid.S index f5b5c72..092ceb0 100644 --- a/libc/arch-x86/syscalls/__setuid.S +++ b/libc/arch-x86/syscalls/__setuid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__setuid) pushl %ebx diff --git a/libc/arch-x86/syscalls/__sigsuspend.S b/libc/arch-x86/syscalls/__sigsuspend.S index 52bb2d8..c69665f 100644 --- a/libc/arch-x86/syscalls/__sigsuspend.S +++ b/libc/arch-x86/syscalls/__sigsuspend.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__sigsuspend) pushl %ebx diff --git a/libc/arch-x86/syscalls/__statfs64.S b/libc/arch-x86/syscalls/__statfs64.S index 3716cec..58785ad 100644 --- a/libc/arch-x86/syscalls/__statfs64.S +++ b/libc/arch-x86/syscalls/__statfs64.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__statfs64) pushl %ebx diff --git a/libc/arch-x86/syscalls/__sys_clone.S b/libc/arch-x86/syscalls/__sys_clone.S index 674797b..17e7c3b 100644 --- a/libc/arch-x86/syscalls/__sys_clone.S +++ b/libc/arch-x86/syscalls/__sys_clone.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__sys_clone) pushl %ebx diff --git a/libc/arch-x86/syscalls/__syslog.S b/libc/arch-x86/syscalls/__syslog.S index 8db151a..1216d75 100644 --- a/libc/arch-x86/syscalls/__syslog.S +++ b/libc/arch-x86/syscalls/__syslog.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__syslog) pushl %ebx diff --git a/libc/arch-x86/syscalls/__timer_create.S b/libc/arch-x86/syscalls/__timer_create.S index 5b92706..1817afc 100644 --- a/libc/arch-x86/syscalls/__timer_create.S +++ b/libc/arch-x86/syscalls/__timer_create.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__timer_create) pushl %ebx diff --git a/libc/arch-x86/syscalls/__timer_delete.S b/libc/arch-x86/syscalls/__timer_delete.S index 3ba48e4..1472a99 100644 --- a/libc/arch-x86/syscalls/__timer_delete.S +++ b/libc/arch-x86/syscalls/__timer_delete.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__timer_delete) pushl %ebx diff --git a/libc/arch-x86/syscalls/__timer_getoverrun.S b/libc/arch-x86/syscalls/__timer_getoverrun.S index f49e218..2204682 100644 --- a/libc/arch-x86/syscalls/__timer_getoverrun.S +++ b/libc/arch-x86/syscalls/__timer_getoverrun.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__timer_getoverrun) pushl %ebx diff --git a/libc/arch-x86/syscalls/__timer_gettime.S b/libc/arch-x86/syscalls/__timer_gettime.S index b1dd22c..e45e4ef 100644 --- a/libc/arch-x86/syscalls/__timer_gettime.S +++ b/libc/arch-x86/syscalls/__timer_gettime.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__timer_gettime) pushl %ebx diff --git a/libc/arch-x86/syscalls/__timer_settime.S b/libc/arch-x86/syscalls/__timer_settime.S index 9bda7f8..71a9182 100644 --- a/libc/arch-x86/syscalls/__timer_settime.S +++ b/libc/arch-x86/syscalls/__timer_settime.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__timer_settime) pushl %ebx diff --git a/libc/arch-x86/syscalls/__waitid.S b/libc/arch-x86/syscalls/__waitid.S index 9c2125a..2588b26 100644 --- a/libc/arch-x86/syscalls/__waitid.S +++ b/libc/arch-x86/syscalls/__waitid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(__waitid) pushl %ebx diff --git a/libc/arch-x86/syscalls/_exit.S b/libc/arch-x86/syscalls/_exit.S index 0bfb2f9..9ce3e71 100644 --- a/libc/arch-x86/syscalls/_exit.S +++ b/libc/arch-x86/syscalls/_exit.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(_exit) pushl %ebx diff --git a/libc/arch-x86/syscalls/_exit_thread.S b/libc/arch-x86/syscalls/_exit_thread.S index d20caea..cc12916 100644 --- a/libc/arch-x86/syscalls/_exit_thread.S +++ b/libc/arch-x86/syscalls/_exit_thread.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(_exit_thread) pushl %ebx diff --git a/libc/arch-x86/syscalls/_waitpid.S b/libc/arch-x86/syscalls/_waitpid.S index 74da41a..8ed7898 100644 --- a/libc/arch-x86/syscalls/_waitpid.S +++ b/libc/arch-x86/syscalls/_waitpid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(_waitpid) pushl %ebx diff --git a/libc/arch-x86/syscalls/accept.S b/libc/arch-x86/syscalls/accept.S index 5c0df0d..5678205 100644 --- a/libc/arch-x86/syscalls/accept.S +++ b/libc/arch-x86/syscalls/accept.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(accept) pushl %ebx diff --git a/libc/arch-x86/syscalls/access.S b/libc/arch-x86/syscalls/access.S index cdf2a2a..a21ec43 100644 --- a/libc/arch-x86/syscalls/access.S +++ b/libc/arch-x86/syscalls/access.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(access) pushl %ebx diff --git a/libc/arch-x86/syscalls/acct.S b/libc/arch-x86/syscalls/acct.S index 0d224ee..d5d2a1a 100644 --- a/libc/arch-x86/syscalls/acct.S +++ b/libc/arch-x86/syscalls/acct.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(acct) pushl %ebx diff --git a/libc/arch-x86/syscalls/bind.S b/libc/arch-x86/syscalls/bind.S index 942aba5..77a4f12 100644 --- a/libc/arch-x86/syscalls/bind.S +++ b/libc/arch-x86/syscalls/bind.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(bind) pushl %ebx diff --git a/libc/arch-x86/syscalls/capget.S b/libc/arch-x86/syscalls/capget.S index 55d230c..f563ce6 100644 --- a/libc/arch-x86/syscalls/capget.S +++ b/libc/arch-x86/syscalls/capget.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(capget) pushl %ebx diff --git a/libc/arch-x86/syscalls/capset.S b/libc/arch-x86/syscalls/capset.S index 5ce72e4..7ab426b 100644 --- a/libc/arch-x86/syscalls/capset.S +++ b/libc/arch-x86/syscalls/capset.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(capset) pushl %ebx diff --git a/libc/arch-x86/syscalls/chdir.S b/libc/arch-x86/syscalls/chdir.S index f453d94..bab9614 100644 --- a/libc/arch-x86/syscalls/chdir.S +++ b/libc/arch-x86/syscalls/chdir.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(chdir) pushl %ebx diff --git a/libc/arch-x86/syscalls/chmod.S b/libc/arch-x86/syscalls/chmod.S index 3202cbd..a3d22c7 100644 --- a/libc/arch-x86/syscalls/chmod.S +++ b/libc/arch-x86/syscalls/chmod.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(chmod) pushl %ebx diff --git a/libc/arch-x86/syscalls/chown.S b/libc/arch-x86/syscalls/chown.S index df3f259..48c2b23 100644 --- a/libc/arch-x86/syscalls/chown.S +++ b/libc/arch-x86/syscalls/chown.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(chown) pushl %ebx diff --git a/libc/arch-x86/syscalls/chroot.S b/libc/arch-x86/syscalls/chroot.S index 35a37a9..ea640e6 100644 --- a/libc/arch-x86/syscalls/chroot.S +++ b/libc/arch-x86/syscalls/chroot.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(chroot) pushl %ebx diff --git a/libc/arch-x86/syscalls/clock_getres.S b/libc/arch-x86/syscalls/clock_getres.S index 543887b..806b7e4 100644 --- a/libc/arch-x86/syscalls/clock_getres.S +++ b/libc/arch-x86/syscalls/clock_getres.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(clock_getres) pushl %ebx diff --git a/libc/arch-x86/syscalls/clock_gettime.S b/libc/arch-x86/syscalls/clock_gettime.S index 38a8ec9..2f87d12 100644 --- a/libc/arch-x86/syscalls/clock_gettime.S +++ b/libc/arch-x86/syscalls/clock_gettime.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(clock_gettime) pushl %ebx diff --git a/libc/arch-x86/syscalls/clock_nanosleep.S b/libc/arch-x86/syscalls/clock_nanosleep.S index 94f7c39..d691301 100644 --- a/libc/arch-x86/syscalls/clock_nanosleep.S +++ b/libc/arch-x86/syscalls/clock_nanosleep.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(clock_nanosleep) pushl %ebx diff --git a/libc/arch-x86/syscalls/clock_settime.S b/libc/arch-x86/syscalls/clock_settime.S index f82aa78..a13b20a 100644 --- a/libc/arch-x86/syscalls/clock_settime.S +++ b/libc/arch-x86/syscalls/clock_settime.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(clock_settime) pushl %ebx diff --git a/libc/arch-x86/syscalls/close.S b/libc/arch-x86/syscalls/close.S index b9c7961..0e80403 100644 --- a/libc/arch-x86/syscalls/close.S +++ b/libc/arch-x86/syscalls/close.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(close) pushl %ebx diff --git a/libc/arch-x86/syscalls/connect.S b/libc/arch-x86/syscalls/connect.S index 3298e08..f55d31c 100644 --- a/libc/arch-x86/syscalls/connect.S +++ b/libc/arch-x86/syscalls/connect.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(connect) pushl %ebx diff --git a/libc/arch-x86/syscalls/delete_module.S b/libc/arch-x86/syscalls/delete_module.S index 92b6446..a319310 100644 --- a/libc/arch-x86/syscalls/delete_module.S +++ b/libc/arch-x86/syscalls/delete_module.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(delete_module) pushl %ebx diff --git a/libc/arch-x86/syscalls/dup.S b/libc/arch-x86/syscalls/dup.S index b3de1fb..7304681 100644 --- a/libc/arch-x86/syscalls/dup.S +++ b/libc/arch-x86/syscalls/dup.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(dup) pushl %ebx diff --git a/libc/arch-x86/syscalls/dup2.S b/libc/arch-x86/syscalls/dup2.S index 7558f56..d6cee81 100644 --- a/libc/arch-x86/syscalls/dup2.S +++ b/libc/arch-x86/syscalls/dup2.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(dup2) pushl %ebx diff --git a/libc/arch-x86/syscalls/epoll_create.S b/libc/arch-x86/syscalls/epoll_create.S index 010473a..061f173 100644 --- a/libc/arch-x86/syscalls/epoll_create.S +++ b/libc/arch-x86/syscalls/epoll_create.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(epoll_create) pushl %ebx diff --git a/libc/arch-x86/syscalls/epoll_ctl.S b/libc/arch-x86/syscalls/epoll_ctl.S index 4a87900..5228da3 100644 --- a/libc/arch-x86/syscalls/epoll_ctl.S +++ b/libc/arch-x86/syscalls/epoll_ctl.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(epoll_ctl) pushl %ebx diff --git a/libc/arch-x86/syscalls/epoll_wait.S b/libc/arch-x86/syscalls/epoll_wait.S index 616f735..e395a5e 100644 --- a/libc/arch-x86/syscalls/epoll_wait.S +++ b/libc/arch-x86/syscalls/epoll_wait.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(epoll_wait) pushl %ebx diff --git a/libc/arch-x86/syscalls/eventfd.S b/libc/arch-x86/syscalls/eventfd.S index 4ad4cea..4e96a7b 100644 --- a/libc/arch-x86/syscalls/eventfd.S +++ b/libc/arch-x86/syscalls/eventfd.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(eventfd) pushl %ebx diff --git a/libc/arch-x86/syscalls/execve.S b/libc/arch-x86/syscalls/execve.S index 82922a3..3028e8f 100644 --- a/libc/arch-x86/syscalls/execve.S +++ b/libc/arch-x86/syscalls/execve.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(execve) pushl %ebx diff --git a/libc/arch-x86/syscalls/faccessat.S b/libc/arch-x86/syscalls/faccessat.S index 2756265..c7c3b20 100644 --- a/libc/arch-x86/syscalls/faccessat.S +++ b/libc/arch-x86/syscalls/faccessat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(faccessat) pushl %ebx diff --git a/libc/arch-x86/syscalls/fchdir.S b/libc/arch-x86/syscalls/fchdir.S index 9badf6f..2d6a4fd 100644 --- a/libc/arch-x86/syscalls/fchdir.S +++ b/libc/arch-x86/syscalls/fchdir.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fchdir) pushl %ebx diff --git a/libc/arch-x86/syscalls/fchmod.S b/libc/arch-x86/syscalls/fchmod.S index 4cf79cc..d1e2b1b 100644 --- a/libc/arch-x86/syscalls/fchmod.S +++ b/libc/arch-x86/syscalls/fchmod.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fchmod) pushl %ebx diff --git a/libc/arch-x86/syscalls/fchmodat.S b/libc/arch-x86/syscalls/fchmodat.S index b91fdf7..b46522b 100644 --- a/libc/arch-x86/syscalls/fchmodat.S +++ b/libc/arch-x86/syscalls/fchmodat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fchmodat) pushl %ebx diff --git a/libc/arch-x86/syscalls/fchown.S b/libc/arch-x86/syscalls/fchown.S index f5f6849..d09f965 100644 --- a/libc/arch-x86/syscalls/fchown.S +++ b/libc/arch-x86/syscalls/fchown.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fchown) pushl %ebx diff --git a/libc/arch-x86/syscalls/fchownat.S b/libc/arch-x86/syscalls/fchownat.S index 183ae1d..ad958db 100644 --- a/libc/arch-x86/syscalls/fchownat.S +++ b/libc/arch-x86/syscalls/fchownat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fchownat) pushl %ebx diff --git a/libc/arch-x86/syscalls/fdatasync.S b/libc/arch-x86/syscalls/fdatasync.S index 73811a5..7b912aa 100644 --- a/libc/arch-x86/syscalls/fdatasync.S +++ b/libc/arch-x86/syscalls/fdatasync.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fdatasync) pushl %ebx diff --git a/libc/arch-x86/syscalls/fgetxattr.S b/libc/arch-x86/syscalls/fgetxattr.S index dc6c457..e81c257 100644 --- a/libc/arch-x86/syscalls/fgetxattr.S +++ b/libc/arch-x86/syscalls/fgetxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fgetxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/flistxattr.S b/libc/arch-x86/syscalls/flistxattr.S index bcef232..2d398d1 100644 --- a/libc/arch-x86/syscalls/flistxattr.S +++ b/libc/arch-x86/syscalls/flistxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(flistxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/flock.S b/libc/arch-x86/syscalls/flock.S index e73f1b6..cad1420 100644 --- a/libc/arch-x86/syscalls/flock.S +++ b/libc/arch-x86/syscalls/flock.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(flock) pushl %ebx diff --git a/libc/arch-x86/syscalls/fremovexattr.S b/libc/arch-x86/syscalls/fremovexattr.S index 0535938..837efb8 100644 --- a/libc/arch-x86/syscalls/fremovexattr.S +++ b/libc/arch-x86/syscalls/fremovexattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fremovexattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/fsetxattr.S b/libc/arch-x86/syscalls/fsetxattr.S index 3a88be8..ae0e0f8 100644 --- a/libc/arch-x86/syscalls/fsetxattr.S +++ b/libc/arch-x86/syscalls/fsetxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fsetxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/fstat.S b/libc/arch-x86/syscalls/fstat.S index 4969b00..4fd1d5a 100644 --- a/libc/arch-x86/syscalls/fstat.S +++ b/libc/arch-x86/syscalls/fstat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fstat) pushl %ebx diff --git a/libc/arch-x86/syscalls/fstatat.S b/libc/arch-x86/syscalls/fstatat.S index 0bae34f..f07b405 100644 --- a/libc/arch-x86/syscalls/fstatat.S +++ b/libc/arch-x86/syscalls/fstatat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fstatat) pushl %ebx diff --git a/libc/arch-x86/syscalls/fsync.S b/libc/arch-x86/syscalls/fsync.S index 6cf6ee8..f9e4bc3 100644 --- a/libc/arch-x86/syscalls/fsync.S +++ b/libc/arch-x86/syscalls/fsync.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(fsync) pushl %ebx diff --git a/libc/arch-x86/syscalls/ftruncate.S b/libc/arch-x86/syscalls/ftruncate.S index ff3e945..9d27c14 100644 --- a/libc/arch-x86/syscalls/ftruncate.S +++ b/libc/arch-x86/syscalls/ftruncate.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(ftruncate) pushl %ebx diff --git a/libc/arch-x86/syscalls/ftruncate64.S b/libc/arch-x86/syscalls/ftruncate64.S index fe23a41..a121add 100644 --- a/libc/arch-x86/syscalls/ftruncate64.S +++ b/libc/arch-x86/syscalls/ftruncate64.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(ftruncate64) pushl %ebx diff --git a/libc/arch-x86/syscalls/futex.S b/libc/arch-x86/syscalls/futex.S index b21da36..7f0684f 100644 --- a/libc/arch-x86/syscalls/futex.S +++ b/libc/arch-x86/syscalls/futex.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(futex) pushl %ebx diff --git a/libc/arch-x86/syscalls/getdents.S b/libc/arch-x86/syscalls/getdents.S index baef233..c17a5a7 100644 --- a/libc/arch-x86/syscalls/getdents.S +++ b/libc/arch-x86/syscalls/getdents.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getdents) pushl %ebx diff --git a/libc/arch-x86/syscalls/getegid.S b/libc/arch-x86/syscalls/getegid.S index 4dc0678..0f055e1 100644 --- a/libc/arch-x86/syscalls/getegid.S +++ b/libc/arch-x86/syscalls/getegid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getegid) movl $__NR_getegid32, %eax diff --git a/libc/arch-x86/syscalls/geteuid.S b/libc/arch-x86/syscalls/geteuid.S index a2c4029..a308137 100644 --- a/libc/arch-x86/syscalls/geteuid.S +++ b/libc/arch-x86/syscalls/geteuid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(geteuid) movl $__NR_geteuid32, %eax diff --git a/libc/arch-x86/syscalls/getgid.S b/libc/arch-x86/syscalls/getgid.S index 8885cf9..0b43991 100644 --- a/libc/arch-x86/syscalls/getgid.S +++ b/libc/arch-x86/syscalls/getgid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getgid) movl $__NR_getgid32, %eax diff --git a/libc/arch-x86/syscalls/getgroups.S b/libc/arch-x86/syscalls/getgroups.S index 3e580e3..c92a692 100644 --- a/libc/arch-x86/syscalls/getgroups.S +++ b/libc/arch-x86/syscalls/getgroups.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getgroups) pushl %ebx diff --git a/libc/arch-x86/syscalls/getitimer.S b/libc/arch-x86/syscalls/getitimer.S index 40e984b..04f01c0 100644 --- a/libc/arch-x86/syscalls/getitimer.S +++ b/libc/arch-x86/syscalls/getitimer.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getitimer) pushl %ebx diff --git a/libc/arch-x86/syscalls/getpeername.S b/libc/arch-x86/syscalls/getpeername.S index 854cf9f..1a385ad 100644 --- a/libc/arch-x86/syscalls/getpeername.S +++ b/libc/arch-x86/syscalls/getpeername.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getpeername) pushl %ebx diff --git a/libc/arch-x86/syscalls/getpgid.S b/libc/arch-x86/syscalls/getpgid.S index 990af58..d1a8d26 100644 --- a/libc/arch-x86/syscalls/getpgid.S +++ b/libc/arch-x86/syscalls/getpgid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getpgid) pushl %ebx diff --git a/libc/arch-x86/syscalls/getpid.S b/libc/arch-x86/syscalls/getpid.S index 3f4406e..f9e3613 100644 --- a/libc/arch-x86/syscalls/getpid.S +++ b/libc/arch-x86/syscalls/getpid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getpid) movl $__NR_getpid, %eax diff --git a/libc/arch-x86/syscalls/getppid.S b/libc/arch-x86/syscalls/getppid.S index f1f3f6b..afbc81a 100644 --- a/libc/arch-x86/syscalls/getppid.S +++ b/libc/arch-x86/syscalls/getppid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getppid) movl $__NR_getppid, %eax diff --git a/libc/arch-x86/syscalls/getresgid.S b/libc/arch-x86/syscalls/getresgid.S index bac8f59..c1adb5c 100644 --- a/libc/arch-x86/syscalls/getresgid.S +++ b/libc/arch-x86/syscalls/getresgid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getresgid) pushl %ebx diff --git a/libc/arch-x86/syscalls/getresuid.S b/libc/arch-x86/syscalls/getresuid.S index e78c835..4bbf637 100644 --- a/libc/arch-x86/syscalls/getresuid.S +++ b/libc/arch-x86/syscalls/getresuid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getresuid) pushl %ebx diff --git a/libc/arch-x86/syscalls/getrlimit.S b/libc/arch-x86/syscalls/getrlimit.S index 4c3e56e..09b2fd5 100644 --- a/libc/arch-x86/syscalls/getrlimit.S +++ b/libc/arch-x86/syscalls/getrlimit.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getrlimit) pushl %ebx diff --git a/libc/arch-x86/syscalls/getrusage.S b/libc/arch-x86/syscalls/getrusage.S index 90d58ba..f180213 100644 --- a/libc/arch-x86/syscalls/getrusage.S +++ b/libc/arch-x86/syscalls/getrusage.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getrusage) pushl %ebx diff --git a/libc/arch-x86/syscalls/getsid.S b/libc/arch-x86/syscalls/getsid.S index 4cb8182..5b1a32f 100644 --- a/libc/arch-x86/syscalls/getsid.S +++ b/libc/arch-x86/syscalls/getsid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getsid) pushl %ebx diff --git a/libc/arch-x86/syscalls/getsockname.S b/libc/arch-x86/syscalls/getsockname.S index 931bf79..9e7cec1 100644 --- a/libc/arch-x86/syscalls/getsockname.S +++ b/libc/arch-x86/syscalls/getsockname.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getsockname) pushl %ebx diff --git a/libc/arch-x86/syscalls/getsockopt.S b/libc/arch-x86/syscalls/getsockopt.S index ffd4730..c210749 100644 --- a/libc/arch-x86/syscalls/getsockopt.S +++ b/libc/arch-x86/syscalls/getsockopt.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getsockopt) pushl %ebx diff --git a/libc/arch-x86/syscalls/gettid.S b/libc/arch-x86/syscalls/gettid.S index 5e6d65e..d14f320 100644 --- a/libc/arch-x86/syscalls/gettid.S +++ b/libc/arch-x86/syscalls/gettid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(gettid) movl $__NR_gettid, %eax diff --git a/libc/arch-x86/syscalls/gettimeofday.S b/libc/arch-x86/syscalls/gettimeofday.S index 142faa3..2fa118d 100644 --- a/libc/arch-x86/syscalls/gettimeofday.S +++ b/libc/arch-x86/syscalls/gettimeofday.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(gettimeofday) pushl %ebx diff --git a/libc/arch-x86/syscalls/getuid.S b/libc/arch-x86/syscalls/getuid.S index 9aa8bc6..08b9cce 100644 --- a/libc/arch-x86/syscalls/getuid.S +++ b/libc/arch-x86/syscalls/getuid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getuid) movl $__NR_getuid32, %eax diff --git a/libc/arch-x86/syscalls/getxattr.S b/libc/arch-x86/syscalls/getxattr.S index e3d9edc..64990ef 100644 --- a/libc/arch-x86/syscalls/getxattr.S +++ b/libc/arch-x86/syscalls/getxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(getxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/init_module.S b/libc/arch-x86/syscalls/init_module.S index 74ebfe8..9d1daad 100644 --- a/libc/arch-x86/syscalls/init_module.S +++ b/libc/arch-x86/syscalls/init_module.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(init_module) pushl %ebx diff --git a/libc/arch-x86/syscalls/inotify_add_watch.S b/libc/arch-x86/syscalls/inotify_add_watch.S index 58a6fd4..fc9c087 100644 --- a/libc/arch-x86/syscalls/inotify_add_watch.S +++ b/libc/arch-x86/syscalls/inotify_add_watch.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(inotify_add_watch) pushl %ebx diff --git a/libc/arch-x86/syscalls/inotify_init.S b/libc/arch-x86/syscalls/inotify_init.S index 66b3a65..ffc4a2a 100644 --- a/libc/arch-x86/syscalls/inotify_init.S +++ b/libc/arch-x86/syscalls/inotify_init.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(inotify_init) pushl %ebx diff --git a/libc/arch-x86/syscalls/inotify_rm_watch.S b/libc/arch-x86/syscalls/inotify_rm_watch.S index 4db5799..08d208c 100644 --- a/libc/arch-x86/syscalls/inotify_rm_watch.S +++ b/libc/arch-x86/syscalls/inotify_rm_watch.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(inotify_rm_watch) pushl %ebx diff --git a/libc/arch-x86/syscalls/ioprio_get.S b/libc/arch-x86/syscalls/ioprio_get.S index 7c6daa3..63f1111 100644 --- a/libc/arch-x86/syscalls/ioprio_get.S +++ b/libc/arch-x86/syscalls/ioprio_get.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(ioprio_get) pushl %ebx diff --git a/libc/arch-x86/syscalls/ioprio_set.S b/libc/arch-x86/syscalls/ioprio_set.S index 4be460e..2b4d87e 100644 --- a/libc/arch-x86/syscalls/ioprio_set.S +++ b/libc/arch-x86/syscalls/ioprio_set.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(ioprio_set) pushl %ebx diff --git a/libc/arch-x86/syscalls/kill.S b/libc/arch-x86/syscalls/kill.S index 7c7dcb9..260fe73 100644 --- a/libc/arch-x86/syscalls/kill.S +++ b/libc/arch-x86/syscalls/kill.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(kill) pushl %ebx diff --git a/libc/arch-x86/syscalls/klogctl.S b/libc/arch-x86/syscalls/klogctl.S index e6cac00..32db1af 100644 --- a/libc/arch-x86/syscalls/klogctl.S +++ b/libc/arch-x86/syscalls/klogctl.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(klogctl) pushl %ebx diff --git a/libc/arch-x86/syscalls/lchown.S b/libc/arch-x86/syscalls/lchown.S index 471c51f..9bd1c9a 100644 --- a/libc/arch-x86/syscalls/lchown.S +++ b/libc/arch-x86/syscalls/lchown.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(lchown) pushl %ebx diff --git a/libc/arch-x86/syscalls/lgetxattr.S b/libc/arch-x86/syscalls/lgetxattr.S index 0997262..bb5a7ba 100644 --- a/libc/arch-x86/syscalls/lgetxattr.S +++ b/libc/arch-x86/syscalls/lgetxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(lgetxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/link.S b/libc/arch-x86/syscalls/link.S index 96b8edc..4419149 100644 --- a/libc/arch-x86/syscalls/link.S +++ b/libc/arch-x86/syscalls/link.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(link) pushl %ebx diff --git a/libc/arch-x86/syscalls/listen.S b/libc/arch-x86/syscalls/listen.S index bf1aa77..0c4d6b0 100644 --- a/libc/arch-x86/syscalls/listen.S +++ b/libc/arch-x86/syscalls/listen.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(listen) pushl %ebx diff --git a/libc/arch-x86/syscalls/listxattr.S b/libc/arch-x86/syscalls/listxattr.S index ae8d351..059c2aa 100644 --- a/libc/arch-x86/syscalls/listxattr.S +++ b/libc/arch-x86/syscalls/listxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(listxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/llistxattr.S b/libc/arch-x86/syscalls/llistxattr.S index 22fb6a9..a6023eb 100644 --- a/libc/arch-x86/syscalls/llistxattr.S +++ b/libc/arch-x86/syscalls/llistxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(llistxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/lremovexattr.S b/libc/arch-x86/syscalls/lremovexattr.S index 3deae95..2bfd91b 100644 --- a/libc/arch-x86/syscalls/lremovexattr.S +++ b/libc/arch-x86/syscalls/lremovexattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(lremovexattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/lseek.S b/libc/arch-x86/syscalls/lseek.S index d62983f..d7b3b19 100644 --- a/libc/arch-x86/syscalls/lseek.S +++ b/libc/arch-x86/syscalls/lseek.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(lseek) pushl %ebx diff --git a/libc/arch-x86/syscalls/lsetxattr.S b/libc/arch-x86/syscalls/lsetxattr.S index f8f50aa..05790e7 100644 --- a/libc/arch-x86/syscalls/lsetxattr.S +++ b/libc/arch-x86/syscalls/lsetxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(lsetxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/lstat.S b/libc/arch-x86/syscalls/lstat.S index dc2a36c..7b8187e 100644 --- a/libc/arch-x86/syscalls/lstat.S +++ b/libc/arch-x86/syscalls/lstat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(lstat) pushl %ebx diff --git a/libc/arch-x86/syscalls/madvise.S b/libc/arch-x86/syscalls/madvise.S index a2827eb..bf8b518 100644 --- a/libc/arch-x86/syscalls/madvise.S +++ b/libc/arch-x86/syscalls/madvise.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(madvise) pushl %ebx diff --git a/libc/arch-x86/syscalls/mincore.S b/libc/arch-x86/syscalls/mincore.S index 0b6e129..42a612a 100644 --- a/libc/arch-x86/syscalls/mincore.S +++ b/libc/arch-x86/syscalls/mincore.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mincore) pushl %ebx diff --git a/libc/arch-x86/syscalls/mkdir.S b/libc/arch-x86/syscalls/mkdir.S index 3256aff..d8cdbd4 100644 --- a/libc/arch-x86/syscalls/mkdir.S +++ b/libc/arch-x86/syscalls/mkdir.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mkdir) pushl %ebx diff --git a/libc/arch-x86/syscalls/mkdirat.S b/libc/arch-x86/syscalls/mkdirat.S index 9d872b1..844a2b9 100644 --- a/libc/arch-x86/syscalls/mkdirat.S +++ b/libc/arch-x86/syscalls/mkdirat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mkdirat) pushl %ebx diff --git a/libc/arch-x86/syscalls/mknod.S b/libc/arch-x86/syscalls/mknod.S index ad06357..eebef21 100644 --- a/libc/arch-x86/syscalls/mknod.S +++ b/libc/arch-x86/syscalls/mknod.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mknod) pushl %ebx diff --git a/libc/arch-x86/syscalls/mlock.S b/libc/arch-x86/syscalls/mlock.S index c078138..9c91682 100644 --- a/libc/arch-x86/syscalls/mlock.S +++ b/libc/arch-x86/syscalls/mlock.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mlock) pushl %ebx diff --git a/libc/arch-x86/syscalls/mlockall.S b/libc/arch-x86/syscalls/mlockall.S index 8251117..6bf571b 100644 --- a/libc/arch-x86/syscalls/mlockall.S +++ b/libc/arch-x86/syscalls/mlockall.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mlockall) pushl %ebx diff --git a/libc/arch-x86/syscalls/mount.S b/libc/arch-x86/syscalls/mount.S index e57c54d..255f223 100644 --- a/libc/arch-x86/syscalls/mount.S +++ b/libc/arch-x86/syscalls/mount.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mount) pushl %ebx diff --git a/libc/arch-x86/syscalls/mprotect.S b/libc/arch-x86/syscalls/mprotect.S index c5b414a..c2b6a0f 100644 --- a/libc/arch-x86/syscalls/mprotect.S +++ b/libc/arch-x86/syscalls/mprotect.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mprotect) pushl %ebx diff --git a/libc/arch-x86/syscalls/mremap.S b/libc/arch-x86/syscalls/mremap.S index ca40fd3..6c366dc 100644 --- a/libc/arch-x86/syscalls/mremap.S +++ b/libc/arch-x86/syscalls/mremap.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(mremap) pushl %ebx diff --git a/libc/arch-x86/syscalls/msync.S b/libc/arch-x86/syscalls/msync.S index 3eb8014..15b052d 100644 --- a/libc/arch-x86/syscalls/msync.S +++ b/libc/arch-x86/syscalls/msync.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(msync) pushl %ebx diff --git a/libc/arch-x86/syscalls/munlock.S b/libc/arch-x86/syscalls/munlock.S index 20249f9..1c7db58 100644 --- a/libc/arch-x86/syscalls/munlock.S +++ b/libc/arch-x86/syscalls/munlock.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(munlock) pushl %ebx diff --git a/libc/arch-x86/syscalls/munlockall.S b/libc/arch-x86/syscalls/munlockall.S index 18275ca..9e38a91 100644 --- a/libc/arch-x86/syscalls/munlockall.S +++ b/libc/arch-x86/syscalls/munlockall.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(munlockall) movl $__NR_munlockall, %eax diff --git a/libc/arch-x86/syscalls/munmap.S b/libc/arch-x86/syscalls/munmap.S index 22f3549..a62eb92 100644 --- a/libc/arch-x86/syscalls/munmap.S +++ b/libc/arch-x86/syscalls/munmap.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(munmap) pushl %ebx diff --git a/libc/arch-x86/syscalls/nanosleep.S b/libc/arch-x86/syscalls/nanosleep.S index dc14121..8cf0d8f 100644 --- a/libc/arch-x86/syscalls/nanosleep.S +++ b/libc/arch-x86/syscalls/nanosleep.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(nanosleep) pushl %ebx diff --git a/libc/arch-x86/syscalls/pause.S b/libc/arch-x86/syscalls/pause.S index 8bc21d1..ff9d76c 100644 --- a/libc/arch-x86/syscalls/pause.S +++ b/libc/arch-x86/syscalls/pause.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(pause) movl $__NR_pause, %eax diff --git a/libc/arch-x86/syscalls/perf_event_open.S b/libc/arch-x86/syscalls/perf_event_open.S index e1ec6d8..fa39a2a 100644 --- a/libc/arch-x86/syscalls/perf_event_open.S +++ b/libc/arch-x86/syscalls/perf_event_open.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(perf_event_open) pushl %ebx diff --git a/libc/arch-x86/syscalls/personality.S b/libc/arch-x86/syscalls/personality.S index 7ae3dfb..045f3de 100644 --- a/libc/arch-x86/syscalls/personality.S +++ b/libc/arch-x86/syscalls/personality.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(personality) pushl %ebx diff --git a/libc/arch-x86/syscalls/pipe.S b/libc/arch-x86/syscalls/pipe.S index 583e868..b906e6d 100644 --- a/libc/arch-x86/syscalls/pipe.S +++ b/libc/arch-x86/syscalls/pipe.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(pipe) pushl %ebx diff --git a/libc/arch-x86/syscalls/pipe2.S b/libc/arch-x86/syscalls/pipe2.S index 12a8033..bf3ccf6 100644 --- a/libc/arch-x86/syscalls/pipe2.S +++ b/libc/arch-x86/syscalls/pipe2.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(pipe2) pushl %ebx diff --git a/libc/arch-x86/syscalls/poll.S b/libc/arch-x86/syscalls/poll.S index 7d7608a..3261857 100644 --- a/libc/arch-x86/syscalls/poll.S +++ b/libc/arch-x86/syscalls/poll.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(poll) pushl %ebx diff --git a/libc/arch-x86/syscalls/prctl.S b/libc/arch-x86/syscalls/prctl.S index f8dcc28..bcaf2d8 100644 --- a/libc/arch-x86/syscalls/prctl.S +++ b/libc/arch-x86/syscalls/prctl.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(prctl) pushl %ebx diff --git a/libc/arch-x86/syscalls/pread64.S b/libc/arch-x86/syscalls/pread64.S index ff12f55..b9fcb54 100644 --- a/libc/arch-x86/syscalls/pread64.S +++ b/libc/arch-x86/syscalls/pread64.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(pread64) pushl %ebx diff --git a/libc/arch-x86/syscalls/pwrite64.S b/libc/arch-x86/syscalls/pwrite64.S index 6c00508..f689cc6 100644 --- a/libc/arch-x86/syscalls/pwrite64.S +++ b/libc/arch-x86/syscalls/pwrite64.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(pwrite64) pushl %ebx diff --git a/libc/arch-x86/syscalls/read.S b/libc/arch-x86/syscalls/read.S index be63487..bccc1bb 100644 --- a/libc/arch-x86/syscalls/read.S +++ b/libc/arch-x86/syscalls/read.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(read) pushl %ebx diff --git a/libc/arch-x86/syscalls/readahead.S b/libc/arch-x86/syscalls/readahead.S index 78584cc..e72cc7a 100644 --- a/libc/arch-x86/syscalls/readahead.S +++ b/libc/arch-x86/syscalls/readahead.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(readahead) pushl %ebx diff --git a/libc/arch-x86/syscalls/readlink.S b/libc/arch-x86/syscalls/readlink.S index e75a2c0..7444728 100644 --- a/libc/arch-x86/syscalls/readlink.S +++ b/libc/arch-x86/syscalls/readlink.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(readlink) pushl %ebx diff --git a/libc/arch-x86/syscalls/readv.S b/libc/arch-x86/syscalls/readv.S index 699295d..6ff3002 100644 --- a/libc/arch-x86/syscalls/readv.S +++ b/libc/arch-x86/syscalls/readv.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(readv) pushl %ebx diff --git a/libc/arch-x86/syscalls/recvfrom.S b/libc/arch-x86/syscalls/recvfrom.S index acbc166..f3d9d6a 100644 --- a/libc/arch-x86/syscalls/recvfrom.S +++ b/libc/arch-x86/syscalls/recvfrom.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(recvfrom) pushl %ebx diff --git a/libc/arch-x86/syscalls/recvmsg.S b/libc/arch-x86/syscalls/recvmsg.S index b85abb5..9c4f9e2 100644 --- a/libc/arch-x86/syscalls/recvmsg.S +++ b/libc/arch-x86/syscalls/recvmsg.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(recvmsg) pushl %ebx diff --git a/libc/arch-x86/syscalls/removexattr.S b/libc/arch-x86/syscalls/removexattr.S index c0af7e7..a086eb7 100644 --- a/libc/arch-x86/syscalls/removexattr.S +++ b/libc/arch-x86/syscalls/removexattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(removexattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/rename.S b/libc/arch-x86/syscalls/rename.S index 955bb74..9f40818 100644 --- a/libc/arch-x86/syscalls/rename.S +++ b/libc/arch-x86/syscalls/rename.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(rename) pushl %ebx diff --git a/libc/arch-x86/syscalls/renameat.S b/libc/arch-x86/syscalls/renameat.S index d4b9f24..e3ffe7b 100644 --- a/libc/arch-x86/syscalls/renameat.S +++ b/libc/arch-x86/syscalls/renameat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(renameat) pushl %ebx diff --git a/libc/arch-x86/syscalls/rmdir.S b/libc/arch-x86/syscalls/rmdir.S index a9025b0..627c41a 100644 --- a/libc/arch-x86/syscalls/rmdir.S +++ b/libc/arch-x86/syscalls/rmdir.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(rmdir) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_get_priority_max.S b/libc/arch-x86/syscalls/sched_get_priority_max.S index 281f4d7..fb696cc 100644 --- a/libc/arch-x86/syscalls/sched_get_priority_max.S +++ b/libc/arch-x86/syscalls/sched_get_priority_max.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_get_priority_max) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_get_priority_min.S b/libc/arch-x86/syscalls/sched_get_priority_min.S index 41b2e65..f1884f1 100644 --- a/libc/arch-x86/syscalls/sched_get_priority_min.S +++ b/libc/arch-x86/syscalls/sched_get_priority_min.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_get_priority_min) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_getparam.S b/libc/arch-x86/syscalls/sched_getparam.S index 131d919..0214c6c 100644 --- a/libc/arch-x86/syscalls/sched_getparam.S +++ b/libc/arch-x86/syscalls/sched_getparam.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_getparam) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_getscheduler.S b/libc/arch-x86/syscalls/sched_getscheduler.S index da8578b..aaba953 100644 --- a/libc/arch-x86/syscalls/sched_getscheduler.S +++ b/libc/arch-x86/syscalls/sched_getscheduler.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_getscheduler) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_rr_get_interval.S b/libc/arch-x86/syscalls/sched_rr_get_interval.S index 3ce976a..c2745c7 100644 --- a/libc/arch-x86/syscalls/sched_rr_get_interval.S +++ b/libc/arch-x86/syscalls/sched_rr_get_interval.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_rr_get_interval) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_setaffinity.S b/libc/arch-x86/syscalls/sched_setaffinity.S index 89b42eb..40f09f2 100644 --- a/libc/arch-x86/syscalls/sched_setaffinity.S +++ b/libc/arch-x86/syscalls/sched_setaffinity.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_setaffinity) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_setparam.S b/libc/arch-x86/syscalls/sched_setparam.S index 4327d04..b3c2c1f 100644 --- a/libc/arch-x86/syscalls/sched_setparam.S +++ b/libc/arch-x86/syscalls/sched_setparam.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_setparam) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_setscheduler.S b/libc/arch-x86/syscalls/sched_setscheduler.S index 9fdb5e6..c57ed7b 100644 --- a/libc/arch-x86/syscalls/sched_setscheduler.S +++ b/libc/arch-x86/syscalls/sched_setscheduler.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_setscheduler) pushl %ebx diff --git a/libc/arch-x86/syscalls/sched_yield.S b/libc/arch-x86/syscalls/sched_yield.S index 774aca4..e40e2da 100644 --- a/libc/arch-x86/syscalls/sched_yield.S +++ b/libc/arch-x86/syscalls/sched_yield.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sched_yield) pushl %ebx diff --git a/libc/arch-x86/syscalls/select.S b/libc/arch-x86/syscalls/select.S index 9943618..1f19918 100644 --- a/libc/arch-x86/syscalls/select.S +++ b/libc/arch-x86/syscalls/select.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(select) pushl %ebx diff --git a/libc/arch-x86/syscalls/sendfile.S b/libc/arch-x86/syscalls/sendfile.S index b2dd94b..fed0456 100644 --- a/libc/arch-x86/syscalls/sendfile.S +++ b/libc/arch-x86/syscalls/sendfile.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sendfile) pushl %ebx diff --git a/libc/arch-x86/syscalls/sendmsg.S b/libc/arch-x86/syscalls/sendmsg.S index 93b5047..9b9dee1 100644 --- a/libc/arch-x86/syscalls/sendmsg.S +++ b/libc/arch-x86/syscalls/sendmsg.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sendmsg) pushl %ebx diff --git a/libc/arch-x86/syscalls/sendto.S b/libc/arch-x86/syscalls/sendto.S index b0ecd86..315ed4c 100644 --- a/libc/arch-x86/syscalls/sendto.S +++ b/libc/arch-x86/syscalls/sendto.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sendto) pushl %ebx diff --git a/libc/arch-x86/syscalls/setgid.S b/libc/arch-x86/syscalls/setgid.S index 853fea3..4704047 100644 --- a/libc/arch-x86/syscalls/setgid.S +++ b/libc/arch-x86/syscalls/setgid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setgid) pushl %ebx diff --git a/libc/arch-x86/syscalls/setgroups.S b/libc/arch-x86/syscalls/setgroups.S index e68a971..f55d84f 100644 --- a/libc/arch-x86/syscalls/setgroups.S +++ b/libc/arch-x86/syscalls/setgroups.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setgroups) pushl %ebx diff --git a/libc/arch-x86/syscalls/setitimer.S b/libc/arch-x86/syscalls/setitimer.S index 246e8da..713c5c6 100644 --- a/libc/arch-x86/syscalls/setitimer.S +++ b/libc/arch-x86/syscalls/setitimer.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setitimer) pushl %ebx diff --git a/libc/arch-x86/syscalls/setpgid.S b/libc/arch-x86/syscalls/setpgid.S index 878662b..f90001a 100644 --- a/libc/arch-x86/syscalls/setpgid.S +++ b/libc/arch-x86/syscalls/setpgid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setpgid) pushl %ebx diff --git a/libc/arch-x86/syscalls/setpriority.S b/libc/arch-x86/syscalls/setpriority.S index 65ba7d5..973302e 100644 --- a/libc/arch-x86/syscalls/setpriority.S +++ b/libc/arch-x86/syscalls/setpriority.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setpriority) pushl %ebx diff --git a/libc/arch-x86/syscalls/setregid.S b/libc/arch-x86/syscalls/setregid.S index 58a5afd..6842540 100644 --- a/libc/arch-x86/syscalls/setregid.S +++ b/libc/arch-x86/syscalls/setregid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setregid) pushl %ebx diff --git a/libc/arch-x86/syscalls/setresgid.S b/libc/arch-x86/syscalls/setresgid.S index efda6e6..ce598c1 100644 --- a/libc/arch-x86/syscalls/setresgid.S +++ b/libc/arch-x86/syscalls/setresgid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setresgid) pushl %ebx diff --git a/libc/arch-x86/syscalls/setrlimit.S b/libc/arch-x86/syscalls/setrlimit.S index b73faaf..0c11b75 100644 --- a/libc/arch-x86/syscalls/setrlimit.S +++ b/libc/arch-x86/syscalls/setrlimit.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setrlimit) pushl %ebx diff --git a/libc/arch-x86/syscalls/setsid.S b/libc/arch-x86/syscalls/setsid.S index 59b3bbb..235b4fb 100644 --- a/libc/arch-x86/syscalls/setsid.S +++ b/libc/arch-x86/syscalls/setsid.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setsid) movl $__NR_setsid, %eax diff --git a/libc/arch-x86/syscalls/setsockopt.S b/libc/arch-x86/syscalls/setsockopt.S index 486e9eb..6219859 100644 --- a/libc/arch-x86/syscalls/setsockopt.S +++ b/libc/arch-x86/syscalls/setsockopt.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setsockopt) pushl %ebx diff --git a/libc/arch-x86/syscalls/settimeofday.S b/libc/arch-x86/syscalls/settimeofday.S index 616b551..f06aee7 100644 --- a/libc/arch-x86/syscalls/settimeofday.S +++ b/libc/arch-x86/syscalls/settimeofday.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(settimeofday) pushl %ebx diff --git a/libc/arch-x86/syscalls/setxattr.S b/libc/arch-x86/syscalls/setxattr.S index 30752f8..f6110cc 100644 --- a/libc/arch-x86/syscalls/setxattr.S +++ b/libc/arch-x86/syscalls/setxattr.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(setxattr) pushl %ebx diff --git a/libc/arch-x86/syscalls/shutdown.S b/libc/arch-x86/syscalls/shutdown.S index 697107c..997138c 100644 --- a/libc/arch-x86/syscalls/shutdown.S +++ b/libc/arch-x86/syscalls/shutdown.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(shutdown) pushl %ebx diff --git a/libc/arch-x86/syscalls/sigaction.S b/libc/arch-x86/syscalls/sigaction.S index 7f2cfd1..499c821 100644 --- a/libc/arch-x86/syscalls/sigaction.S +++ b/libc/arch-x86/syscalls/sigaction.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sigaction) pushl %ebx diff --git a/libc/arch-x86/syscalls/sigaltstack.S b/libc/arch-x86/syscalls/sigaltstack.S index 6adf9a7..7cdd1eb 100644 --- a/libc/arch-x86/syscalls/sigaltstack.S +++ b/libc/arch-x86/syscalls/sigaltstack.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sigaltstack) pushl %ebx diff --git a/libc/arch-x86/syscalls/signalfd4.S b/libc/arch-x86/syscalls/signalfd4.S index a2c7527..399ad35 100644 --- a/libc/arch-x86/syscalls/signalfd4.S +++ b/libc/arch-x86/syscalls/signalfd4.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(signalfd4) pushl %ebx diff --git a/libc/arch-x86/syscalls/sigpending.S b/libc/arch-x86/syscalls/sigpending.S index 34af79d..e26f189 100644 --- a/libc/arch-x86/syscalls/sigpending.S +++ b/libc/arch-x86/syscalls/sigpending.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sigpending) pushl %ebx diff --git a/libc/arch-x86/syscalls/sigprocmask.S b/libc/arch-x86/syscalls/sigprocmask.S index 12390a5..fb12ea2 100644 --- a/libc/arch-x86/syscalls/sigprocmask.S +++ b/libc/arch-x86/syscalls/sigprocmask.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sigprocmask) pushl %ebx diff --git a/libc/arch-x86/syscalls/socket.S b/libc/arch-x86/syscalls/socket.S index c9f63b0..b7a20de 100644 --- a/libc/arch-x86/syscalls/socket.S +++ b/libc/arch-x86/syscalls/socket.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(socket) pushl %ebx diff --git a/libc/arch-x86/syscalls/socketpair.S b/libc/arch-x86/syscalls/socketpair.S index 6ea3edc..02c02ac 100644 --- a/libc/arch-x86/syscalls/socketpair.S +++ b/libc/arch-x86/syscalls/socketpair.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(socketpair) pushl %ebx diff --git a/libc/arch-x86/syscalls/stat.S b/libc/arch-x86/syscalls/stat.S index cd2d291..2cdf1a0 100644 --- a/libc/arch-x86/syscalls/stat.S +++ b/libc/arch-x86/syscalls/stat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(stat) pushl %ebx diff --git a/libc/arch-x86/syscalls/symlink.S b/libc/arch-x86/syscalls/symlink.S index 86415f1..6c27dc1 100644 --- a/libc/arch-x86/syscalls/symlink.S +++ b/libc/arch-x86/syscalls/symlink.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(symlink) pushl %ebx diff --git a/libc/arch-x86/syscalls/sync.S b/libc/arch-x86/syscalls/sync.S index 2126a6a..d2a4691 100644 --- a/libc/arch-x86/syscalls/sync.S +++ b/libc/arch-x86/syscalls/sync.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sync) pushl %ebx diff --git a/libc/arch-x86/syscalls/sysinfo.S b/libc/arch-x86/syscalls/sysinfo.S index 42dcea3..b0fcd1d 100644 --- a/libc/arch-x86/syscalls/sysinfo.S +++ b/libc/arch-x86/syscalls/sysinfo.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(sysinfo) pushl %ebx diff --git a/libc/arch-x86/syscalls/tgkill.S b/libc/arch-x86/syscalls/tgkill.S index ad7a94a..ac8e7f6 100644 --- a/libc/arch-x86/syscalls/tgkill.S +++ b/libc/arch-x86/syscalls/tgkill.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(tgkill) pushl %ebx diff --git a/libc/arch-x86/syscalls/times.S b/libc/arch-x86/syscalls/times.S index b4dec25..62f3039 100644 --- a/libc/arch-x86/syscalls/times.S +++ b/libc/arch-x86/syscalls/times.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(times) pushl %ebx diff --git a/libc/arch-x86/syscalls/tkill.S b/libc/arch-x86/syscalls/tkill.S index 89ece49..38a7a80 100644 --- a/libc/arch-x86/syscalls/tkill.S +++ b/libc/arch-x86/syscalls/tkill.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(tkill) pushl %ebx diff --git a/libc/arch-x86/syscalls/truncate.S b/libc/arch-x86/syscalls/truncate.S index 60f30eb..ace7128 100644 --- a/libc/arch-x86/syscalls/truncate.S +++ b/libc/arch-x86/syscalls/truncate.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(truncate) pushl %ebx diff --git a/libc/arch-x86/syscalls/umask.S b/libc/arch-x86/syscalls/umask.S index 4942c43..f238975 100644 --- a/libc/arch-x86/syscalls/umask.S +++ b/libc/arch-x86/syscalls/umask.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(umask) pushl %ebx diff --git a/libc/arch-x86/syscalls/umount2.S b/libc/arch-x86/syscalls/umount2.S index 3c54150..3bc04c8 100644 --- a/libc/arch-x86/syscalls/umount2.S +++ b/libc/arch-x86/syscalls/umount2.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(umount2) pushl %ebx diff --git a/libc/arch-x86/syscalls/uname.S b/libc/arch-x86/syscalls/uname.S index 310ac7f..00c1a0c 100644 --- a/libc/arch-x86/syscalls/uname.S +++ b/libc/arch-x86/syscalls/uname.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(uname) pushl %ebx diff --git a/libc/arch-x86/syscalls/unlink.S b/libc/arch-x86/syscalls/unlink.S index d58bfb8..60e7b47 100644 --- a/libc/arch-x86/syscalls/unlink.S +++ b/libc/arch-x86/syscalls/unlink.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(unlink) pushl %ebx diff --git a/libc/arch-x86/syscalls/unlinkat.S b/libc/arch-x86/syscalls/unlinkat.S index 85499c2..2e1a04f 100644 --- a/libc/arch-x86/syscalls/unlinkat.S +++ b/libc/arch-x86/syscalls/unlinkat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(unlinkat) pushl %ebx diff --git a/libc/arch-x86/syscalls/unshare.S b/libc/arch-x86/syscalls/unshare.S index 883ad40..f5b9a44 100644 --- a/libc/arch-x86/syscalls/unshare.S +++ b/libc/arch-x86/syscalls/unshare.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(unshare) pushl %ebx diff --git a/libc/arch-x86/syscalls/utimensat.S b/libc/arch-x86/syscalls/utimensat.S index 739d486..ab31922 100644 --- a/libc/arch-x86/syscalls/utimensat.S +++ b/libc/arch-x86/syscalls/utimensat.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(utimensat) pushl %ebx diff --git a/libc/arch-x86/syscalls/utimes.S b/libc/arch-x86/syscalls/utimes.S index b6c6036..4ca4a8d 100644 --- a/libc/arch-x86/syscalls/utimes.S +++ b/libc/arch-x86/syscalls/utimes.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(utimes) pushl %ebx diff --git a/libc/arch-x86/syscalls/wait4.S b/libc/arch-x86/syscalls/wait4.S index e3bad3e..9de704a 100644 --- a/libc/arch-x86/syscalls/wait4.S +++ b/libc/arch-x86/syscalls/wait4.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(wait4) pushl %ebx diff --git a/libc/arch-x86/syscalls/write.S b/libc/arch-x86/syscalls/write.S index 8dd79a2..11d0c72 100644 --- a/libc/arch-x86/syscalls/write.S +++ b/libc/arch-x86/syscalls/write.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(write) pushl %ebx diff --git a/libc/arch-x86/syscalls/writev.S b/libc/arch-x86/syscalls/writev.S index c442a19..a158a14 100644 --- a/libc/arch-x86/syscalls/writev.S +++ b/libc/arch-x86/syscalls/writev.S @@ -1,7 +1,7 @@ /* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(writev) pushl %ebx diff --git a/libc/include/sys/glibc-syscalls.h b/libc/include/sys/glibc-syscalls.h index 1eac60d..44f37c8 100644 --- a/libc/include/sys/glibc-syscalls.h +++ b/libc/include/sys/glibc-syscalls.h @@ -1,463 +1,1050 @@ /* Auto-generated by gensyscalls.py; do not edit. */ #ifndef _BIONIC_GLIBC_SYSCALLS_H_ #define _BIONIC_GLIBC_SYSCALLS_H_ -#define SYS_exit __NR_exit -#define SYS_fork __NR_fork -#define SYS_read __NR_read -#define SYS_write __NR_write -#define SYS_open __NR_open -#define SYS_close __NR_close -#define SYS_link __NR_link -#define SYS_unlink __NR_unlink -#define SYS_execve __NR_execve -#define SYS_chdir __NR_chdir -#define SYS_mknod __NR_mknod -#define SYS_chmod __NR_chmod -#define SYS_lseek __NR_lseek -#define SYS_getpid __NR_getpid -#define SYS_mount __NR_mount -#define SYS_ptrace __NR_ptrace -#define SYS_pause __NR_pause -#define SYS_access __NR_access -#define SYS_sync __NR_sync -#define SYS_rename __NR_rename -#define SYS_mkdir __NR_mkdir -#define SYS_rmdir __NR_rmdir -#define SYS_dup __NR_dup -#define SYS_times __NR_times -#define SYS_brk __NR_brk -#define SYS_acct __NR_acct -#define SYS_umount2 __NR_umount2 -#define SYS_ioctl __NR_ioctl -#define SYS_fcntl __NR_fcntl -#define SYS_setpgid __NR_setpgid -#define SYS_umask __NR_umask -#define SYS_chroot __NR_chroot -#define SYS_dup2 __NR_dup2 -#define SYS_getppid __NR_getppid -#define SYS_setsid __NR_setsid -#define SYS_sigaction __NR_sigaction -#define SYS_sigpending __NR_sigpending -#define SYS_setrlimit __NR_setrlimit -#define SYS_getrusage __NR_getrusage -#define SYS_gettimeofday __NR_gettimeofday -#define SYS_settimeofday __NR_settimeofday -#define SYS_symlink __NR_symlink -#define SYS_readlink __NR_readlink -#define SYS_reboot __NR_reboot -#define SYS_munmap __NR_munmap -#define SYS_truncate __NR_truncate -#define SYS_ftruncate __NR_ftruncate -#define SYS_fchmod __NR_fchmod -#define SYS_getpriority __NR_getpriority -#define SYS_setpriority __NR_setpriority -#define SYS_syslog __NR_syslog -#define SYS_syslog __NR_syslog -#define SYS_setitimer __NR_setitimer -#define SYS_getitimer __NR_getitimer -#define SYS_wait4 __NR_wait4 -#define SYS_sysinfo __NR_sysinfo -#define SYS_fsync __NR_fsync -#define SYS_clone __NR_clone -#define SYS_uname __NR_uname -#define SYS_mprotect __NR_mprotect -#define SYS_sigprocmask __NR_sigprocmask -#define SYS_init_module __NR_init_module -#define SYS_delete_module __NR_delete_module -#define SYS_getpgid __NR_getpgid -#define SYS_fchdir __NR_fchdir -#define SYS_personality __NR_personality -#define SYS__llseek __NR__llseek -#define SYS__newselect __NR__newselect -#define SYS_flock __NR_flock -#define SYS_msync __NR_msync -#define SYS_readv __NR_readv -#define SYS_writev __NR_writev - -#ifdef __arm__ -#define SYS_exit_group __NR_exit_group -#define SYS_waitid __NR_waitid -#define SYS_setuid32 __NR_setuid32 -#define SYS_getuid32 __NR_getuid32 -#define SYS_getgid32 __NR_getgid32 -#define SYS_geteuid32 __NR_geteuid32 -#define SYS_getegid32 __NR_getegid32 -#define SYS_getresuid32 __NR_getresuid32 -#define SYS_getresgid32 __NR_getresgid32 -#define SYS_gettid __NR_gettid -#define SYS_readahead __NR_readahead -#define SYS_getgroups32 __NR_getgroups32 -#define SYS_getsid __NR_getsid -#define SYS_setgid32 __NR_setgid32 -#define SYS_setreuid32 __NR_setreuid32 -#define SYS_setresuid32 __NR_setresuid32 -#define SYS_setresgid32 __NR_setresgid32 -#define SYS_ugetrlimit __NR_ugetrlimit -#define SYS_setgroups32 __NR_setgroups32 -#define SYS_vfork __NR_vfork -#define SYS_setregid32 __NR_setregid32 -#define SYS_prctl __NR_prctl -#define SYS_capget __NR_capget -#define SYS_capset __NR_capset -#define SYS_sigaltstack __NR_sigaltstack -#define SYS_pread64 __NR_pread64 -#define SYS_pwrite64 __NR_pwrite64 -#define SYS_openat __NR_openat -#define SYS_mmap2 __NR_mmap2 -#define SYS_mremap __NR_mremap -#define SYS_madvise __NR_madvise -#define SYS_mlock __NR_mlock -#define SYS_munlock __NR_munlock -#define SYS_mlockall __NR_mlockall -#define SYS_munlockall __NR_munlockall -#define SYS_mincore __NR_mincore -#define SYS_pipe __NR_pipe -#define SYS_pipe2 __NR_pipe2 -#define SYS_ftruncate64 __NR_ftruncate64 -#define SYS_getdents64 __NR_getdents64 -#define SYS_fdatasync __NR_fdatasync -#define SYS_fchown32 __NR_fchown32 -#define SYS_fcntl64 __NR_fcntl64 -#define SYS_fstatfs64 __NR_fstatfs64 -#define SYS_sendfile __NR_sendfile -#define SYS_fstatat64 __NR_fstatat64 -#define SYS_mkdirat __NR_mkdirat -#define SYS_fchownat __NR_fchownat -#define SYS_fchmodat __NR_fchmodat -#define SYS_renameat __NR_renameat -#define SYS_fsetxattr __NR_fsetxattr -#define SYS_fgetxattr __NR_fgetxattr -#define SYS_flistxattr __NR_flistxattr -#define SYS_fremovexattr __NR_fremovexattr -#define SYS_unlinkat __NR_unlinkat -#define SYS_chown32 __NR_chown32 -#define SYS_lchown32 __NR_lchown32 -#define SYS_fstat64 __NR_fstat64 -#define SYS_stat64 __NR_stat64 -#define SYS_lstat64 __NR_lstat64 -#define SYS_getcwd __NR_getcwd -#define SYS_faccessat __NR_faccessat -#define SYS_setxattr __NR_setxattr -#define SYS_lsetxattr __NR_lsetxattr -#define SYS_getxattr __NR_getxattr -#define SYS_lgetxattr __NR_lgetxattr -#define SYS_listxattr __NR_listxattr -#define SYS_llistxattr __NR_llistxattr -#define SYS_removexattr __NR_removexattr -#define SYS_lremovexattr __NR_lremovexattr -#define SYS_statfs64 __NR_statfs64 -#define SYS_unshare __NR_unshare -#define SYS_nanosleep __NR_nanosleep -#define SYS_clock_gettime __NR_clock_gettime -#define SYS_clock_settime __NR_clock_settime -#define SYS_clock_getres __NR_clock_getres -#define SYS_clock_nanosleep __NR_clock_nanosleep -#define SYS_timer_create __NR_timer_create -#define SYS_timer_settime __NR_timer_settime -#define SYS_timer_gettime __NR_timer_gettime -#define SYS_timer_getoverrun __NR_timer_getoverrun -#define SYS_timer_delete __NR_timer_delete -#define SYS_utimes __NR_utimes -#define SYS_utimensat __NR_utimensat -#define SYS_sigsuspend __NR_sigsuspend -#define SYS_rt_sigaction __NR_rt_sigaction -#define SYS_rt_sigprocmask __NR_rt_sigprocmask -#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait -#define SYS_signalfd4 __NR_signalfd4 -#define SYS_socket __NR_socket -#define SYS_socketpair __NR_socketpair -#define SYS_bind __NR_bind -#define SYS_connect __NR_connect -#define SYS_listen __NR_listen -#define SYS_accept __NR_accept -#define SYS_getsockname __NR_getsockname -#define SYS_getpeername __NR_getpeername -#define SYS_sendto __NR_sendto -#define SYS_recvfrom __NR_recvfrom -#define SYS_shutdown __NR_shutdown -#define SYS_setsockopt __NR_setsockopt -#define SYS_getsockopt __NR_getsockopt -#define SYS_sendmsg __NR_sendmsg -#define SYS_recvmsg __NR_recvmsg -#define SYS_sched_setscheduler __NR_sched_setscheduler -#define SYS_sched_getscheduler __NR_sched_getscheduler -#define SYS_sched_yield __NR_sched_yield -#define SYS_sched_setparam __NR_sched_setparam -#define SYS_sched_getparam __NR_sched_getparam -#define SYS_sched_get_priority_max __NR_sched_get_priority_max -#define SYS_sched_get_priority_min __NR_sched_get_priority_min -#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval -#define SYS_sched_setaffinity __NR_sched_setaffinity -#define SYS_sched_getaffinity __NR_sched_getaffinity -#define SYS_getcpu __NR_getcpu -#define SYS_ioprio_set __NR_ioprio_set -#define SYS_ioprio_get __NR_ioprio_get -#define SYS_perf_event_open __NR_perf_event_open -#define SYS_futex __NR_futex -#define SYS_epoll_create __NR_epoll_create -#define SYS_epoll_ctl __NR_epoll_ctl -#define SYS_epoll_wait __NR_epoll_wait -#define SYS_inotify_init __NR_inotify_init -#define SYS_inotify_add_watch __NR_inotify_add_watch -#define SYS_inotify_rm_watch __NR_inotify_rm_watch -#define SYS_poll __NR_poll -#define SYS_eventfd2 __NR_eventfd2 -#define SYS_ARM_set_tls __NR_ARM_set_tls -#define SYS_ARM_cacheflush __NR_ARM_cacheflush -#endif - -#ifdef __i386__ -#define SYS_waitpid __NR_waitpid -#define SYS_kill __NR_kill -#define SYS_pipe __NR_pipe -#define SYS_sigsuspend __NR_sigsuspend -#define SYS_socketcall __NR_socketcall -#define SYS_getsid __NR_getsid -#define SYS_fdatasync __NR_fdatasync -#define SYS_mlock __NR_mlock -#define SYS_munlock __NR_munlock -#define SYS_mlockall __NR_mlockall -#define SYS_munlockall __NR_munlockall -#define SYS_sched_setparam __NR_sched_setparam -#define SYS_sched_getparam __NR_sched_getparam -#define SYS_sched_setscheduler __NR_sched_setscheduler -#define SYS_sched_getscheduler __NR_sched_getscheduler -#define SYS_sched_yield __NR_sched_yield -#define SYS_sched_get_priority_max __NR_sched_get_priority_max -#define SYS_sched_get_priority_min __NR_sched_get_priority_min -#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval -#define SYS_nanosleep __NR_nanosleep -#define SYS_mremap __NR_mremap -#define SYS_poll __NR_poll -#define SYS_prctl __NR_prctl -#define SYS_rt_sigaction __NR_rt_sigaction -#define SYS_rt_sigprocmask __NR_rt_sigprocmask -#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait -#define SYS_pread64 __NR_pread64 -#define SYS_pwrite64 __NR_pwrite64 -#define SYS_getcwd __NR_getcwd -#define SYS_capget __NR_capget -#define SYS_capset __NR_capset -#define SYS_sigaltstack __NR_sigaltstack -#define SYS_sendfile __NR_sendfile -#define SYS_ugetrlimit __NR_ugetrlimit -#define SYS_mmap2 __NR_mmap2 -#define SYS_ftruncate64 __NR_ftruncate64 -#define SYS_stat64 __NR_stat64 -#define SYS_lstat64 __NR_lstat64 -#define SYS_fstat64 __NR_fstat64 -#define SYS_lchown32 __NR_lchown32 -#define SYS_getuid32 __NR_getuid32 -#define SYS_getgid32 __NR_getgid32 -#define SYS_geteuid32 __NR_geteuid32 -#define SYS_getegid32 __NR_getegid32 -#define SYS_setreuid32 __NR_setreuid32 -#define SYS_setregid32 __NR_setregid32 -#define SYS_getgroups32 __NR_getgroups32 -#define SYS_setgroups32 __NR_setgroups32 -#define SYS_fchown32 __NR_fchown32 -#define SYS_setresuid32 __NR_setresuid32 -#define SYS_getresuid32 __NR_getresuid32 -#define SYS_setresgid32 __NR_setresgid32 -#define SYS_getresgid32 __NR_getresgid32 -#define SYS_chown32 __NR_chown32 -#define SYS_setuid32 __NR_setuid32 -#define SYS_setgid32 __NR_setgid32 -#define SYS_mincore __NR_mincore -#define SYS_madvise __NR_madvise -#define SYS_getdents64 __NR_getdents64 -#define SYS_fcntl64 __NR_fcntl64 -#define SYS_gettid __NR_gettid -#define SYS_readahead __NR_readahead -#define SYS_setxattr __NR_setxattr -#define SYS_lsetxattr __NR_lsetxattr -#define SYS_fsetxattr __NR_fsetxattr -#define SYS_getxattr __NR_getxattr -#define SYS_lgetxattr __NR_lgetxattr -#define SYS_fgetxattr __NR_fgetxattr -#define SYS_listxattr __NR_listxattr -#define SYS_llistxattr __NR_llistxattr -#define SYS_flistxattr __NR_flistxattr -#define SYS_removexattr __NR_removexattr -#define SYS_lremovexattr __NR_lremovexattr -#define SYS_fremovexattr __NR_fremovexattr -#define SYS_tkill __NR_tkill -#define SYS_futex __NR_futex -#define SYS_sched_setaffinity __NR_sched_setaffinity -#define SYS_sched_getaffinity __NR_sched_getaffinity -#define SYS_set_thread_area __NR_set_thread_area -#define SYS_exit_group __NR_exit_group -#define SYS_epoll_create __NR_epoll_create -#define SYS_epoll_ctl __NR_epoll_ctl -#define SYS_epoll_wait __NR_epoll_wait -#define SYS_timer_create __NR_timer_create -#define SYS_timer_settime __NR_timer_settime -#define SYS_timer_gettime __NR_timer_gettime -#define SYS_timer_getoverrun __NR_timer_getoverrun -#define SYS_timer_delete __NR_timer_delete -#define SYS_clock_settime __NR_clock_settime -#define SYS_clock_gettime __NR_clock_gettime -#define SYS_clock_getres __NR_clock_getres -#define SYS_clock_nanosleep __NR_clock_nanosleep -#define SYS_statfs64 __NR_statfs64 -#define SYS_fstatfs64 __NR_fstatfs64 -#define SYS_tgkill __NR_tgkill -#define SYS_utimes __NR_utimes -#define SYS_waitid __NR_waitid -#define SYS_ioprio_set __NR_ioprio_set -#define SYS_ioprio_get __NR_ioprio_get -#define SYS_inotify_init __NR_inotify_init -#define SYS_inotify_add_watch __NR_inotify_add_watch -#define SYS_inotify_rm_watch __NR_inotify_rm_watch -#define SYS_openat __NR_openat -#define SYS_mkdirat __NR_mkdirat -#define SYS_fchownat __NR_fchownat -#define SYS_fstatat64 __NR_fstatat64 -#define SYS_unlinkat __NR_unlinkat -#define SYS_renameat __NR_renameat -#define SYS_fchmodat __NR_fchmodat -#define SYS_faccessat __NR_faccessat -#define SYS_unshare __NR_unshare -#define SYS_getcpu __NR_getcpu -#define SYS_utimensat __NR_utimensat -#define SYS_signalfd4 __NR_signalfd4 -#define SYS_eventfd2 __NR_eventfd2 -#define SYS_pipe2 __NR_pipe2 -#define SYS_perf_event_open __NR_perf_event_open -#endif - -#ifdef __mips__ -#define SYS_syscall __NR_syscall -#define SYS_waitpid __NR_waitpid -#define SYS_lchown __NR_lchown -#define SYS_setuid __NR_setuid -#define SYS_getuid __NR_getuid -#define SYS_kill __NR_kill -#define SYS_setgid __NR_setgid -#define SYS_getgid __NR_getgid -#define SYS_geteuid __NR_geteuid -#define SYS_getegid __NR_getegid -#define SYS_setreuid __NR_setreuid -#define SYS_setregid __NR_setregid -#define SYS_sigsuspend __NR_sigsuspend -#define SYS_getrlimit __NR_getrlimit -#define SYS_getgroups __NR_getgroups -#define SYS_setgroups __NR_setgroups -#define SYS_fchown __NR_fchown -#define SYS_cacheflush __NR_cacheflush -#define SYS_getsid __NR_getsid -#define SYS_fdatasync __NR_fdatasync -#define SYS_mlock __NR_mlock -#define SYS_munlock __NR_munlock -#define SYS_mlockall __NR_mlockall -#define SYS_munlockall __NR_munlockall -#define SYS_sched_setparam __NR_sched_setparam -#define SYS_sched_getparam __NR_sched_getparam -#define SYS_sched_setscheduler __NR_sched_setscheduler -#define SYS_sched_getscheduler __NR_sched_getscheduler -#define SYS_sched_yield __NR_sched_yield -#define SYS_sched_get_priority_max __NR_sched_get_priority_max -#define SYS_sched_get_priority_min __NR_sched_get_priority_min -#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval -#define SYS_nanosleep __NR_nanosleep -#define SYS_mremap __NR_mremap -#define SYS_accept __NR_accept -#define SYS_bind __NR_bind -#define SYS_connect __NR_connect -#define SYS_getpeername __NR_getpeername -#define SYS_getsockname __NR_getsockname -#define SYS_getsockopt __NR_getsockopt -#define SYS_listen __NR_listen -#define SYS_recvfrom __NR_recvfrom -#define SYS_recvmsg __NR_recvmsg -#define SYS_sendmsg __NR_sendmsg -#define SYS_sendto __NR_sendto -#define SYS_setsockopt __NR_setsockopt -#define SYS_shutdown __NR_shutdown -#define SYS_socket __NR_socket -#define SYS_socketpair __NR_socketpair -#define SYS_setresuid __NR_setresuid -#define SYS_getresuid __NR_getresuid -#define SYS_poll __NR_poll -#define SYS_setresgid __NR_setresgid -#define SYS_getresgid __NR_getresgid -#define SYS_prctl __NR_prctl -#define SYS_rt_sigaction __NR_rt_sigaction -#define SYS_rt_sigprocmask __NR_rt_sigprocmask -#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait -#define SYS_pread64 __NR_pread64 -#define SYS_pwrite64 __NR_pwrite64 -#define SYS_chown __NR_chown -#define SYS_getcwd __NR_getcwd -#define SYS_capget __NR_capget -#define SYS_capset __NR_capset -#define SYS_sigaltstack __NR_sigaltstack -#define SYS_sendfile __NR_sendfile -#define SYS_mmap2 __NR_mmap2 -#define SYS_ftruncate64 __NR_ftruncate64 -#define SYS_stat64 __NR_stat64 -#define SYS_lstat64 __NR_lstat64 -#define SYS_fstat64 __NR_fstat64 -#define SYS_mincore __NR_mincore -#define SYS_madvise __NR_madvise -#define SYS_getdents64 __NR_getdents64 -#define SYS_fcntl64 __NR_fcntl64 -#define SYS_gettid __NR_gettid -#define SYS_readahead __NR_readahead -#define SYS_setxattr __NR_setxattr -#define SYS_lsetxattr __NR_lsetxattr -#define SYS_fsetxattr __NR_fsetxattr -#define SYS_getxattr __NR_getxattr -#define SYS_lgetxattr __NR_lgetxattr -#define SYS_fgetxattr __NR_fgetxattr -#define SYS_listxattr __NR_listxattr -#define SYS_llistxattr __NR_llistxattr -#define SYS_flistxattr __NR_flistxattr -#define SYS_removexattr __NR_removexattr -#define SYS_lremovexattr __NR_lremovexattr -#define SYS_fremovexattr __NR_fremovexattr -#define SYS_tkill __NR_tkill -#define SYS_futex __NR_futex -#define SYS_sched_setaffinity __NR_sched_setaffinity -#define SYS_sched_getaffinity __NR_sched_getaffinity -#define SYS_exit_group __NR_exit_group -#define SYS_epoll_create __NR_epoll_create -#define SYS_epoll_ctl __NR_epoll_ctl -#define SYS_epoll_wait __NR_epoll_wait -#define SYS_statfs64 __NR_statfs64 -#define SYS_fstatfs64 __NR_fstatfs64 -#define SYS_timer_create __NR_timer_create -#define SYS_timer_settime __NR_timer_settime -#define SYS_timer_gettime __NR_timer_gettime -#define SYS_timer_getoverrun __NR_timer_getoverrun -#define SYS_timer_delete __NR_timer_delete -#define SYS_clock_settime __NR_clock_settime -#define SYS_clock_gettime __NR_clock_gettime -#define SYS_clock_getres __NR_clock_getres -#define SYS_clock_nanosleep __NR_clock_nanosleep -#define SYS_tgkill __NR_tgkill -#define SYS_utimes __NR_utimes -#define SYS_waitid __NR_waitid -#define SYS_set_thread_area __NR_set_thread_area -#define SYS_inotify_init __NR_inotify_init -#define SYS_inotify_add_watch __NR_inotify_add_watch -#define SYS_inotify_rm_watch __NR_inotify_rm_watch -#define SYS_openat __NR_openat -#define SYS_mkdirat __NR_mkdirat -#define SYS_fchownat __NR_fchownat -#define SYS_fstatat64 __NR_fstatat64 -#define SYS_unlinkat __NR_unlinkat -#define SYS_renameat __NR_renameat -#define SYS_fchmodat __NR_fchmodat -#define SYS_faccessat __NR_faccessat -#define SYS_unshare __NR_unshare -#define SYS_getcpu __NR_getcpu -#define SYS_ioprio_set __NR_ioprio_set -#define SYS_ioprio_get __NR_ioprio_get -#define SYS_utimensat __NR_utimensat -#define SYS_signalfd4 __NR_signalfd4 -#define SYS_eventfd2 __NR_eventfd2 -#define SYS_pipe2 __NR_pipe2 -#define SYS_perf_event_open __NR_perf_event_open -#endif +#if defined(__arm__) +#define SYS_accept __NR_accept +#define SYS_accept4 __NR_accept4 +#define SYS_access __NR_access +#define SYS_acct __NR_acct +#define SYS_add_key __NR_add_key +#define SYS_adjtimex __NR_adjtimex +#define SYS_alarm __NR_alarm +#define SYS_arm_fadvise64_64 __NR_arm_fadvise64_64 +#define SYS_arm_sync_file_range __NR_arm_sync_file_range +#define SYS_bdflush __NR_bdflush +#define SYS_bind __NR_bind +#define SYS_brk __NR_brk +#define SYS_capget __NR_capget +#define SYS_capset __NR_capset +#define SYS_chdir __NR_chdir +#define SYS_chmod __NR_chmod +#define SYS_chown __NR_chown +#define SYS_chown32 __NR_chown32 +#define SYS_chroot __NR_chroot +#define SYS_clock_adjtime __NR_clock_adjtime +#define SYS_clock_getres __NR_clock_getres +#define SYS_clock_gettime __NR_clock_gettime +#define SYS_clock_nanosleep __NR_clock_nanosleep +#define SYS_clock_settime __NR_clock_settime +#define SYS_clone __NR_clone +#define SYS_close __NR_close +#define SYS_connect __NR_connect +#define SYS_creat __NR_creat +#define SYS_delete_module __NR_delete_module +#define SYS_dup __NR_dup +#define SYS_dup2 __NR_dup2 +#define SYS_dup3 __NR_dup3 +#define SYS_epoll_create __NR_epoll_create +#define SYS_epoll_create1 __NR_epoll_create1 +#define SYS_epoll_ctl __NR_epoll_ctl +#define SYS_epoll_pwait __NR_epoll_pwait +#define SYS_epoll_wait __NR_epoll_wait +#define SYS_eventfd __NR_eventfd +#define SYS_eventfd2 __NR_eventfd2 +#define SYS_execve __NR_execve +#define SYS_exit __NR_exit +#define SYS_exit_group __NR_exit_group +#define SYS_faccessat __NR_faccessat +#define SYS_fallocate __NR_fallocate +#define SYS_fanotify_init __NR_fanotify_init +#define SYS_fanotify_mark __NR_fanotify_mark +#define SYS_fchdir __NR_fchdir +#define SYS_fchmod __NR_fchmod +#define SYS_fchmodat __NR_fchmodat +#define SYS_fchown __NR_fchown +#define SYS_fchown32 __NR_fchown32 +#define SYS_fchownat __NR_fchownat +#define SYS_fcntl __NR_fcntl +#define SYS_fcntl64 __NR_fcntl64 +#define SYS_fdatasync __NR_fdatasync +#define SYS_fgetxattr __NR_fgetxattr +#define SYS_flistxattr __NR_flistxattr +#define SYS_flock __NR_flock +#define SYS_fork __NR_fork +#define SYS_fremovexattr __NR_fremovexattr +#define SYS_fsetxattr __NR_fsetxattr +#define SYS_fstat __NR_fstat +#define SYS_fstat64 __NR_fstat64 +#define SYS_fstatat64 __NR_fstatat64 +#define SYS_fstatfs __NR_fstatfs +#define SYS_fstatfs64 __NR_fstatfs64 +#define SYS_fsync __NR_fsync +#define SYS_ftruncate __NR_ftruncate +#define SYS_ftruncate64 __NR_ftruncate64 +#define SYS_futex __NR_futex +#define SYS_futimesat __NR_futimesat +#define SYS_get_mempolicy __NR_get_mempolicy +#define SYS_get_robust_list __NR_get_robust_list +#define SYS_getcpu __NR_getcpu +#define SYS_getcwd __NR_getcwd +#define SYS_getdents __NR_getdents +#define SYS_getdents64 __NR_getdents64 +#define SYS_getegid __NR_getegid +#define SYS_getegid32 __NR_getegid32 +#define SYS_geteuid __NR_geteuid +#define SYS_geteuid32 __NR_geteuid32 +#define SYS_getgid __NR_getgid +#define SYS_getgid32 __NR_getgid32 +#define SYS_getgroups __NR_getgroups +#define SYS_getgroups32 __NR_getgroups32 +#define SYS_getitimer __NR_getitimer +#define SYS_getpeername __NR_getpeername +#define SYS_getpgid __NR_getpgid +#define SYS_getpgrp __NR_getpgrp +#define SYS_getpid __NR_getpid +#define SYS_getppid __NR_getppid +#define SYS_getpriority __NR_getpriority +#define SYS_getresgid __NR_getresgid +#define SYS_getresgid32 __NR_getresgid32 +#define SYS_getresuid __NR_getresuid +#define SYS_getresuid32 __NR_getresuid32 +#define SYS_getrlimit __NR_getrlimit +#define SYS_getrusage __NR_getrusage +#define SYS_getsid __NR_getsid +#define SYS_getsockname __NR_getsockname +#define SYS_getsockopt __NR_getsockopt +#define SYS_gettid __NR_gettid +#define SYS_gettimeofday __NR_gettimeofday +#define SYS_getuid __NR_getuid +#define SYS_getuid32 __NR_getuid32 +#define SYS_getxattr __NR_getxattr +#define SYS_init_module __NR_init_module +#define SYS_inotify_add_watch __NR_inotify_add_watch +#define SYS_inotify_init __NR_inotify_init +#define SYS_inotify_init1 __NR_inotify_init1 +#define SYS_inotify_rm_watch __NR_inotify_rm_watch +#define SYS_io_cancel __NR_io_cancel +#define SYS_io_destroy __NR_io_destroy +#define SYS_io_getevents __NR_io_getevents +#define SYS_io_setup __NR_io_setup +#define SYS_io_submit __NR_io_submit +#define SYS_ioctl __NR_ioctl +#define SYS_ioprio_get __NR_ioprio_get +#define SYS_ioprio_set __NR_ioprio_set +#define SYS_ipc __NR_ipc +#define SYS_kexec_load __NR_kexec_load +#define SYS_keyctl __NR_keyctl +#define SYS_kill __NR_kill +#define SYS_lchown __NR_lchown +#define SYS_lchown32 __NR_lchown32 +#define SYS_lgetxattr __NR_lgetxattr +#define SYS_link __NR_link +#define SYS_linkat __NR_linkat +#define SYS_listen __NR_listen +#define SYS_listxattr __NR_listxattr +#define SYS_llistxattr __NR_llistxattr +#define SYS_lookup_dcookie __NR_lookup_dcookie +#define SYS_lremovexattr __NR_lremovexattr +#define SYS_lseek __NR_lseek +#define SYS_lsetxattr __NR_lsetxattr +#define SYS_lstat __NR_lstat +#define SYS_lstat64 __NR_lstat64 +#define SYS_madvise __NR_madvise +#define SYS_mbind __NR_mbind +#define SYS_mincore __NR_mincore +#define SYS_mkdir __NR_mkdir +#define SYS_mkdirat __NR_mkdirat +#define SYS_mknod __NR_mknod +#define SYS_mknodat __NR_mknodat +#define SYS_mlock __NR_mlock +#define SYS_mlockall __NR_mlockall +#define SYS_mmap __NR_mmap +#define SYS_mmap2 __NR_mmap2 +#define SYS_mount __NR_mount +#define SYS_move_pages __NR_move_pages +#define SYS_mprotect __NR_mprotect +#define SYS_mq_getsetattr __NR_mq_getsetattr +#define SYS_mq_notify __NR_mq_notify +#define SYS_mq_open __NR_mq_open +#define SYS_mq_timedreceive __NR_mq_timedreceive +#define SYS_mq_timedsend __NR_mq_timedsend +#define SYS_mq_unlink __NR_mq_unlink +#define SYS_mremap __NR_mremap +#define SYS_msgctl __NR_msgctl +#define SYS_msgget __NR_msgget +#define SYS_msgrcv __NR_msgrcv +#define SYS_msgsnd __NR_msgsnd +#define SYS_msync __NR_msync +#define SYS_munlock __NR_munlock +#define SYS_munlockall __NR_munlockall +#define SYS_munmap __NR_munmap +#define SYS_name_to_handle_at __NR_name_to_handle_at +#define SYS_nanosleep __NR_nanosleep +#define SYS_nfsservctl __NR_nfsservctl +#define SYS_nice __NR_nice +#define SYS_open __NR_open +#define SYS_open_by_handle_at __NR_open_by_handle_at +#define SYS_openat __NR_openat +#define SYS_pause __NR_pause +#define SYS_pciconfig_iobase __NR_pciconfig_iobase +#define SYS_pciconfig_read __NR_pciconfig_read +#define SYS_pciconfig_write __NR_pciconfig_write +#define SYS_perf_event_open __NR_perf_event_open +#define SYS_personality __NR_personality +#define SYS_pipe __NR_pipe +#define SYS_pipe2 __NR_pipe2 +#define SYS_pivot_root __NR_pivot_root +#define SYS_poll __NR_poll +#define SYS_ppoll __NR_ppoll +#define SYS_prctl __NR_prctl +#define SYS_pread64 __NR_pread64 +#define SYS_preadv __NR_preadv +#define SYS_prlimit64 __NR_prlimit64 +#define SYS_process_vm_readv __NR_process_vm_readv +#define SYS_process_vm_writev __NR_process_vm_writev +#define SYS_pselect6 __NR_pselect6 +#define SYS_ptrace __NR_ptrace +#define SYS_pwrite64 __NR_pwrite64 +#define SYS_pwritev __NR_pwritev +#define SYS_quotactl __NR_quotactl +#define SYS_read __NR_read +#define SYS_readahead __NR_readahead +#define SYS_readdir __NR_readdir +#define SYS_readlink __NR_readlink +#define SYS_readlinkat __NR_readlinkat +#define SYS_readv __NR_readv +#define SYS_reboot __NR_reboot +#define SYS_recv __NR_recv +#define SYS_recvfrom __NR_recvfrom +#define SYS_recvmmsg __NR_recvmmsg +#define SYS_recvmsg __NR_recvmsg +#define SYS_remap_file_pages __NR_remap_file_pages +#define SYS_removexattr __NR_removexattr +#define SYS_rename __NR_rename +#define SYS_renameat __NR_renameat +#define SYS_request_key __NR_request_key +#define SYS_restart_syscall __NR_restart_syscall +#define SYS_rmdir __NR_rmdir +#define SYS_rt_sigaction __NR_rt_sigaction +#define SYS_rt_sigpending __NR_rt_sigpending +#define SYS_rt_sigprocmask __NR_rt_sigprocmask +#define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo +#define SYS_rt_sigreturn __NR_rt_sigreturn +#define SYS_rt_sigsuspend __NR_rt_sigsuspend +#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait +#define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo +#define SYS_sched_get_priority_max __NR_sched_get_priority_max +#define SYS_sched_get_priority_min __NR_sched_get_priority_min +#define SYS_sched_getaffinity __NR_sched_getaffinity +#define SYS_sched_getparam __NR_sched_getparam +#define SYS_sched_getscheduler __NR_sched_getscheduler +#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval +#define SYS_sched_setaffinity __NR_sched_setaffinity +#define SYS_sched_setparam __NR_sched_setparam +#define SYS_sched_setscheduler __NR_sched_setscheduler +#define SYS_sched_yield __NR_sched_yield +#define SYS_select __NR_select +#define SYS_semctl __NR_semctl +#define SYS_semget __NR_semget +#define SYS_semop __NR_semop +#define SYS_semtimedop __NR_semtimedop +#define SYS_send __NR_send +#define SYS_sendfile __NR_sendfile +#define SYS_sendfile64 __NR_sendfile64 +#define SYS_sendmmsg __NR_sendmmsg +#define SYS_sendmsg __NR_sendmsg +#define SYS_sendto __NR_sendto +#define SYS_set_mempolicy __NR_set_mempolicy +#define SYS_set_robust_list __NR_set_robust_list +#define SYS_set_tid_address __NR_set_tid_address +#define SYS_setdomainname __NR_setdomainname +#define SYS_setfsgid __NR_setfsgid +#define SYS_setfsgid32 __NR_setfsgid32 +#define SYS_setfsuid __NR_setfsuid +#define SYS_setfsuid32 __NR_setfsuid32 +#define SYS_setgid __NR_setgid +#define SYS_setgid32 __NR_setgid32 +#define SYS_setgroups __NR_setgroups +#define SYS_setgroups32 __NR_setgroups32 +#define SYS_sethostname __NR_sethostname +#define SYS_setitimer __NR_setitimer +#define SYS_setns __NR_setns +#define SYS_setpgid __NR_setpgid +#define SYS_setpriority __NR_setpriority +#define SYS_setregid __NR_setregid +#define SYS_setregid32 __NR_setregid32 +#define SYS_setresgid __NR_setresgid +#define SYS_setresgid32 __NR_setresgid32 +#define SYS_setresuid __NR_setresuid +#define SYS_setresuid32 __NR_setresuid32 +#define SYS_setreuid __NR_setreuid +#define SYS_setreuid32 __NR_setreuid32 +#define SYS_setrlimit __NR_setrlimit +#define SYS_setsid __NR_setsid +#define SYS_setsockopt __NR_setsockopt +#define SYS_settimeofday __NR_settimeofday +#define SYS_setuid __NR_setuid +#define SYS_setuid32 __NR_setuid32 +#define SYS_setxattr __NR_setxattr +#define SYS_shmat __NR_shmat +#define SYS_shmctl __NR_shmctl +#define SYS_shmdt __NR_shmdt +#define SYS_shmget __NR_shmget +#define SYS_shutdown __NR_shutdown +#define SYS_sigaction __NR_sigaction +#define SYS_sigaltstack __NR_sigaltstack +#define SYS_signalfd __NR_signalfd +#define SYS_signalfd4 __NR_signalfd4 +#define SYS_sigpending __NR_sigpending +#define SYS_sigprocmask __NR_sigprocmask +#define SYS_sigreturn __NR_sigreturn +#define SYS_sigsuspend __NR_sigsuspend +#define SYS_socket __NR_socket +#define SYS_socketcall __NR_socketcall +#define SYS_socketpair __NR_socketpair +#define SYS_splice __NR_splice +#define SYS_stat __NR_stat +#define SYS_stat64 __NR_stat64 +#define SYS_statfs __NR_statfs +#define SYS_statfs64 __NR_statfs64 +#define SYS_stime __NR_stime +#define SYS_swapoff __NR_swapoff +#define SYS_swapon __NR_swapon +#define SYS_symlink __NR_symlink +#define SYS_symlinkat __NR_symlinkat +#define SYS_sync __NR_sync +#define SYS_sync_file_range2 __NR_sync_file_range2 +#define SYS_syncfs __NR_syncfs +#define SYS_syscall __NR_syscall +#define SYS_sysfs __NR_sysfs +#define SYS_sysinfo __NR_sysinfo +#define SYS_syslog __NR_syslog +#define SYS_tee __NR_tee +#define SYS_tgkill __NR_tgkill +#define SYS_time __NR_time +#define SYS_timer_create __NR_timer_create +#define SYS_timer_delete __NR_timer_delete +#define SYS_timer_getoverrun __NR_timer_getoverrun +#define SYS_timer_gettime __NR_timer_gettime +#define SYS_timer_settime __NR_timer_settime +#define SYS_timerfd_create __NR_timerfd_create +#define SYS_timerfd_gettime __NR_timerfd_gettime +#define SYS_timerfd_settime __NR_timerfd_settime +#define SYS_times __NR_times +#define SYS_tkill __NR_tkill +#define SYS_truncate __NR_truncate +#define SYS_truncate64 __NR_truncate64 +#define SYS_ugetrlimit __NR_ugetrlimit +#define SYS_umask __NR_umask +#define SYS_umount __NR_umount +#define SYS_umount2 __NR_umount2 +#define SYS_uname __NR_uname +#define SYS_unlink __NR_unlink +#define SYS_unlinkat __NR_unlinkat +#define SYS_unshare __NR_unshare +#define SYS_uselib __NR_uselib +#define SYS_ustat __NR_ustat +#define SYS_utime __NR_utime +#define SYS_utimensat __NR_utimensat +#define SYS_utimes __NR_utimes +#define SYS_vfork __NR_vfork +#define SYS_vhangup __NR_vhangup +#define SYS_vmsplice __NR_vmsplice +#define SYS_vserver __NR_vserver +#define SYS_wait4 __NR_wait4 +#define SYS_waitid __NR_waitid +#define SYS_write __NR_write +#define SYS_writev __NR_writev +#elif defined(__mips__) +#define SYS_accept __NR_accept +#define SYS_accept4 __NR_accept4 +#define SYS_access __NR_access +#define SYS_acct __NR_acct +#define SYS_add_key __NR_add_key +#define SYS_adjtimex __NR_adjtimex +#define SYS_afs_syscall __NR_afs_syscall +#define SYS_alarm __NR_alarm +#define SYS_bdflush __NR_bdflush +#define SYS_bind __NR_bind +#define SYS_break __NR_break +#define SYS_brk __NR_brk +#define SYS_cachectl __NR_cachectl +#define SYS_cacheflush __NR_cacheflush +#define SYS_capget __NR_capget +#define SYS_capset __NR_capset +#define SYS_chdir __NR_chdir +#define SYS_chmod __NR_chmod +#define SYS_chown __NR_chown +#define SYS_chroot __NR_chroot +#define SYS_clock_adjtime __NR_clock_adjtime +#define SYS_clock_getres __NR_clock_getres +#define SYS_clock_gettime __NR_clock_gettime +#define SYS_clock_nanosleep __NR_clock_nanosleep +#define SYS_clock_settime __NR_clock_settime +#define SYS_clone __NR_clone +#define SYS_close __NR_close +#define SYS_connect __NR_connect +#define SYS_creat __NR_creat +#define SYS_create_module __NR_create_module +#define SYS_delete_module __NR_delete_module +#define SYS_dup __NR_dup +#define SYS_dup2 __NR_dup2 +#define SYS_dup3 __NR_dup3 +#define SYS_epoll_create __NR_epoll_create +#define SYS_epoll_create1 __NR_epoll_create1 +#define SYS_epoll_ctl __NR_epoll_ctl +#define SYS_epoll_pwait __NR_epoll_pwait +#define SYS_epoll_wait __NR_epoll_wait +#define SYS_eventfd __NR_eventfd +#define SYS_eventfd2 __NR_eventfd2 +#define SYS_execve __NR_execve +#define SYS_exit __NR_exit +#define SYS_exit_group __NR_exit_group +#define SYS_faccessat __NR_faccessat +#define SYS_fadvise64 __NR_fadvise64 +#define SYS_fallocate __NR_fallocate +#define SYS_fanotify_init __NR_fanotify_init +#define SYS_fanotify_mark __NR_fanotify_mark +#define SYS_fchdir __NR_fchdir +#define SYS_fchmod __NR_fchmod +#define SYS_fchmodat __NR_fchmodat +#define SYS_fchown __NR_fchown +#define SYS_fchownat __NR_fchownat +#define SYS_fcntl __NR_fcntl +#define SYS_fcntl64 __NR_fcntl64 +#define SYS_fdatasync __NR_fdatasync +#define SYS_fgetxattr __NR_fgetxattr +#define SYS_flistxattr __NR_flistxattr +#define SYS_flock __NR_flock +#define SYS_fork __NR_fork +#define SYS_fremovexattr __NR_fremovexattr +#define SYS_fsetxattr __NR_fsetxattr +#define SYS_fstat __NR_fstat +#define SYS_fstat64 __NR_fstat64 +#define SYS_fstatat64 __NR_fstatat64 +#define SYS_fstatfs __NR_fstatfs +#define SYS_fstatfs64 __NR_fstatfs64 +#define SYS_fsync __NR_fsync +#define SYS_ftime __NR_ftime +#define SYS_ftruncate __NR_ftruncate +#define SYS_ftruncate64 __NR_ftruncate64 +#define SYS_futex __NR_futex +#define SYS_futimesat __NR_futimesat +#define SYS_get_kernel_syms __NR_get_kernel_syms +#define SYS_get_mempolicy __NR_get_mempolicy +#define SYS_get_robust_list __NR_get_robust_list +#define SYS_getcpu __NR_getcpu +#define SYS_getcwd __NR_getcwd +#define SYS_getdents __NR_getdents +#define SYS_getdents64 __NR_getdents64 +#define SYS_getegid __NR_getegid +#define SYS_geteuid __NR_geteuid +#define SYS_getgid __NR_getgid +#define SYS_getgroups __NR_getgroups +#define SYS_getitimer __NR_getitimer +#define SYS_getpeername __NR_getpeername +#define SYS_getpgid __NR_getpgid +#define SYS_getpgrp __NR_getpgrp +#define SYS_getpid __NR_getpid +#define SYS_getpmsg __NR_getpmsg +#define SYS_getppid __NR_getppid +#define SYS_getpriority __NR_getpriority +#define SYS_getresgid __NR_getresgid +#define SYS_getresuid __NR_getresuid +#define SYS_getrlimit __NR_getrlimit +#define SYS_getrusage __NR_getrusage +#define SYS_getsid __NR_getsid +#define SYS_getsockname __NR_getsockname +#define SYS_getsockopt __NR_getsockopt +#define SYS_gettid __NR_gettid +#define SYS_gettimeofday __NR_gettimeofday +#define SYS_getuid __NR_getuid +#define SYS_getxattr __NR_getxattr +#define SYS_gtty __NR_gtty +#define SYS_idle __NR_idle +#define SYS_init_module __NR_init_module +#define SYS_inotify_add_watch __NR_inotify_add_watch +#define SYS_inotify_init __NR_inotify_init +#define SYS_inotify_init1 __NR_inotify_init1 +#define SYS_inotify_rm_watch __NR_inotify_rm_watch +#define SYS_io_cancel __NR_io_cancel +#define SYS_io_destroy __NR_io_destroy +#define SYS_io_getevents __NR_io_getevents +#define SYS_io_setup __NR_io_setup +#define SYS_io_submit __NR_io_submit +#define SYS_ioctl __NR_ioctl +#define SYS_ioperm __NR_ioperm +#define SYS_iopl __NR_iopl +#define SYS_ioprio_get __NR_ioprio_get +#define SYS_ioprio_set __NR_ioprio_set +#define SYS_ipc __NR_ipc +#define SYS_kexec_load __NR_kexec_load +#define SYS_keyctl __NR_keyctl +#define SYS_kill __NR_kill +#define SYS_lchown __NR_lchown +#define SYS_lgetxattr __NR_lgetxattr +#define SYS_link __NR_link +#define SYS_linkat __NR_linkat +#define SYS_listen __NR_listen +#define SYS_listxattr __NR_listxattr +#define SYS_llistxattr __NR_llistxattr +#define SYS_lock __NR_lock +#define SYS_lookup_dcookie __NR_lookup_dcookie +#define SYS_lremovexattr __NR_lremovexattr +#define SYS_lseek __NR_lseek +#define SYS_lsetxattr __NR_lsetxattr +#define SYS_lstat __NR_lstat +#define SYS_lstat64 __NR_lstat64 +#define SYS_madvise __NR_madvise +#define SYS_mbind __NR_mbind +#define SYS_migrate_pages __NR_migrate_pages +#define SYS_mincore __NR_mincore +#define SYS_mkdir __NR_mkdir +#define SYS_mkdirat __NR_mkdirat +#define SYS_mknod __NR_mknod +#define SYS_mknodat __NR_mknodat +#define SYS_mlock __NR_mlock +#define SYS_mlockall __NR_mlockall +#define SYS_mmap __NR_mmap +#define SYS_mmap2 __NR_mmap2 +#define SYS_modify_ldt __NR_modify_ldt +#define SYS_mount __NR_mount +#define SYS_move_pages __NR_move_pages +#define SYS_mprotect __NR_mprotect +#define SYS_mpx __NR_mpx +#define SYS_mq_getsetattr __NR_mq_getsetattr +#define SYS_mq_notify __NR_mq_notify +#define SYS_mq_open __NR_mq_open +#define SYS_mq_timedreceive __NR_mq_timedreceive +#define SYS_mq_timedsend __NR_mq_timedsend +#define SYS_mq_unlink __NR_mq_unlink +#define SYS_mremap __NR_mremap +#define SYS_msgctl __NR_msgctl +#define SYS_msgget __NR_msgget +#define SYS_msgrcv __NR_msgrcv +#define SYS_msgsnd __NR_msgsnd +#define SYS_msync __NR_msync +#define SYS_munlock __NR_munlock +#define SYS_munlockall __NR_munlockall +#define SYS_munmap __NR_munmap +#define SYS_name_to_handle_at __NR_name_to_handle_at +#define SYS_nanosleep __NR_nanosleep +#define SYS_newfstatat __NR_newfstatat +#define SYS_nfsservctl __NR_nfsservctl +#define SYS_nice __NR_nice +#define SYS_open __NR_open +#define SYS_open_by_handle_at __NR_open_by_handle_at +#define SYS_openat __NR_openat +#define SYS_pause __NR_pause +#define SYS_perf_event_open __NR_perf_event_open +#define SYS_personality __NR_personality +#define SYS_pipe __NR_pipe +#define SYS_pipe2 __NR_pipe2 +#define SYS_pivot_root __NR_pivot_root +#define SYS_poll __NR_poll +#define SYS_ppoll __NR_ppoll +#define SYS_prctl __NR_prctl +#define SYS_pread64 __NR_pread64 +#define SYS_preadv __NR_preadv +#define SYS_prlimit64 __NR_prlimit64 +#define SYS_process_vm_readv __NR_process_vm_readv +#define SYS_process_vm_writev __NR_process_vm_writev +#define SYS_prof __NR_prof +#define SYS_profil __NR_profil +#define SYS_pselect6 __NR_pselect6 +#define SYS_ptrace __NR_ptrace +#define SYS_putpmsg __NR_putpmsg +#define SYS_pwrite64 __NR_pwrite64 +#define SYS_pwritev __NR_pwritev +#define SYS_query_module __NR_query_module +#define SYS_quotactl __NR_quotactl +#define SYS_read __NR_read +#define SYS_readahead __NR_readahead +#define SYS_readdir __NR_readdir +#define SYS_readlink __NR_readlink +#define SYS_readlinkat __NR_readlinkat +#define SYS_readv __NR_readv +#define SYS_reboot __NR_reboot +#define SYS_recv __NR_recv +#define SYS_recvfrom __NR_recvfrom +#define SYS_recvmmsg __NR_recvmmsg +#define SYS_recvmsg __NR_recvmsg +#define SYS_remap_file_pages __NR_remap_file_pages +#define SYS_removexattr __NR_removexattr +#define SYS_rename __NR_rename +#define SYS_renameat __NR_renameat +#define SYS_request_key __NR_request_key +#define SYS_reserved177 __NR_reserved177 +#define SYS_reserved193 __NR_reserved193 +#define SYS_reserved221 __NR_reserved221 +#define SYS_reserved82 __NR_reserved82 +#define SYS_restart_syscall __NR_restart_syscall +#define SYS_rmdir __NR_rmdir +#define SYS_rt_sigaction __NR_rt_sigaction +#define SYS_rt_sigpending __NR_rt_sigpending +#define SYS_rt_sigprocmask __NR_rt_sigprocmask +#define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo +#define SYS_rt_sigreturn __NR_rt_sigreturn +#define SYS_rt_sigsuspend __NR_rt_sigsuspend +#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait +#define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo +#define SYS_sched_get_priority_max __NR_sched_get_priority_max +#define SYS_sched_get_priority_min __NR_sched_get_priority_min +#define SYS_sched_getaffinity __NR_sched_getaffinity +#define SYS_sched_getparam __NR_sched_getparam +#define SYS_sched_getscheduler __NR_sched_getscheduler +#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval +#define SYS_sched_setaffinity __NR_sched_setaffinity +#define SYS_sched_setparam __NR_sched_setparam +#define SYS_sched_setscheduler __NR_sched_setscheduler +#define SYS_sched_yield __NR_sched_yield +#define SYS_semctl __NR_semctl +#define SYS_semget __NR_semget +#define SYS_semop __NR_semop +#define SYS_semtimedop __NR_semtimedop +#define SYS_send __NR_send +#define SYS_sendfile __NR_sendfile +#define SYS_sendfile64 __NR_sendfile64 +#define SYS_sendmmsg __NR_sendmmsg +#define SYS_sendmsg __NR_sendmsg +#define SYS_sendto __NR_sendto +#define SYS_set_mempolicy __NR_set_mempolicy +#define SYS_set_robust_list __NR_set_robust_list +#define SYS_set_thread_area __NR_set_thread_area +#define SYS_set_tid_address __NR_set_tid_address +#define SYS_setdomainname __NR_setdomainname +#define SYS_setfsgid __NR_setfsgid +#define SYS_setfsuid __NR_setfsuid +#define SYS_setgid __NR_setgid +#define SYS_setgroups __NR_setgroups +#define SYS_sethostname __NR_sethostname +#define SYS_setitimer __NR_setitimer +#define SYS_setns __NR_setns +#define SYS_setpgid __NR_setpgid +#define SYS_setpriority __NR_setpriority +#define SYS_setregid __NR_setregid +#define SYS_setresgid __NR_setresgid +#define SYS_setresuid __NR_setresuid +#define SYS_setreuid __NR_setreuid +#define SYS_setrlimit __NR_setrlimit +#define SYS_setsid __NR_setsid +#define SYS_setsockopt __NR_setsockopt +#define SYS_settimeofday __NR_settimeofday +#define SYS_setuid __NR_setuid +#define SYS_setxattr __NR_setxattr +#define SYS_sgetmask __NR_sgetmask +#define SYS_shmat __NR_shmat +#define SYS_shmctl __NR_shmctl +#define SYS_shmdt __NR_shmdt +#define SYS_shmget __NR_shmget +#define SYS_shutdown __NR_shutdown +#define SYS_sigaction __NR_sigaction +#define SYS_sigaltstack __NR_sigaltstack +#define SYS_signal __NR_signal +#define SYS_signalfd __NR_signalfd +#define SYS_signalfd4 __NR_signalfd4 +#define SYS_sigpending __NR_sigpending +#define SYS_sigprocmask __NR_sigprocmask +#define SYS_sigreturn __NR_sigreturn +#define SYS_sigsuspend __NR_sigsuspend +#define SYS_socket __NR_socket +#define SYS_socketcall __NR_socketcall +#define SYS_socketpair __NR_socketpair +#define SYS_splice __NR_splice +#define SYS_ssetmask __NR_ssetmask +#define SYS_stat __NR_stat +#define SYS_stat64 __NR_stat64 +#define SYS_statfs __NR_statfs +#define SYS_statfs64 __NR_statfs64 +#define SYS_stime __NR_stime +#define SYS_stty __NR_stty +#define SYS_swapoff __NR_swapoff +#define SYS_swapon __NR_swapon +#define SYS_symlink __NR_symlink +#define SYS_symlinkat __NR_symlinkat +#define SYS_sync __NR_sync +#define SYS_sync_file_range __NR_sync_file_range +#define SYS_syncfs __NR_syncfs +#define SYS_syscall __NR_syscall +#define SYS_sysfs __NR_sysfs +#define SYS_sysinfo __NR_sysinfo +#define SYS_syslog __NR_syslog +#define SYS_sysmips __NR_sysmips +#define SYS_tee __NR_tee +#define SYS_tgkill __NR_tgkill +#define SYS_time __NR_time +#define SYS_timer_create __NR_timer_create +#define SYS_timer_delete __NR_timer_delete +#define SYS_timer_getoverrun __NR_timer_getoverrun +#define SYS_timer_gettime __NR_timer_gettime +#define SYS_timer_settime __NR_timer_settime +#define SYS_timerfd __NR_timerfd +#define SYS_timerfd_create __NR_timerfd_create +#define SYS_timerfd_gettime __NR_timerfd_gettime +#define SYS_timerfd_settime __NR_timerfd_settime +#define SYS_times __NR_times +#define SYS_tkill __NR_tkill +#define SYS_truncate __NR_truncate +#define SYS_truncate64 __NR_truncate64 +#define SYS_ulimit __NR_ulimit +#define SYS_umask __NR_umask +#define SYS_umount __NR_umount +#define SYS_umount2 __NR_umount2 +#define SYS_uname __NR_uname +#define SYS_unlink __NR_unlink +#define SYS_unlinkat __NR_unlinkat +#define SYS_unshare __NR_unshare +#define SYS_unused109 __NR_unused109 +#define SYS_unused150 __NR_unused150 +#define SYS_unused18 __NR_unused18 +#define SYS_unused28 __NR_unused28 +#define SYS_unused59 __NR_unused59 +#define SYS_unused84 __NR_unused84 +#define SYS_uselib __NR_uselib +#define SYS_ustat __NR_ustat +#define SYS_utime __NR_utime +#define SYS_utimensat __NR_utimensat +#define SYS_utimes __NR_utimes +#define SYS_vhangup __NR_vhangup +#define SYS_vm86 __NR_vm86 +#define SYS_vmsplice __NR_vmsplice +#define SYS_vserver __NR_vserver +#define SYS_wait4 __NR_wait4 +#define SYS_waitid __NR_waitid +#define SYS_waitpid __NR_waitpid +#define SYS_write __NR_write +#define SYS_writev __NR_writev +#elif defined(__i386__) +#define SYS_access __NR_access +#define SYS_acct __NR_acct +#define SYS_add_key __NR_add_key +#define SYS_adjtimex __NR_adjtimex +#define SYS_afs_syscall __NR_afs_syscall +#define SYS_alarm __NR_alarm +#define SYS_bdflush __NR_bdflush +#define SYS_break __NR_break +#define SYS_brk __NR_brk +#define SYS_capget __NR_capget +#define SYS_capset __NR_capset +#define SYS_chdir __NR_chdir +#define SYS_chmod __NR_chmod +#define SYS_chown __NR_chown +#define SYS_chown32 __NR_chown32 +#define SYS_chroot __NR_chroot +#define SYS_clock_adjtime __NR_clock_adjtime +#define SYS_clock_getres __NR_clock_getres +#define SYS_clock_gettime __NR_clock_gettime +#define SYS_clock_nanosleep __NR_clock_nanosleep +#define SYS_clock_settime __NR_clock_settime +#define SYS_clone __NR_clone +#define SYS_close __NR_close +#define SYS_creat __NR_creat +#define SYS_create_module __NR_create_module +#define SYS_delete_module __NR_delete_module +#define SYS_dup __NR_dup +#define SYS_dup2 __NR_dup2 +#define SYS_dup3 __NR_dup3 +#define SYS_epoll_create __NR_epoll_create +#define SYS_epoll_create1 __NR_epoll_create1 +#define SYS_epoll_ctl __NR_epoll_ctl +#define SYS_epoll_pwait __NR_epoll_pwait +#define SYS_epoll_wait __NR_epoll_wait +#define SYS_eventfd __NR_eventfd +#define SYS_eventfd2 __NR_eventfd2 +#define SYS_execve __NR_execve +#define SYS_exit __NR_exit +#define SYS_exit_group __NR_exit_group +#define SYS_faccessat __NR_faccessat +#define SYS_fadvise64 __NR_fadvise64 +#define SYS_fadvise64_64 __NR_fadvise64_64 +#define SYS_fallocate __NR_fallocate +#define SYS_fanotify_init __NR_fanotify_init +#define SYS_fanotify_mark __NR_fanotify_mark +#define SYS_fchdir __NR_fchdir +#define SYS_fchmod __NR_fchmod +#define SYS_fchmodat __NR_fchmodat +#define SYS_fchown __NR_fchown +#define SYS_fchown32 __NR_fchown32 +#define SYS_fchownat __NR_fchownat +#define SYS_fcntl __NR_fcntl +#define SYS_fcntl64 __NR_fcntl64 +#define SYS_fdatasync __NR_fdatasync +#define SYS_fgetxattr __NR_fgetxattr +#define SYS_flistxattr __NR_flistxattr +#define SYS_flock __NR_flock +#define SYS_fork __NR_fork +#define SYS_fremovexattr __NR_fremovexattr +#define SYS_fsetxattr __NR_fsetxattr +#define SYS_fstat __NR_fstat +#define SYS_fstat64 __NR_fstat64 +#define SYS_fstatat64 __NR_fstatat64 +#define SYS_fstatfs __NR_fstatfs +#define SYS_fstatfs64 __NR_fstatfs64 +#define SYS_fsync __NR_fsync +#define SYS_ftime __NR_ftime +#define SYS_ftruncate __NR_ftruncate +#define SYS_ftruncate64 __NR_ftruncate64 +#define SYS_futex __NR_futex +#define SYS_futimesat __NR_futimesat +#define SYS_get_kernel_syms __NR_get_kernel_syms +#define SYS_get_mempolicy __NR_get_mempolicy +#define SYS_get_robust_list __NR_get_robust_list +#define SYS_get_thread_area __NR_get_thread_area +#define SYS_getcpu __NR_getcpu +#define SYS_getcwd __NR_getcwd +#define SYS_getdents __NR_getdents +#define SYS_getdents64 __NR_getdents64 +#define SYS_getegid __NR_getegid +#define SYS_getegid32 __NR_getegid32 +#define SYS_geteuid __NR_geteuid +#define SYS_geteuid32 __NR_geteuid32 +#define SYS_getgid __NR_getgid +#define SYS_getgid32 __NR_getgid32 +#define SYS_getgroups __NR_getgroups +#define SYS_getgroups32 __NR_getgroups32 +#define SYS_getitimer __NR_getitimer +#define SYS_getpgid __NR_getpgid +#define SYS_getpgrp __NR_getpgrp +#define SYS_getpid __NR_getpid +#define SYS_getpmsg __NR_getpmsg +#define SYS_getppid __NR_getppid +#define SYS_getpriority __NR_getpriority +#define SYS_getresgid __NR_getresgid +#define SYS_getresgid32 __NR_getresgid32 +#define SYS_getresuid __NR_getresuid +#define SYS_getresuid32 __NR_getresuid32 +#define SYS_getrlimit __NR_getrlimit +#define SYS_getrusage __NR_getrusage +#define SYS_getsid __NR_getsid +#define SYS_gettid __NR_gettid +#define SYS_gettimeofday __NR_gettimeofday +#define SYS_getuid __NR_getuid +#define SYS_getuid32 __NR_getuid32 +#define SYS_getxattr __NR_getxattr +#define SYS_gtty __NR_gtty +#define SYS_idle __NR_idle +#define SYS_init_module __NR_init_module +#define SYS_inotify_add_watch __NR_inotify_add_watch +#define SYS_inotify_init __NR_inotify_init +#define SYS_inotify_init1 __NR_inotify_init1 +#define SYS_inotify_rm_watch __NR_inotify_rm_watch +#define SYS_io_cancel __NR_io_cancel +#define SYS_io_destroy __NR_io_destroy +#define SYS_io_getevents __NR_io_getevents +#define SYS_io_setup __NR_io_setup +#define SYS_io_submit __NR_io_submit +#define SYS_ioctl __NR_ioctl +#define SYS_ioperm __NR_ioperm +#define SYS_iopl __NR_iopl +#define SYS_ioprio_get __NR_ioprio_get +#define SYS_ioprio_set __NR_ioprio_set +#define SYS_ipc __NR_ipc +#define SYS_kexec_load __NR_kexec_load +#define SYS_keyctl __NR_keyctl +#define SYS_kill __NR_kill +#define SYS_lchown __NR_lchown +#define SYS_lchown32 __NR_lchown32 +#define SYS_lgetxattr __NR_lgetxattr +#define SYS_link __NR_link +#define SYS_linkat __NR_linkat +#define SYS_listxattr __NR_listxattr +#define SYS_llistxattr __NR_llistxattr +#define SYS_lock __NR_lock +#define SYS_lookup_dcookie __NR_lookup_dcookie +#define SYS_lremovexattr __NR_lremovexattr +#define SYS_lseek __NR_lseek +#define SYS_lsetxattr __NR_lsetxattr +#define SYS_lstat __NR_lstat +#define SYS_lstat64 __NR_lstat64 +#define SYS_madvise __NR_madvise +#define SYS_madvise1 __NR_madvise1 +#define SYS_mbind __NR_mbind +#define SYS_migrate_pages __NR_migrate_pages +#define SYS_mincore __NR_mincore +#define SYS_mkdir __NR_mkdir +#define SYS_mkdirat __NR_mkdirat +#define SYS_mknod __NR_mknod +#define SYS_mknodat __NR_mknodat +#define SYS_mlock __NR_mlock +#define SYS_mlockall __NR_mlockall +#define SYS_mmap __NR_mmap +#define SYS_mmap2 __NR_mmap2 +#define SYS_modify_ldt __NR_modify_ldt +#define SYS_mount __NR_mount +#define SYS_move_pages __NR_move_pages +#define SYS_mprotect __NR_mprotect +#define SYS_mpx __NR_mpx +#define SYS_mq_getsetattr __NR_mq_getsetattr +#define SYS_mq_notify __NR_mq_notify +#define SYS_mq_open __NR_mq_open +#define SYS_mq_timedreceive __NR_mq_timedreceive +#define SYS_mq_timedsend __NR_mq_timedsend +#define SYS_mq_unlink __NR_mq_unlink +#define SYS_mremap __NR_mremap +#define SYS_msync __NR_msync +#define SYS_munlock __NR_munlock +#define SYS_munlockall __NR_munlockall +#define SYS_munmap __NR_munmap +#define SYS_name_to_handle_at __NR_name_to_handle_at +#define SYS_nanosleep __NR_nanosleep +#define SYS_nfsservctl __NR_nfsservctl +#define SYS_nice __NR_nice +#define SYS_oldfstat __NR_oldfstat +#define SYS_oldlstat __NR_oldlstat +#define SYS_oldolduname __NR_oldolduname +#define SYS_oldstat __NR_oldstat +#define SYS_olduname __NR_olduname +#define SYS_open __NR_open +#define SYS_open_by_handle_at __NR_open_by_handle_at +#define SYS_openat __NR_openat +#define SYS_pause __NR_pause +#define SYS_perf_event_open __NR_perf_event_open +#define SYS_personality __NR_personality +#define SYS_pipe __NR_pipe +#define SYS_pipe2 __NR_pipe2 +#define SYS_pivot_root __NR_pivot_root +#define SYS_poll __NR_poll +#define SYS_ppoll __NR_ppoll +#define SYS_prctl __NR_prctl +#define SYS_pread64 __NR_pread64 +#define SYS_preadv __NR_preadv +#define SYS_prlimit64 __NR_prlimit64 +#define SYS_prof __NR_prof +#define SYS_profil __NR_profil +#define SYS_pselect6 __NR_pselect6 +#define SYS_ptrace __NR_ptrace +#define SYS_putpmsg __NR_putpmsg +#define SYS_pwrite64 __NR_pwrite64 +#define SYS_pwritev __NR_pwritev +#define SYS_query_module __NR_query_module +#define SYS_quotactl __NR_quotactl +#define SYS_read __NR_read +#define SYS_readahead __NR_readahead +#define SYS_readdir __NR_readdir +#define SYS_readlink __NR_readlink +#define SYS_readlinkat __NR_readlinkat +#define SYS_readv __NR_readv +#define SYS_reboot __NR_reboot +#define SYS_recvmmsg __NR_recvmmsg +#define SYS_remap_file_pages __NR_remap_file_pages +#define SYS_removexattr __NR_removexattr +#define SYS_rename __NR_rename +#define SYS_renameat __NR_renameat +#define SYS_request_key __NR_request_key +#define SYS_restart_syscall __NR_restart_syscall +#define SYS_rmdir __NR_rmdir +#define SYS_rt_sigaction __NR_rt_sigaction +#define SYS_rt_sigpending __NR_rt_sigpending +#define SYS_rt_sigprocmask __NR_rt_sigprocmask +#define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo +#define SYS_rt_sigreturn __NR_rt_sigreturn +#define SYS_rt_sigsuspend __NR_rt_sigsuspend +#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait +#define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo +#define SYS_sched_get_priority_max __NR_sched_get_priority_max +#define SYS_sched_get_priority_min __NR_sched_get_priority_min +#define SYS_sched_getaffinity __NR_sched_getaffinity +#define SYS_sched_getparam __NR_sched_getparam +#define SYS_sched_getscheduler __NR_sched_getscheduler +#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval +#define SYS_sched_setaffinity __NR_sched_setaffinity +#define SYS_sched_setparam __NR_sched_setparam +#define SYS_sched_setscheduler __NR_sched_setscheduler +#define SYS_sched_yield __NR_sched_yield +#define SYS_select __NR_select +#define SYS_sendfile __NR_sendfile +#define SYS_sendfile64 __NR_sendfile64 +#define SYS_sendmmsg __NR_sendmmsg +#define SYS_set_mempolicy __NR_set_mempolicy +#define SYS_set_robust_list __NR_set_robust_list +#define SYS_set_thread_area __NR_set_thread_area +#define SYS_set_tid_address __NR_set_tid_address +#define SYS_setdomainname __NR_setdomainname +#define SYS_setfsgid __NR_setfsgid +#define SYS_setfsgid32 __NR_setfsgid32 +#define SYS_setfsuid __NR_setfsuid +#define SYS_setfsuid32 __NR_setfsuid32 +#define SYS_setgid __NR_setgid +#define SYS_setgid32 __NR_setgid32 +#define SYS_setgroups __NR_setgroups +#define SYS_setgroups32 __NR_setgroups32 +#define SYS_sethostname __NR_sethostname +#define SYS_setitimer __NR_setitimer +#define SYS_setns __NR_setns +#define SYS_setpgid __NR_setpgid +#define SYS_setpriority __NR_setpriority +#define SYS_setregid __NR_setregid +#define SYS_setregid32 __NR_setregid32 +#define SYS_setresgid __NR_setresgid +#define SYS_setresgid32 __NR_setresgid32 +#define SYS_setresuid __NR_setresuid +#define SYS_setresuid32 __NR_setresuid32 +#define SYS_setreuid __NR_setreuid +#define SYS_setreuid32 __NR_setreuid32 +#define SYS_setrlimit __NR_setrlimit +#define SYS_setsid __NR_setsid +#define SYS_settimeofday __NR_settimeofday +#define SYS_setuid __NR_setuid +#define SYS_setuid32 __NR_setuid32 +#define SYS_setxattr __NR_setxattr +#define SYS_sgetmask __NR_sgetmask +#define SYS_sigaction __NR_sigaction +#define SYS_sigaltstack __NR_sigaltstack +#define SYS_signal __NR_signal +#define SYS_signalfd __NR_signalfd +#define SYS_signalfd4 __NR_signalfd4 +#define SYS_sigpending __NR_sigpending +#define SYS_sigprocmask __NR_sigprocmask +#define SYS_sigreturn __NR_sigreturn +#define SYS_sigsuspend __NR_sigsuspend +#define SYS_socketcall __NR_socketcall +#define SYS_splice __NR_splice +#define SYS_ssetmask __NR_ssetmask +#define SYS_stat __NR_stat +#define SYS_stat64 __NR_stat64 +#define SYS_statfs __NR_statfs +#define SYS_statfs64 __NR_statfs64 +#define SYS_stime __NR_stime +#define SYS_stty __NR_stty +#define SYS_swapoff __NR_swapoff +#define SYS_swapon __NR_swapon +#define SYS_symlink __NR_symlink +#define SYS_symlinkat __NR_symlinkat +#define SYS_sync __NR_sync +#define SYS_sync_file_range __NR_sync_file_range +#define SYS_syncfs __NR_syncfs +#define SYS_sysfs __NR_sysfs +#define SYS_sysinfo __NR_sysinfo +#define SYS_syslog __NR_syslog +#define SYS_tee __NR_tee +#define SYS_tgkill __NR_tgkill +#define SYS_time __NR_time +#define SYS_timer_create __NR_timer_create +#define SYS_timer_delete __NR_timer_delete +#define SYS_timer_getoverrun __NR_timer_getoverrun +#define SYS_timer_gettime __NR_timer_gettime +#define SYS_timer_settime __NR_timer_settime +#define SYS_timerfd_create __NR_timerfd_create +#define SYS_timerfd_gettime __NR_timerfd_gettime +#define SYS_timerfd_settime __NR_timerfd_settime +#define SYS_times __NR_times +#define SYS_tkill __NR_tkill +#define SYS_truncate __NR_truncate +#define SYS_truncate64 __NR_truncate64 +#define SYS_ugetrlimit __NR_ugetrlimit +#define SYS_ulimit __NR_ulimit +#define SYS_umask __NR_umask +#define SYS_umount __NR_umount +#define SYS_umount2 __NR_umount2 +#define SYS_uname __NR_uname +#define SYS_unlink __NR_unlink +#define SYS_unlinkat __NR_unlinkat +#define SYS_unshare __NR_unshare +#define SYS_uselib __NR_uselib +#define SYS_ustat __NR_ustat +#define SYS_utime __NR_utime +#define SYS_utimensat __NR_utimensat +#define SYS_utimes __NR_utimes +#define SYS_vfork __NR_vfork +#define SYS_vhangup __NR_vhangup +#define SYS_vm86 __NR_vm86 +#define SYS_vm86old __NR_vm86old +#define SYS_vmsplice __NR_vmsplice +#define SYS_vserver __NR_vserver +#define SYS_wait4 __NR_wait4 +#define SYS_waitid __NR_waitid +#define SYS_waitpid __NR_waitpid +#define SYS_write __NR_write +#define SYS_writev __NR_writev #endif +#endif /* _BIONIC_GLIBC_SYSCALLS_H_ */ diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index aaa3de3..26cf3a5 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -48,7 +48,7 @@ def create_file( relpath ): x86_header = """/* autogenerated by gensyscalls.py */ #include <linux/err.h> #include <machine/asm.h> -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> ENTRY(%(fname)s) """ @@ -115,7 +115,7 @@ END(%(fname)s) # mips_call = """/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> +#include <asm/unistd.h> .text .globl %(fname)s .align 4 @@ -303,9 +303,19 @@ class State: t["asm-mips"] = self.mips_genstub(syscall_func,"__NR_"+syscall_name) - def gen_NR_syscall(self, glibc_fp, linux_fp, name, id): + def gen_NR_syscall(self, linux_fp, name, id): linux_fp.write("#define __NR_%-25s (__NR_SYSCALL_BASE + %d)\n" % (name,id)) - glibc_fp.write("#define SYS_%-25s __NR_%s\n" % (name, name)) + + + def scan_linux_unistd_h(self, fp, path): + pattern = re.compile(r'^#define __NR_([a-z]\S+) .*') + syscalls = set() # MIPS defines everything three times; work around that. + for line in open(path): + m = re.search(pattern, line) + if m: + syscalls.add(m.group(1)) + for syscall in sorted(syscalls): + fp.write("#define SYS_%s __NR_%s\n" % (syscall, syscall)) def gen_linux_syscalls_h(self): @@ -315,6 +325,18 @@ class State: glibc_fp.write("#ifndef _BIONIC_GLIBC_SYSCALLS_H_\n") glibc_fp.write("#define _BIONIC_GLIBC_SYSCALLS_H_\n") + glibc_fp.write("#if defined(__arm__)\n") + self.scan_linux_unistd_h(glibc_fp, "libc/kernel/arch-arm/asm/unistd.h") + glibc_fp.write("#elif defined(__mips__)\n") + self.scan_linux_unistd_h(glibc_fp, "libc/kernel/arch-mips/asm/unistd.h") + glibc_fp.write("#elif defined(__i386__)\n") + self.scan_linux_unistd_h(glibc_fp, "libc/kernel/arch-x86/asm/unistd_32.h") + glibc_fp.write("#endif\n") + + glibc_fp.write("#endif /* _BIONIC_GLIBC_SYSCALLS_H_ */\n") + glibc_fp.close() + self.other_files.append(glibc_syscalls_h_path) + linux_syscalls_h_path = "include/sys/linux-syscalls.h" D("generating " + linux_syscalls_h_path) fp = create_file(linux_syscalls_h_path) @@ -335,50 +357,40 @@ class State: sc_id = sc["common"] sc_name = sc["name"] if sc_id >= 0: - self.gen_NR_syscall(glibc_fp, fp, sc_name, sc_id) + self.gen_NR_syscall(fp, sc_name, sc_id) # now, all arm-specific syscalls fp.write("\n#ifdef __arm__\n") - glibc_fp.write( "\n#ifdef __arm__\n") for sc in self.syscalls: sc_id = sc["armid"] sc_name = sc["name"] if sc_id >= 0: - self.gen_NR_syscall(glibc_fp, fp, sc_name, sc_id) + self.gen_NR_syscall(fp, sc_name, sc_id) fp.write("#endif\n") - glibc_fp.write("#endif\n") gen_syscalls = {} # all i386-specific syscalls fp.write("\n#ifdef __i386__\n") - glibc_fp.write("\n#ifdef __i386__\n") for sc in sorted(self.syscalls,key=lambda x:x["x86id"]): sc_id = sc["x86id"] sc_name = sc["name"] if sc_id >= 0 and sc_name not in gen_syscalls: - self.gen_NR_syscall(glibc_fp, fp, sc_name, sc_id) + self.gen_NR_syscall(fp, sc_name, sc_id) gen_syscalls[sc_name] = True fp.write("#endif\n") - glibc_fp.write("#endif\n") # all mips-specific syscalls fp.write("\n#ifdef __mips__\n") - glibc_fp.write("\n#ifdef __mips__\n") for sc in sorted(self.syscalls,key=lambda x:x["mipsid"]): sc_id = sc["mipsid"] if sc_id >= 0: - self.gen_NR_syscall(glibc_fp, fp, sc["name"], sc_id) + self.gen_NR_syscall(fp, sc["name"], sc_id) fp.write( "#endif\n" ); - glibc_fp.write( "#endif\n" ); fp.write( "\n#endif\n" ) fp.write( "\n#endif /* _BIONIC_LINUX_SYSCALLS_H_ */\n" ); fp.close() - glibc_fp.write("#endif\n") - glibc_fp.close() - - self.other_files.append(glibc_syscalls_h_path) self.other_files.append(linux_syscalls_h_path) |