2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2012-12-12 10:18:50 +01:00
|
|
|
|
2013-10-04 23:55:30 +02:00
|
|
|
ENTRY(__arch_prctl)
|
2012-12-12 10:18:50 +01:00
|
|
|
movl $__NR_arch_prctl, %eax
|
|
|
|
syscall
|
|
|
|
cmpq $-MAX_ERRNO, %rax
|
|
|
|
jb 1f
|
|
|
|
negl %eax
|
|
|
|
movl %eax, %edi
|
|
|
|
call __set_errno
|
|
|
|
orq $-1, %rax
|
|
|
|
1:
|
|
|
|
ret
|
2013-10-04 23:55:30 +02:00
|
|
|
END(__arch_prctl)
|
2014-02-20 03:59:19 +01:00
|
|
|
.hidden __arch_prctl
|