1/* autogenerated by gensyscalls.py */
2#include <linux/err.h>
3#include <machine/asm.h>
4#include <asm/unistd.h>
5
6ENTRY(unshare)
7    pushl   %ebx
8    mov     8(%esp), %ebx
9    movl    $__NR_unshare, %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(unshare)
22