uname.S revision 9aceab50155b17741faded1fb22e2daa51a07fb1
1/* autogenerated by gensyscalls.py */
2#include <linux/err.h>
3#include <machine/asm.h>
4#include <sys/linux-syscalls.h>
5
6ENTRY(uname)
7    pushl   %ebx
8    mov     8(%esp), %ebx
9    movl    $__NR_uname, %eax
10    int     $0x80
11    cmpl    $-MAX_ERRNO, %eax
12    jb      1f
13    negl    %eax
14    pushl   %eax
15    call    __set_errno
16    addl    $4, %esp
17    orl     $-1, %eax
181:
19    popl    %ebx
20    ret
21END(uname)
22