2013-10-16 21:27:59 +00:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 18:31:05 +00:00
|
|
|
#include <private/bionic_asm.h>
|
2009-03-04 03:28:35 +00:00
|
|
|
|
2013-02-07 01:08:15 +00:00
|
|
|
ENTRY(getuid)
|
2009-03-04 03:28:35 +00:00
|
|
|
movl $__NR_getuid32, %eax
|
|
|
|
int $0x80
|
2013-03-12 21:57:30 +00:00
|
|
|
cmpl $-MAX_ERRNO, %eax
|
2009-03-04 03:28:35 +00:00
|
|
|
jb 1f
|
|
|
|
negl %eax
|
|
|
|
pushl %eax
|
2014-09-08 22:25:01 +00:00
|
|
|
call __set_errno_internal
|
2009-03-04 03:28:35 +00:00
|
|
|
addl $4, %esp
|
|
|
|
1:
|
|
|
|
ret
|
2013-02-07 01:08:15 +00:00
|
|
|
END(getuid)
|