blob: 334562813854946a1eb3bdfbf972f6a1a088c5c3 [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
5ENTRY(setfsuid)
6 movl $__NR_setfsuid, %eax
7 syscall
8 cmpq $-MAX_ERRNO, %rax
9 jb 1f
10 negl %eax
11 movl %eax, %edi
Dan Albert512bc522014-08-07 10:46:42 -070012 call PIC_PLT(__set_errno)
Elliott Hughes79310992014-07-30 15:05:09 -0700131:
14 ret
15END(setfsuid)