Elliott Hughes | 7931099 | 2014-07-30 15:05:09 -0700 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
2 | |||||
3 | #include <private/bionic_asm.h> | ||||
4 | |||||
5 | ENTRY(setfsuid) | ||||
6 | movl $__NR_setfsuid, %eax | ||||
7 | syscall | ||||
8 | cmpq $-MAX_ERRNO, %rax | ||||
9 | jb 1f | ||||
10 | negl %eax | ||||
11 | movl %eax, %edi | ||||
Elliott Hughes | 011e111 | 2014-09-08 15:25:01 -0700 | [diff] [blame] | 12 | call __set_errno_internal |
Elliott Hughes | 7931099 | 2014-07-30 15:05:09 -0700 | [diff] [blame] | 13 | 1: |
14 | ret | ||||
15 | END(setfsuid) |