blob: abcf0b3bd476d659d48d37213371a75177a6103f [file] [log] [blame]
Elliott Hughes79310992014-07-30 15:05:09 -07001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
Dan Albertbc9f9f22014-08-08 15:19:20 -07005 .hidden __set_errno
6
Elliott Hughes79310992014-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
Dan Albert3726f9c2014-08-08 15:15:29 -070018 call __set_errno
Elliott Hughes79310992014-07-30 15:05:09 -070019 addl $4, %esp
201:
21 popl %ebx
22 ret
23END(setfsuid)