Sign in
android
/
platform
/
bionic
/
bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7
/
.
/
libc
/
arch-x86_64
/
syscalls
/
setuid.S
blob: 8da7d86fa91082cf233c32bc9adafe6630418763 [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY
(
setuid
)
movl
$
__NR_setuid
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call __set_errno
1
:
ret
END
(
setuid
)