blob: a7761e80a48455906ae79d040e4a32857b78d31e [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/* autogenerated by gensyscalls.py */
Elliott Hughes7582a9c2013-02-06 17:08:15 -08002#include <machine/asm.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08003#include <sys/linux-syscalls.h>
4
Elliott Hughes7582a9c2013-02-06 17:08:15 -08005ENTRY(geteuid)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08006 movl $__NR_geteuid32, %eax
7 int $0x80
8 cmpl $-129, %eax
9 jb 1f
10 negl %eax
11 pushl %eax
12 call __set_errno
13 addl $4, %esp
14 orl $-1, %eax
151:
16 ret
Elliott Hughes7582a9c2013-02-06 17:08:15 -080017END(geteuid)