Home | History | Annotate | Download | only in syscalls
      1 /* Generated by gensyscalls.py. Do not edit. */
      2 
      3 #include <private/bionic_asm.h>
      4 
      5 ENTRY(setsid)
      6     movl    $__NR_setsid, %eax
      7     int     $0x80
      8     cmpl    $-MAX_ERRNO, %eax
      9     jb      1f
     10     negl    %eax
     11     pushl   %eax
     12     call    __set_errno_internal
     13     addl    $4, %esp
     14 1:
     15     ret
     16 END(setsid)
     17