# By Matthieu Castet # Via Android Git Automerger (1) and others * commit '7ae998456c2564aff4ecbe6a6df214821f6e26cc': arm syscall : for eabi call_default don't use stack
This commit is contained in:
commit
88af723267
182 changed files with 364 additions and 546 deletions
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__brk)
|
ENTRY(__brk)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_brk
|
ldr r7, =__NR_brk
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__fcntl)
|
ENTRY(__fcntl)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fcntl
|
ldr r7, =__NR_fcntl
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__fcntl64)
|
ENTRY(__fcntl64)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fcntl64
|
ldr r7, =__NR_fcntl64
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__fork)
|
ENTRY(__fork)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fork
|
ldr r7, =__NR_fork
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__fstatfs64)
|
ENTRY(__fstatfs64)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fstatfs64
|
ldr r7, =__NR_fstatfs64
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__getcpu)
|
ENTRY(__getcpu)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getcpu
|
ldr r7, =__NR_getcpu
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__getcwd)
|
ENTRY(__getcwd)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getcwd
|
ldr r7, =__NR_getcwd
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__getpriority)
|
ENTRY(__getpriority)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getpriority
|
ldr r7, =__NR_getpriority
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__ioctl)
|
ENTRY(__ioctl)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ioctl
|
ldr r7, =__NR_ioctl
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__open)
|
ENTRY(__open)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_open
|
ldr r7, =__NR_open
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__openat)
|
ENTRY(__openat)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_openat
|
ldr r7, =__NR_openat
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__ptrace)
|
ENTRY(__ptrace)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ptrace
|
ldr r7, =__NR_ptrace
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__reboot)
|
ENTRY(__reboot)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_reboot
|
ldr r7, =__NR_reboot
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__rt_sigaction)
|
ENTRY(__rt_sigaction)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_rt_sigaction
|
ldr r7, =__NR_rt_sigaction
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__rt_sigprocmask)
|
ENTRY(__rt_sigprocmask)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_rt_sigprocmask
|
ldr r7, =__NR_rt_sigprocmask
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__rt_sigtimedwait)
|
ENTRY(__rt_sigtimedwait)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_rt_sigtimedwait
|
ldr r7, =__NR_rt_sigtimedwait
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__sched_getaffinity)
|
ENTRY(__sched_getaffinity)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_sched_getaffinity
|
ldr r7, =__NR_sched_getaffinity
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__set_tls)
|
ENTRY(__set_tls)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ARM_set_tls
|
ldr r7, =__NR_ARM_set_tls
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__setresuid)
|
ENTRY(__setresuid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_setresuid32
|
ldr r7, =__NR_setresuid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__setreuid)
|
ENTRY(__setreuid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_setreuid32
|
ldr r7, =__NR_setreuid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__setuid)
|
ENTRY(__setuid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_setuid32
|
ldr r7, =__NR_setuid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__sigsuspend)
|
ENTRY(__sigsuspend)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_sigsuspend
|
ldr r7, =__NR_sigsuspend
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__statfs64)
|
ENTRY(__statfs64)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_statfs64
|
ldr r7, =__NR_statfs64
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__syslog)
|
ENTRY(__syslog)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_syslog
|
ldr r7, =__NR_syslog
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__timer_create)
|
ENTRY(__timer_create)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_timer_create
|
ldr r7, =__NR_timer_create
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__timer_delete)
|
ENTRY(__timer_delete)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_timer_delete
|
ldr r7, =__NR_timer_delete
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__timer_getoverrun)
|
ENTRY(__timer_getoverrun)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_timer_getoverrun
|
ldr r7, =__NR_timer_getoverrun
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__timer_gettime)
|
ENTRY(__timer_gettime)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_timer_gettime
|
ldr r7, =__NR_timer_gettime
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__timer_settime)
|
ENTRY(__timer_settime)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_timer_settime
|
ldr r7, =__NR_timer_settime
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(__wait4)
|
ENTRY(__wait4)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_wait4
|
ldr r7, =__NR_wait4
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(_exit)
|
ENTRY(_exit)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_exit_group
|
ldr r7, =__NR_exit_group
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(_exit_thread)
|
ENTRY(_exit_thread)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_exit
|
ldr r7, =__NR_exit
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(accept)
|
ENTRY(accept)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_accept
|
ldr r7, =__NR_accept
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(access)
|
ENTRY(access)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_access
|
ldr r7, =__NR_access
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(acct)
|
ENTRY(acct)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_acct
|
ldr r7, =__NR_acct
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(bind)
|
ENTRY(bind)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_bind
|
ldr r7, =__NR_bind
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(cacheflush)
|
ENTRY(cacheflush)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ARM_cacheflush
|
ldr r7, =__NR_ARM_cacheflush
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(capget)
|
ENTRY(capget)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_capget
|
ldr r7, =__NR_capget
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(capset)
|
ENTRY(capset)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_capset
|
ldr r7, =__NR_capset
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(chdir)
|
ENTRY(chdir)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_chdir
|
ldr r7, =__NR_chdir
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(chmod)
|
ENTRY(chmod)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_chmod
|
ldr r7, =__NR_chmod
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(chown)
|
ENTRY(chown)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_chown32
|
ldr r7, =__NR_chown32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(chroot)
|
ENTRY(chroot)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_chroot
|
ldr r7, =__NR_chroot
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(clock_getres)
|
ENTRY(clock_getres)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_clock_getres
|
ldr r7, =__NR_clock_getres
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(clock_gettime)
|
ENTRY(clock_gettime)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_clock_gettime
|
ldr r7, =__NR_clock_gettime
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(clock_nanosleep)
|
ENTRY(clock_nanosleep)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_clock_nanosleep
|
ldr r7, =__NR_clock_nanosleep
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(clock_settime)
|
ENTRY(clock_settime)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_clock_settime
|
ldr r7, =__NR_clock_settime
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(close)
|
ENTRY(close)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_close
|
ldr r7, =__NR_close
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(connect)
|
ENTRY(connect)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_connect
|
ldr r7, =__NR_connect
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(delete_module)
|
ENTRY(delete_module)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_delete_module
|
ldr r7, =__NR_delete_module
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(dup)
|
ENTRY(dup)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_dup
|
ldr r7, =__NR_dup
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(dup2)
|
ENTRY(dup2)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_dup2
|
ldr r7, =__NR_dup2
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(epoll_create)
|
ENTRY(epoll_create)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_epoll_create
|
ldr r7, =__NR_epoll_create
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(epoll_ctl)
|
ENTRY(epoll_ctl)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_epoll_ctl
|
ldr r7, =__NR_epoll_ctl
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(epoll_wait)
|
ENTRY(epoll_wait)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_epoll_wait
|
ldr r7, =__NR_epoll_wait
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(eventfd)
|
ENTRY(eventfd)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_eventfd2
|
ldr r7, =__NR_eventfd2
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(execve)
|
ENTRY(execve)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_execve
|
ldr r7, =__NR_execve
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(faccessat)
|
ENTRY(faccessat)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_faccessat
|
ldr r7, =__NR_faccessat
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fchdir)
|
ENTRY(fchdir)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fchdir
|
ldr r7, =__NR_fchdir
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fchmod)
|
ENTRY(fchmod)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fchmod
|
ldr r7, =__NR_fchmod
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fchmodat)
|
ENTRY(fchmodat)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fchmodat
|
ldr r7, =__NR_fchmodat
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fchown)
|
ENTRY(fchown)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fchown32
|
ldr r7, =__NR_fchown32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fdatasync)
|
ENTRY(fdatasync)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fdatasync
|
ldr r7, =__NR_fdatasync
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fgetxattr)
|
ENTRY(fgetxattr)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fgetxattr
|
ldr r7, =__NR_fgetxattr
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(flistxattr)
|
ENTRY(flistxattr)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_flistxattr
|
ldr r7, =__NR_flistxattr
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(flock)
|
ENTRY(flock)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_flock
|
ldr r7, =__NR_flock
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fremovexattr)
|
ENTRY(fremovexattr)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fremovexattr
|
ldr r7, =__NR_fremovexattr
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fstat)
|
ENTRY(fstat)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fstat64
|
ldr r7, =__NR_fstat64
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fstatat)
|
ENTRY(fstatat)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fstatat64
|
ldr r7, =__NR_fstatat64
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(fsync)
|
ENTRY(fsync)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_fsync
|
ldr r7, =__NR_fsync
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(ftruncate)
|
ENTRY(ftruncate)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ftruncate
|
ldr r7, =__NR_ftruncate
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(ftruncate64)
|
ENTRY(ftruncate64)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ftruncate64
|
ldr r7, =__NR_ftruncate64
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getdents)
|
ENTRY(getdents)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getdents64
|
ldr r7, =__NR_getdents64
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getegid)
|
ENTRY(getegid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getegid32
|
ldr r7, =__NR_getegid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(geteuid)
|
ENTRY(geteuid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_geteuid32
|
ldr r7, =__NR_geteuid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getgid)
|
ENTRY(getgid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getgid32
|
ldr r7, =__NR_getgid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getgroups)
|
ENTRY(getgroups)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getgroups32
|
ldr r7, =__NR_getgroups32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getitimer)
|
ENTRY(getitimer)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getitimer
|
ldr r7, =__NR_getitimer
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getpeername)
|
ENTRY(getpeername)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getpeername
|
ldr r7, =__NR_getpeername
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getpgid)
|
ENTRY(getpgid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getpgid
|
ldr r7, =__NR_getpgid
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getpid)
|
ENTRY(getpid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getpid
|
ldr r7, =__NR_getpid
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getppid)
|
ENTRY(getppid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getppid
|
ldr r7, =__NR_getppid
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getresgid)
|
ENTRY(getresgid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getresgid32
|
ldr r7, =__NR_getresgid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getresuid)
|
ENTRY(getresuid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getresuid32
|
ldr r7, =__NR_getresuid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getrlimit)
|
ENTRY(getrlimit)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ugetrlimit
|
ldr r7, =__NR_ugetrlimit
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getrusage)
|
ENTRY(getrusage)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getrusage
|
ldr r7, =__NR_getrusage
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getsid)
|
ENTRY(getsid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getsid
|
ldr r7, =__NR_getsid
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getsockname)
|
ENTRY(getsockname)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getsockname
|
ldr r7, =__NR_getsockname
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(gettid)
|
ENTRY(gettid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_gettid
|
ldr r7, =__NR_gettid
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(gettimeofday)
|
ENTRY(gettimeofday)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_gettimeofday
|
ldr r7, =__NR_gettimeofday
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getuid)
|
ENTRY(getuid)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getuid32
|
ldr r7, =__NR_getuid32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(getxattr)
|
ENTRY(getxattr)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_getxattr
|
ldr r7, =__NR_getxattr
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(init_module)
|
ENTRY(init_module)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_init_module
|
ldr r7, =__NR_init_module
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(inotify_add_watch)
|
ENTRY(inotify_add_watch)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_inotify_add_watch
|
ldr r7, =__NR_inotify_add_watch
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(inotify_init)
|
ENTRY(inotify_init)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_inotify_init
|
ldr r7, =__NR_inotify_init
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(inotify_rm_watch)
|
ENTRY(inotify_rm_watch)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_inotify_rm_watch
|
ldr r7, =__NR_inotify_rm_watch
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(ioprio_get)
|
ENTRY(ioprio_get)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ioprio_get
|
ldr r7, =__NR_ioprio_get
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(ioprio_set)
|
ENTRY(ioprio_set)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_ioprio_set
|
ldr r7, =__NR_ioprio_set
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(klogctl)
|
ENTRY(klogctl)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_syslog
|
ldr r7, =__NR_syslog
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
#include <sys/linux-syscalls.h>
|
#include <sys/linux-syscalls.h>
|
||||||
|
|
||||||
ENTRY(lchown)
|
ENTRY(lchown)
|
||||||
.save {r4, r7}
|
mov ip, r7
|
||||||
stmfd sp!, {r4, r7}
|
|
||||||
ldr r7, =__NR_lchown32
|
ldr r7, =__NR_lchown32
|
||||||
swi #0
|
swi #0
|
||||||
ldmfd sp!, {r4, r7}
|
mov r7, ip
|
||||||
movs r0, r0
|
movs r0, r0
|
||||||
bxpl lr
|
bxpl lr
|
||||||
b __set_syscall_errno
|
b __set_syscall_errno
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue