blob: abcf0b3bd476d659d48d37213371a75177a6103f [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
Dan Alberte35fd482014-08-08 15:19:20 -07005 .hidden __set_errno
6
Elliott Hughes4f764692014-07-30 15:05:09 -07007ENTRY(setfsuid)
8 pushl %ebx
9 .cfi_def_cfa_offset 8
10 .cfi_rel_offset ebx, 0
11 mov 8(%esp), %ebx
12 movl $__NR_setfsuid, %eax
13 int $0x80
14 cmpl $-MAX_ERRNO, %eax
15 jb 1f
16 negl %eax
17 pushl %eax
18 call __set_errno
19 addl $4, %esp
201:
21 popl %ebx
22 ret
23END(setfsuid)