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