Elliott Hughes | 0f461e3 | 2014-01-09 10:17:03 -0800 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
| 2 | |
| 3 | #include <private/bionic_asm.h> |
| 4 | |
| 5 | ENTRY(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 Hughes | 7efad83 | 2014-09-08 15:25:01 -0700 | [diff] [blame] | 13 | call __set_errno_internal |
Elliott Hughes | 0f461e3 | 2014-01-09 10:17:03 -0800 | [diff] [blame] | 14 | 1: |
| 15 | ret |
| 16 | END(prlimit64) |
| 17 | |
Elliott Hughes | 986f906 | 2014-02-18 16:42:36 -0800 | [diff] [blame] | 18 | .globl prlimit |
| 19 | .equ prlimit, prlimit64 |