blob: 63ec492dd1a5ec0b98c9ae3110f1f6a59d647bc1 [file] [log] [blame]
Elliott Hughes0f461e32014-01-09 10:17:03 -08001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(prlimit64)
6 movq %rcx, %r10
7 movl $__NR_prlimit64, %eax
8 syscall
9 cmpq $-MAX_ERRNO, %rax
10 jb 1f
11 negl %eax
12 movl %eax, %edi
Elliott Hughes7efad832014-09-08 15:25:01 -070013 call __set_errno_internal
Elliott Hughes0f461e32014-01-09 10:17:03 -0800141:
15 ret
16END(prlimit64)
17
Elliott Hughes986f9062014-02-18 16:42:36 -080018 .globl prlimit
19 .equ prlimit, prlimit64