blob: 2540a36a1057dd0d36fc6bb200b93fbf23fa324d [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 movl $__NR_setfsuid, %eax
9 syscall
10 cmpq $-MAX_ERRNO, %rax
11 jb 1f
12 negl %eax
13 movl %eax, %edi
Dan Albert3726f9c2014-08-08 15:15:29 -070014 call __set_errno
Elliott Hughes79310992014-07-30 15:05:09 -0700151:
16 ret
17END(setfsuid)