listen.S revision 7582a9c119a4e4d0c306996b2513205889a9fb6c
1/* autogenerated by gensyscalls.py */ 2#include <machine/asm.h> 3#include <sys/linux-syscalls.h> 4 5ENTRY(listen) 6 pushl %ebx 7 pushl %ecx 8 mov $4, %ebx 9 mov %esp, %ecx 10 addl $12, %ecx 11 movl $__NR_socketcall, %eax 12 int $0x80 13 cmpl $-129, %eax 14 jb 1f 15 negl %eax 16 pushl %eax 17 call __set_errno 18 addl $4, %esp 19 orl $-1, %eax 201: 21 popl %ecx 22 popl %ebx 23 ret 24END(listen) 25