summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/syscalls
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2012-01-17 11:45:25 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-17 11:45:25 -0800
commit06f51ba1af2fafeec7fdfcba5d635bd001a31b3e (patch)
treef8221ac70c84c7708a97e9963aa772e83f11923f /libc/arch-arm/syscalls
parent82c4be54da0825ebe74b524932c9db733419057a (diff)
parentf44de270bba32c9b1b5eff8a34be07b10ddff238 (diff)
downloadbionic-06f51ba1af2fafeec7fdfcba5d635bd001a31b3e.zip
bionic-06f51ba1af2fafeec7fdfcba5d635bd001a31b3e.tar.gz
bionic-06f51ba1af2fafeec7fdfcba5d635bd001a31b3e.tar.bz2
am f44de270: add personality() system call.
* commit 'f44de270bba32c9b1b5eff8a34be07b10ddff238': add personality() system call.
Diffstat (limited to 'libc/arch-arm/syscalls')
-rw-r--r--libc/arch-arm/syscalls/personality.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/arch-arm/syscalls/personality.S b/libc/arch-arm/syscalls/personality.S
new file mode 100644
index 0000000..17ac686
--- /dev/null
+++ b/libc/arch-arm/syscalls/personality.S
@@ -0,0 +1,14 @@
+/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
+#include <sys/linux-syscalls.h>
+
+ENTRY(personality)
+ .save {r4, r7}
+ stmfd sp!, {r4, r7}
+ ldr r7, =__NR_personality
+ swi #0
+ ldmfd sp!, {r4, r7}
+ movs r0, r0
+ bxpl lr
+ b __set_syscall_errno
+END(personality)