setxattr.S revision 103ccde8fe2f2c8abde914a8ba736b2e9cb8d20b
1/* Generated by gensyscalls.py. Do not edit. */ 2 3#include <asm/unistd.h> 4#include <linux/err.h> 5#include <machine/asm.h> 6 7ENTRY(setxattr) 8 movq %rcx, %r10 9 movl $__NR_setxattr, %eax 10 syscall 11 cmpq $-MAX_ERRNO, %rax 12 jb 1f 13 negl %eax 14 movl %eax, %edi 15 call __set_errno 16 orq $-1, %rax 171: 18 ret 19END(setxattr) 20