bionic/libc/arch-arm/syscalls/unshare.S
Jeff Sharkey e36c826f7a Add unshare() syscall.
(cherry-pick of 5467f25f82934d611c60f8bc57a05114f3c1bea0.)

Bug: 6925012
Change-Id: Ic5ea2fbd606311087de05d7a3594df2fa9b2fef9
2012-08-10 12:57:43 -07:00

15 lines
308 B
ArmAsm

/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
ENTRY(unshare)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_unshare
swi #0
ldmfd sp!, {r4, r7}
movs r0, r0
bxpl lr
b __set_syscall_errno
END(unshare)