blob: dc81f722768a0ab21540bc1089664a90c7886f9e [file] [log] [blame]
Elliott Hughes4f764692014-07-30 15:05:09 -07001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
Elliott Hughes4f764692014-07-30 15:05:09 -07005ENTRY(setfsgid)
6 pushl %ebx
7 .cfi_def_cfa_offset 8
8 .cfi_rel_offset ebx, 0
9 mov 8(%esp), %ebx
10 movl $__NR_setfsgid, %eax
11 int $0x80
12 cmpl $-MAX_ERRNO, %eax
13 jb 1f
14 negl %eax
15 pushl %eax
Elliott Hughes7efad832014-09-08 15:25:01 -070016 call __set_errno_internal
Elliott Hughes4f764692014-07-30 15:05:09 -070017 addl $4, %esp
181:
19 popl %ebx
20 ret
21END(setfsgid)