fsetxattr.S revision e4ffd9f2341f42c9281b4a93df76768580535edd
1/* autogenerated by gensyscalls.py */
2#include <asm/unistd.h>
3#include <linux/err.h>
4#include <machine/asm.h>
5
6ENTRY(fsetxattr)
7    pushl   %ebx
8    pushl   %ecx
9    pushl   %edx
10    pushl   %esi
11    pushl   %edi
12    mov     24(%esp), %ebx
13    mov     28(%esp), %ecx
14    mov     32(%esp), %edx
15    mov     36(%esp), %esi
16    mov     40(%esp), %edi
17    movl    $__NR_fsetxattr, %eax
18    int     $0x80
19    cmpl    $-MAX_ERRNO, %eax
20    jb      1f
21    negl    %eax
22    pushl   %eax
23    call    __set_errno
24    addl    $4, %esp
25    orl     $-1, %eax
261:
27    popl    %edi
28    popl    %esi
29    popl    %edx
30    popl    %ecx
31    popl    %ebx
32    ret
33END(fsetxattr)
34