bionic/libc/arch-x86_64/syscalls/setfsuid.S
Elliott Hughes 4f76469e88 Implement <sys/fsuid.h>.
(cherry picked from commit 79310994d2)

Change-Id: I47688273691e5c95e5e9302eba254ccaaaad40ca
2014-07-30 16:18:03 -07:00

16 lines
277 B
ArmAsm

/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(setfsuid)
movl $__NR_setfsuid, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(setfsuid)