blob: 7a5120002daf941550eaceb8e5da5fa482468b03 [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(getgid)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08006 movl $__NR_getgid32, %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(getgid)