Sign in
android
/
platform
/
bionic
/
512bc52
/
.
/
libc
/
arch-x86_64
/
syscalls
/
prctl.S
blob: 359e31dca4e78e1f850e8f09b419f35ce502a131 [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
ENTRY
(
prctl
)
movq
%rcx, %
r10
movl
$
__NR_prctl
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call PIC_PLT
(
__set_errno
)
1
:
ret
END
(
prctl
)