blob: 52151a8f449118953fa96db11ff2b4cb81dd896d [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
Dan Albertbc9f9f22014-08-08 15:19:20 -07005 .hidden __set_errno
6
Elliott Hughes0f461e32014-01-09 10:17:03 -08007ENTRY(prlimit64)
8 movq %rcx, %r10
9 movl $__NR_prlimit64, %eax
10 syscall
11 cmpq $-MAX_ERRNO, %rax
12 jb 1f
13 negl %eax
14 movl %eax, %edi
Dan Albert3726f9c2014-08-08 15:15:29 -070015 call __set_errno
Elliott Hughes0f461e32014-01-09 10:17:03 -0800161:
17 ret
18END(prlimit64)
19
Elliott Hughes986f9062014-02-18 16:42:36 -080020 .globl prlimit
21 .equ prlimit, prlimit64