blob: f7f561b575b6f33bc0729330a2520046838cd12d [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 1f
negl %eax
movl %eax, %edi
call __set_errno
orq $-1, %rax
1:
ret
END(prctl)