blob: f489d406ab958f05aeca40fcb5742d46e18856b8 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/* autogenerated by gensyscalls.py */
2#include <sys/linux-syscalls.h>
3
4 .text
5 .type getresuid, @function
6 .globl getresuid
7 .align 4
8
9getresuid:
Jack Ren41070dd2012-04-17 11:16:18 +080010 pushl %ebx
11 pushl %ecx
12 pushl %edx
13 mov 16(%esp), %ebx
14 mov 20(%esp), %ecx
15 mov 24(%esp), %edx
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080016 movl $__NR_getresuid32, %eax
17 int $0x80
18 cmpl $-129, %eax
19 jb 1f
20 negl %eax
21 pushl %eax
22 call __set_errno
23 addl $4, %esp
24 orl $-1, %eax
251:
Jack Ren41070dd2012-04-17 11:16:18 +080026 popl %edx
27 popl %ecx
28 popl %ebx
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029 ret