The Android Open Source Project | a27d2ba | 2008-10-21 07:00:00 -0700 | [diff] [blame^] | 1 | /* autogenerated by gensyscalls.py */ |
2 | #include <sys/linux-syscalls.h> | ||||
3 | |||||
4 | .text | ||||
5 | .type getuid, @function | ||||
6 | .globl getuid | ||||
7 | .align 4 | ||||
8 | |||||
9 | getuid: | ||||
10 | movl $__NR_getuid32, %eax | ||||
11 | int $0x80 | ||||
12 | cmpl $-129, %eax | ||||
13 | jb 1f | ||||
14 | negl %eax | ||||
15 | pushl %eax | ||||
16 | call __set_errno | ||||
17 | addl $4, %esp | ||||
18 | orl $-1, %eax | ||||
19 | 1: | ||||
20 | ret |