* commit 'f557e90b348d9a3294391076bcd6604a13c803b6': Use the kernel's MAX_ERRNO in the syscall stubs.
This commit is contained in:
commit
76ade2ed60
@ -26,6 +26,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -45,10 +46,12 @@ ENTRY(__pthread_clone)
|
|||||||
movs r0, r0
|
movs r0, r0
|
||||||
beq 1f
|
beq 1f
|
||||||
|
|
||||||
# In parent, reload saved registers then either exit or set errno.
|
# In parent, reload saved registers then either return or set errno.
|
||||||
ldmfd sp!, {r4, r7}
|
ldmfd sp!, {r4, r7}
|
||||||
bxpl lr
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
b __set_syscall_errno
|
bxls lr
|
||||||
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
|
|
||||||
1: # The child.
|
1: # The child.
|
||||||
# pick the function arg and call address off the stack and jump
|
# pick the function arg and call address off the stack and jump
|
||||||
@ -94,10 +97,12 @@ ENTRY(__bionic_clone)
|
|||||||
movs r0, r0
|
movs r0, r0
|
||||||
beq 1f
|
beq 1f
|
||||||
|
|
||||||
# In the parent, reload saved registers then either exit or set errno.
|
# In the parent, reload saved registers then either return or set errno.
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
bxpl lr
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
b __set_syscall_errno
|
bxls lr
|
||||||
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
|
|
||||||
1: # The child.
|
1: # The child.
|
||||||
ldr r0, [sp, #-4]
|
ldr r0, [sp, #-4]
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
abort due to a fatal runtime error (e.g. detection
|
abort due to a fatal runtime error (e.g. detection
|
||||||
of a corrupted malloc heap).
|
of a corrupted malloc heap).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/err.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
|
|
||||||
@ -44,7 +46,8 @@ ENTRY(kill)
|
|||||||
ldr r7, =__NR_kill
|
ldr r7, =__NR_kill
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4-r7, ip, lr}
|
ldmfd sp!, {r4-r7, ip, lr}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(kill)
|
END(kill)
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -39,7 +40,8 @@ ENTRY(syscall)
|
|||||||
ldmfd ip, {r3, r4, r5, r6}
|
ldmfd ip, {r3, r4, r5, r6}
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(syscall)
|
END(syscall)
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
of a corrupted malloc heap).
|
of a corrupted malloc heap).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/err.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
|
|
||||||
@ -45,7 +46,8 @@ ENTRY(tgkill)
|
|||||||
ldr r7, =__NR_tgkill
|
ldr r7, =__NR_tgkill
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4-r7, ip, lr}
|
ldmfd sp!, {r4-r7, ip, lr}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(tgkill)
|
END(tgkill)
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
of a corrupted malloc heap).
|
of a corrupted malloc heap).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/err.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
|
|
||||||
@ -45,7 +46,8 @@ ENTRY(tkill)
|
|||||||
ldr r7, =__NR_tkill
|
ldr r7, =__NR_tkill
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4-r7, ip, lr}
|
ldmfd sp!, {r4-r7, ip, lr}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(tkill)
|
END(tkill)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__brk)
|
|||||||
ldr r7, =__NR_brk
|
ldr r7, =__NR_brk
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__brk)
|
END(__brk)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__fcntl)
|
|||||||
ldr r7, =__NR_fcntl
|
ldr r7, =__NR_fcntl
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__fcntl)
|
END(__fcntl)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__fcntl64)
|
|||||||
ldr r7, =__NR_fcntl64
|
ldr r7, =__NR_fcntl64
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__fcntl64)
|
END(__fcntl64)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__fork)
|
|||||||
ldr r7, =__NR_fork
|
ldr r7, =__NR_fork
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__fork)
|
END(__fork)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__fstatfs64)
|
|||||||
ldr r7, =__NR_fstatfs64
|
ldr r7, =__NR_fstatfs64
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__fstatfs64)
|
END(__fstatfs64)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__getcpu)
|
|||||||
ldr r7, =__NR_getcpu
|
ldr r7, =__NR_getcpu
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__getcpu)
|
END(__getcpu)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__getcwd)
|
|||||||
ldr r7, =__NR_getcwd
|
ldr r7, =__NR_getcwd
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__getcwd)
|
END(__getcwd)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__getpriority)
|
|||||||
ldr r7, =__NR_getpriority
|
ldr r7, =__NR_getpriority
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__getpriority)
|
END(__getpriority)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__ioctl)
|
|||||||
ldr r7, =__NR_ioctl
|
ldr r7, =__NR_ioctl
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__ioctl)
|
END(__ioctl)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -10,7 +11,8 @@ ENTRY(__llseek)
|
|||||||
ldr r7, =__NR__llseek
|
ldr r7, =__NR__llseek
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__llseek)
|
END(__llseek)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -10,7 +11,8 @@ ENTRY(__mmap2)
|
|||||||
ldr r7, =__NR_mmap2
|
ldr r7, =__NR_mmap2
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__mmap2)
|
END(__mmap2)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__open)
|
|||||||
ldr r7, =__NR_open
|
ldr r7, =__NR_open
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__open)
|
END(__open)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__openat)
|
|||||||
ldr r7, =__NR_openat
|
ldr r7, =__NR_openat
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__openat)
|
END(__openat)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__ptrace)
|
|||||||
ldr r7, =__NR_ptrace
|
ldr r7, =__NR_ptrace
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__ptrace)
|
END(__ptrace)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__reboot)
|
|||||||
ldr r7, =__NR_reboot
|
ldr r7, =__NR_reboot
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__reboot)
|
END(__reboot)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__rt_sigaction)
|
|||||||
ldr r7, =__NR_rt_sigaction
|
ldr r7, =__NR_rt_sigaction
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__rt_sigaction)
|
END(__rt_sigaction)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__rt_sigprocmask)
|
|||||||
ldr r7, =__NR_rt_sigprocmask
|
ldr r7, =__NR_rt_sigprocmask
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__rt_sigprocmask)
|
END(__rt_sigprocmask)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__rt_sigtimedwait)
|
|||||||
ldr r7, =__NR_rt_sigtimedwait
|
ldr r7, =__NR_rt_sigtimedwait
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__rt_sigtimedwait)
|
END(__rt_sigtimedwait)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__sched_getaffinity)
|
|||||||
ldr r7, =__NR_sched_getaffinity
|
ldr r7, =__NR_sched_getaffinity
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__sched_getaffinity)
|
END(__sched_getaffinity)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__set_tls)
|
|||||||
ldr r7, =__NR_ARM_set_tls
|
ldr r7, =__NR_ARM_set_tls
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__set_tls)
|
END(__set_tls)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__setresuid)
|
|||||||
ldr r7, =__NR_setresuid32
|
ldr r7, =__NR_setresuid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__setresuid)
|
END(__setresuid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__setreuid)
|
|||||||
ldr r7, =__NR_setreuid32
|
ldr r7, =__NR_setreuid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__setreuid)
|
END(__setreuid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__setuid)
|
|||||||
ldr r7, =__NR_setuid32
|
ldr r7, =__NR_setuid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__setuid)
|
END(__setuid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__sigsuspend)
|
|||||||
ldr r7, =__NR_sigsuspend
|
ldr r7, =__NR_sigsuspend
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__sigsuspend)
|
END(__sigsuspend)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__statfs64)
|
|||||||
ldr r7, =__NR_statfs64
|
ldr r7, =__NR_statfs64
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__statfs64)
|
END(__statfs64)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -10,7 +11,8 @@ ENTRY(__sys_clone)
|
|||||||
ldr r7, =__NR_clone
|
ldr r7, =__NR_clone
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__sys_clone)
|
END(__sys_clone)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__syslog)
|
|||||||
ldr r7, =__NR_syslog
|
ldr r7, =__NR_syslog
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__syslog)
|
END(__syslog)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__timer_create)
|
|||||||
ldr r7, =__NR_timer_create
|
ldr r7, =__NR_timer_create
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__timer_create)
|
END(__timer_create)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__timer_delete)
|
|||||||
ldr r7, =__NR_timer_delete
|
ldr r7, =__NR_timer_delete
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__timer_delete)
|
END(__timer_delete)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__timer_getoverrun)
|
|||||||
ldr r7, =__NR_timer_getoverrun
|
ldr r7, =__NR_timer_getoverrun
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__timer_getoverrun)
|
END(__timer_getoverrun)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__timer_gettime)
|
|||||||
ldr r7, =__NR_timer_gettime
|
ldr r7, =__NR_timer_gettime
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__timer_gettime)
|
END(__timer_gettime)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__timer_settime)
|
|||||||
ldr r7, =__NR_timer_settime
|
ldr r7, =__NR_timer_settime
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__timer_settime)
|
END(__timer_settime)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(__wait4)
|
|||||||
ldr r7, =__NR_wait4
|
ldr r7, =__NR_wait4
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__wait4)
|
END(__wait4)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -10,7 +11,8 @@ ENTRY(__waitid)
|
|||||||
ldr r7, =__NR_waitid
|
ldr r7, =__NR_waitid
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(__waitid)
|
END(__waitid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(_exit)
|
|||||||
ldr r7, =__NR_exit_group
|
ldr r7, =__NR_exit_group
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(_exit)
|
END(_exit)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(_exit_thread)
|
|||||||
ldr r7, =__NR_exit
|
ldr r7, =__NR_exit
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(_exit_thread)
|
END(_exit_thread)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(accept)
|
|||||||
ldr r7, =__NR_accept
|
ldr r7, =__NR_accept
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(accept)
|
END(accept)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(access)
|
|||||||
ldr r7, =__NR_access
|
ldr r7, =__NR_access
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(access)
|
END(access)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(acct)
|
|||||||
ldr r7, =__NR_acct
|
ldr r7, =__NR_acct
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(acct)
|
END(acct)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(bind)
|
|||||||
ldr r7, =__NR_bind
|
ldr r7, =__NR_bind
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(bind)
|
END(bind)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(cacheflush)
|
|||||||
ldr r7, =__NR_ARM_cacheflush
|
ldr r7, =__NR_ARM_cacheflush
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(cacheflush)
|
END(cacheflush)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(capget)
|
|||||||
ldr r7, =__NR_capget
|
ldr r7, =__NR_capget
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(capget)
|
END(capget)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(capset)
|
|||||||
ldr r7, =__NR_capset
|
ldr r7, =__NR_capset
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(capset)
|
END(capset)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(chdir)
|
|||||||
ldr r7, =__NR_chdir
|
ldr r7, =__NR_chdir
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(chdir)
|
END(chdir)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(chmod)
|
|||||||
ldr r7, =__NR_chmod
|
ldr r7, =__NR_chmod
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(chmod)
|
END(chmod)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(chown)
|
|||||||
ldr r7, =__NR_chown32
|
ldr r7, =__NR_chown32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(chown)
|
END(chown)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(chroot)
|
|||||||
ldr r7, =__NR_chroot
|
ldr r7, =__NR_chroot
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(chroot)
|
END(chroot)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(clock_getres)
|
|||||||
ldr r7, =__NR_clock_getres
|
ldr r7, =__NR_clock_getres
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(clock_getres)
|
END(clock_getres)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(clock_gettime)
|
|||||||
ldr r7, =__NR_clock_gettime
|
ldr r7, =__NR_clock_gettime
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(clock_gettime)
|
END(clock_gettime)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(clock_nanosleep)
|
|||||||
ldr r7, =__NR_clock_nanosleep
|
ldr r7, =__NR_clock_nanosleep
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(clock_nanosleep)
|
END(clock_nanosleep)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(clock_settime)
|
|||||||
ldr r7, =__NR_clock_settime
|
ldr r7, =__NR_clock_settime
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(clock_settime)
|
END(clock_settime)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(close)
|
|||||||
ldr r7, =__NR_close
|
ldr r7, =__NR_close
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(close)
|
END(close)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(connect)
|
|||||||
ldr r7, =__NR_connect
|
ldr r7, =__NR_connect
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(connect)
|
END(connect)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(delete_module)
|
|||||||
ldr r7, =__NR_delete_module
|
ldr r7, =__NR_delete_module
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(delete_module)
|
END(delete_module)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(dup)
|
|||||||
ldr r7, =__NR_dup
|
ldr r7, =__NR_dup
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(dup)
|
END(dup)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(dup2)
|
|||||||
ldr r7, =__NR_dup2
|
ldr r7, =__NR_dup2
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(dup2)
|
END(dup2)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(epoll_create)
|
|||||||
ldr r7, =__NR_epoll_create
|
ldr r7, =__NR_epoll_create
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(epoll_create)
|
END(epoll_create)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(epoll_ctl)
|
|||||||
ldr r7, =__NR_epoll_ctl
|
ldr r7, =__NR_epoll_ctl
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(epoll_ctl)
|
END(epoll_ctl)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(epoll_wait)
|
|||||||
ldr r7, =__NR_epoll_wait
|
ldr r7, =__NR_epoll_wait
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(epoll_wait)
|
END(epoll_wait)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(eventfd)
|
|||||||
ldr r7, =__NR_eventfd2
|
ldr r7, =__NR_eventfd2
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(eventfd)
|
END(eventfd)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(execve)
|
|||||||
ldr r7, =__NR_execve
|
ldr r7, =__NR_execve
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(execve)
|
END(execve)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(faccessat)
|
|||||||
ldr r7, =__NR_faccessat
|
ldr r7, =__NR_faccessat
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(faccessat)
|
END(faccessat)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fchdir)
|
|||||||
ldr r7, =__NR_fchdir
|
ldr r7, =__NR_fchdir
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fchdir)
|
END(fchdir)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fchmod)
|
|||||||
ldr r7, =__NR_fchmod
|
ldr r7, =__NR_fchmod
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fchmod)
|
END(fchmod)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fchmodat)
|
|||||||
ldr r7, =__NR_fchmodat
|
ldr r7, =__NR_fchmodat
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fchmodat)
|
END(fchmodat)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fchown)
|
|||||||
ldr r7, =__NR_fchown32
|
ldr r7, =__NR_fchown32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fchown)
|
END(fchown)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -10,7 +11,8 @@ ENTRY(fchownat)
|
|||||||
ldr r7, =__NR_fchownat
|
ldr r7, =__NR_fchownat
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fchownat)
|
END(fchownat)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fdatasync)
|
|||||||
ldr r7, =__NR_fdatasync
|
ldr r7, =__NR_fdatasync
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fdatasync)
|
END(fdatasync)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fgetxattr)
|
|||||||
ldr r7, =__NR_fgetxattr
|
ldr r7, =__NR_fgetxattr
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fgetxattr)
|
END(fgetxattr)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(flistxattr)
|
|||||||
ldr r7, =__NR_flistxattr
|
ldr r7, =__NR_flistxattr
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(flistxattr)
|
END(flistxattr)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(flock)
|
|||||||
ldr r7, =__NR_flock
|
ldr r7, =__NR_flock
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(flock)
|
END(flock)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fremovexattr)
|
|||||||
ldr r7, =__NR_fremovexattr
|
ldr r7, =__NR_fremovexattr
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fremovexattr)
|
END(fremovexattr)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -10,7 +11,8 @@ ENTRY(fsetxattr)
|
|||||||
ldr r7, =__NR_fsetxattr
|
ldr r7, =__NR_fsetxattr
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fsetxattr)
|
END(fsetxattr)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fstat)
|
|||||||
ldr r7, =__NR_fstat64
|
ldr r7, =__NR_fstat64
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fstat)
|
END(fstat)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fstatat)
|
|||||||
ldr r7, =__NR_fstatat64
|
ldr r7, =__NR_fstatat64
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fstatat)
|
END(fstatat)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(fsync)
|
|||||||
ldr r7, =__NR_fsync
|
ldr r7, =__NR_fsync
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(fsync)
|
END(fsync)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(ftruncate)
|
|||||||
ldr r7, =__NR_ftruncate
|
ldr r7, =__NR_ftruncate
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(ftruncate)
|
END(ftruncate)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(ftruncate64)
|
|||||||
ldr r7, =__NR_ftruncate64
|
ldr r7, =__NR_ftruncate64
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(ftruncate64)
|
END(ftruncate64)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -10,7 +11,8 @@ ENTRY(futex)
|
|||||||
ldr r7, =__NR_futex
|
ldr r7, =__NR_futex
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r5, r6, r7}
|
ldmfd sp!, {r4, r5, r6, r7}
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(futex)
|
END(futex)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getdents)
|
|||||||
ldr r7, =__NR_getdents64
|
ldr r7, =__NR_getdents64
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getdents)
|
END(getdents)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getegid)
|
|||||||
ldr r7, =__NR_getegid32
|
ldr r7, =__NR_getegid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getegid)
|
END(getegid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(geteuid)
|
|||||||
ldr r7, =__NR_geteuid32
|
ldr r7, =__NR_geteuid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(geteuid)
|
END(geteuid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getgid)
|
|||||||
ldr r7, =__NR_getgid32
|
ldr r7, =__NR_getgid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getgid)
|
END(getgid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getgroups)
|
|||||||
ldr r7, =__NR_getgroups32
|
ldr r7, =__NR_getgroups32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getgroups)
|
END(getgroups)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getitimer)
|
|||||||
ldr r7, =__NR_getitimer
|
ldr r7, =__NR_getitimer
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getitimer)
|
END(getitimer)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getpeername)
|
|||||||
ldr r7, =__NR_getpeername
|
ldr r7, =__NR_getpeername
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getpeername)
|
END(getpeername)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getpgid)
|
|||||||
ldr r7, =__NR_getpgid
|
ldr r7, =__NR_getpgid
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getpgid)
|
END(getpgid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getpid)
|
|||||||
ldr r7, =__NR_getpid
|
ldr r7, =__NR_getpid
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getpid)
|
END(getpid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getppid)
|
|||||||
ldr r7, =__NR_getppid
|
ldr r7, =__NR_getppid
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getppid)
|
END(getppid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getresgid)
|
|||||||
ldr r7, =__NR_getresgid32
|
ldr r7, =__NR_getresgid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getresgid)
|
END(getresgid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getresuid)
|
|||||||
ldr r7, =__NR_getresuid32
|
ldr r7, =__NR_getresuid32
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getresuid)
|
END(getresuid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getrlimit)
|
|||||||
ldr r7, =__NR_ugetrlimit
|
ldr r7, =__NR_ugetrlimit
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getrlimit)
|
END(getrlimit)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getrusage)
|
|||||||
ldr r7, =__NR_getrusage
|
ldr r7, =__NR_getrusage
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getrusage)
|
END(getrusage)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getsid)
|
|||||||
ldr r7, =__NR_getsid
|
ldr r7, =__NR_getsid
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getsid)
|
END(getsid)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* autogenerated by gensyscalls.py */
|
/* autogenerated by gensyscalls.py */
|
||||||
|
#include <linux/err.h>
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ ENTRY(getsockname)
|
|||||||
ldr r7, =__NR_getsockname
|
ldr r7, =__NR_getsockname
|
||||||
swi #0
|
swi #0
|
||||||
mov r7, ip
|
mov r7, ip
|
||||||
movs r0, r0
|
cmn r0, #(MAX_ERRNO + 1)
|
||||||
bxpl lr
|
bxls lr
|
||||||
b __set_syscall_errno
|
neg r0, r0
|
||||||
|
b __set_errno
|
||||||
END(getsockname)
|
END(getsockname)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user