1103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes/* Generated by gensyscalls.py. Do not edit. */
2103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes
3ed74484dcbc2e156a6e5fa861a62425b12e55128Elliott Hughes#include <private/bionic_asm.h>
45eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley
57582a9c119a4e4d0c306996b2513205889a9fb6cElliott HughesENTRY(fremovexattr)
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
129ce09e423f24823d52f19ab8247e078977100132Mingwei Shi
139ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    call    __kernel_syscall
149ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    pushl   %eax
159ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    .cfi_adjust_cfa_offset 4
169ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    .cfi_rel_offset eax, 0
179ce09e423f24823d52f19ab8247e078977100132Mingwei Shi
189ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    mov     16(%esp), %ebx
199ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    mov     20(%esp), %ecx
205eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    movl    $__NR_fremovexattr, %eax
219ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    call    *(%esp)
229ce09e423f24823d52f19ab8247e078977100132Mingwei Shi    addl    $4, %esp
239ce09e423f24823d52f19ab8247e078977100132Mingwei Shi
249aceab50155b17741faded1fb22e2daa51a07fb1Elliott Hughes    cmpl    $-MAX_ERRNO, %eax
255eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    jb      1f
265eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    negl    %eax
275eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    pushl   %eax
287efad83d430f4d824f2aaa75edea5106f6ff8aaeElliott Hughes    call    __set_errno_internal
295eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    addl    $4, %esp
305eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley1:
315eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    popl    %ecx
325eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    popl    %ebx
335eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    ret
347582a9c119a4e4d0c306996b2513205889a9fb6cElliott HughesEND(fremovexattr)
35