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 | pushl %ebx | ||||
7 | pushl %ecx | ||||
8 | pushl %edx | ||||
9 | pushl %esi | ||||
10 | .cfi_def_cfa_offset 16 | ||||
11 | .cfi_rel_offset ebx, 0 | ||||
12 | .cfi_rel_offset ecx, 4 | ||||
13 | .cfi_rel_offset edx, 8 | ||||
14 | .cfi_rel_offset esi, 12 | ||||
15 | mov 20(%esp), %ebx | ||||
16 | mov 24(%esp), %ecx | ||||
17 | mov 28(%esp), %edx | ||||
18 | mov 32(%esp), %esi | ||||
19 | movl $__NR_prlimit64, %eax | ||||
20 | int $0x80 | ||||
21 | cmpl $-MAX_ERRNO, %eax | ||||
22 | jb 1f | ||||
23 | negl %eax | ||||
24 | pushl %eax | ||||
25 | call __set_errno | ||||
26 | addl $4, %esp | ||||
27 | orl $-1, %eax | ||||
28 | 1: | ||||
29 | popl %esi | ||||
30 | popl %edx | ||||
31 | popl %ecx | ||||
32 | popl %ebx | ||||
33 | ret | ||||
34 | END(prlimit64) |