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