am 3323628d: Merge "The SYS_ constants should cover all __NR_ values."

* commit '3323628d635d3973965ee458c1fee7d8ab45136f':
  The SYS_ constants should cover all __NR_ values.
This commit is contained in:
Elliott Hughes 2013-03-21 22:53:44 -07:00 committed by Android Git Automerger
commit 5686bb3003
413 changed files with 1499 additions and 914 deletions

View File

@ -25,6 +25,11 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <linux/err.h>
#include <asm/unistd.h>
#include <machine/asm.h>
/* unlike our auto-generated syscall stubs, this code saves lr
on the stack, as well as a few other registers. this makes
our stack unwinder happy, when we generate debug stack
@ -33,14 +38,6 @@
of a corrupted malloc heap).
*/
#include <linux/err.h>
#include <sys/linux-syscalls.h>
#include <machine/asm.h>
#ifndef __NR_kill
#define __NR_kill 37
#endif
ENTRY(kill)
stmfd sp!, {r4-r7, ip, lr}
ldr r7, =__NR_kill

View File

@ -25,6 +25,11 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <linux/err.h>
#include <asm/unistd.h>
#include <machine/asm.h>
/* unlike our auto-generated syscall stubs, this code saves lr
on the stack, as well as a few other registers. this makes
our stack unwinder happy, when we generate debug stack
@ -33,14 +38,6 @@
of a corrupted malloc heap).
*/
#include <linux/err.h>
#include <sys/linux-syscalls.h>
#include <machine/asm.h>
#ifndef __NR_tgkill
#define __NR_tgkill 268
#endif
ENTRY(tgkill)
stmfd sp!, {r4-r7, ip, lr}
ldr r7, =__NR_tgkill

View File

@ -25,6 +25,11 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <linux/err.h>
#include <asm/unistd.h>
#include <machine/asm.h>
/* unlike our auto-generated syscall stubs, this code saves lr
on the stack, as well as a few other registers. this makes
our stack unwinder happy, when we generate debug stack
@ -33,14 +38,6 @@
of a corrupted malloc heap).
*/
#include <linux/err.h>
#include <sys/linux-syscalls.h>
#include <machine/asm.h>
#ifndef __NR_tkill
#define __NR_tkill 238
#endif
ENTRY(tkill)
stmfd sp!, {r4-r7, ip, lr}
ldr r7, =__NR_tkill

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __brk
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __fcntl
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __fcntl64
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __fork
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __fstatfs64
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __getcpu
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __getcwd
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __getpriority
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __ioctl
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __llseek
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __mmap2
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __open
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __openat
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __ptrace
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __reboot
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __rt_sigaction
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __rt_sigprocmask
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __rt_sigtimedwait
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __sched_getaffinity
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __set_thread_area
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __setresuid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __setreuid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __setuid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __sigsuspend
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __statfs64
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __sys_clone
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __syslog
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __timer_create
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __timer_delete
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __timer_getoverrun
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __timer_gettime
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __timer_settime
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl __waitid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl _exit
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl _exit_thread
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl _flush_cache
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl _waitpid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl accept
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl access
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl acct
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl bind
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl capget
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl capset
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl chdir
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl chmod
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl chown
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl chroot
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl clock_getres
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl clock_gettime
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl clock_nanosleep
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl clock_settime
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl close
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl connect
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl delete_module
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl dup
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl dup2
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl epoll_create
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl epoll_ctl
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl epoll_wait
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl eventfd
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl execve
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl faccessat
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fchdir
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fchmod
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fchmodat
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fchown
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fchownat
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fdatasync
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fgetxattr
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl flistxattr
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl flock
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fremovexattr
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fsetxattr
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fstat
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fstatat
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl fsync
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl ftruncate
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl ftruncate64
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl futex
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getdents
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getegid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl geteuid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getgid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getgroups
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getitimer
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getpeername
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getpgid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getpid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getppid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getresgid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getresuid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getrlimit
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getrusage
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getsid
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getsockname
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl getsockopt
.align 4

View File

@ -1,5 +1,5 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
#include <asm/unistd.h>
.text
.globl gettid
.align 4

Some files were not shown because too many files have changed in this diff Show More