2014-01-02 21:05:50 +01:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
|
|
|
#include <private/bionic_asm.h>
|
|
|
|
|
|
|
|
ENTRY(setns)
|
|
|
|
mov ip, r7
|
2016-04-28 03:31:02 +02:00
|
|
|
.cfi_register r7, ip
|
2014-01-02 21:05:50 +01:00
|
|
|
ldr r7, =__NR_setns
|
|
|
|
swi #0
|
|
|
|
mov r7, ip
|
2016-04-28 03:31:02 +02:00
|
|
|
.cfi_restore r7
|
2014-01-02 21:05:50 +01:00
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
2014-09-09 00:25:01 +02:00
|
|
|
b __set_errno_internal
|
2014-01-02 21:05:50 +01:00
|
|
|
END(setns)
|