chroot.S revision e35fd48a832cddbedcf84773fd1922f735ae7829
1/* Generated by gensyscalls.py. Do not edit. */ 2 3#include <private/bionic_asm.h> 4 5 .hidden __set_errno 6 7ENTRY(chroot) 8 pushl %ebx 9 .cfi_def_cfa_offset 8 10 .cfi_rel_offset ebx, 0 11 mov 8(%esp), %ebx 12 movl $__NR_chroot, %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 201: 21 popl %ebx 22 ret 23END(chroot) 24