1103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes/* Generated by gensyscalls.py. Do not edit. */
2103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes
3ed74484dcbc2e156a6e5fa861a62425b12e55128Elliott Hughes#include <private/bionic_asm.h>
45eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley
57582a9c119a4e4d0c306996b2513205889a9fb6cElliott HughesENTRY(removexattr)
65eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    pushl   %ebx
7e4bc7561219ddb7cfb7b33f731caa92a7766b9caChristopher Ferris    .cfi_def_cfa_offset 8
8e4bc7561219ddb7cfb7b33f731caa92a7766b9caChristopher Ferris    .cfi_rel_offset ebx, 0
915b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    pushl   %ecx
1015b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_adjust_cfa_offset 4
1115b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_rel_offset ecx, 0
125eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    mov     12(%esp), %ebx
135eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    mov     16(%esp), %ecx
145eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    movl    $__NR_removexattr, %eax
155eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    int     $0x80
169aceab50155b17741faded1fb22e2daa51a07fb1Elliott Hughes    cmpl    $-MAX_ERRNO, %eax
175eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    jb      1f
185eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    negl    %eax
195eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    pushl   %eax
207efad83d430f4d824f2aaa75edea5106f6ff8aaeElliott Hughes    call    __set_errno_internal
215eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    addl    $4, %esp
225eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley1:
235eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    popl    %ecx
245eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    popl    %ebx
255eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    ret
267582a9c119a4e4d0c306996b2513205889a9fb6cElliott HughesEND(removexattr)
27