1103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes/* Generated by gensyscalls.py. Do not edit. */
2103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes
3ed74484dcbc2e156a6e5fa861a62425b12e55128Elliott Hughes#include <private/bionic_asm.h>
45eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley
57582a9c119a4e4d0c306996b2513205889a9fb6cElliott HughesENTRY(getxattr)
65eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    pushl   %ebx
715b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_def_cfa_offset 8
815b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_rel_offset ebx, 0
95eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    pushl   %ecx
1015b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_adjust_cfa_offset 4
1115b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_rel_offset ecx, 0
125eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    pushl   %edx
1315b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_adjust_cfa_offset 4
1415b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_rel_offset edx, 0
155eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    pushl   %esi
1615b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_adjust_cfa_offset 4
1715b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris    .cfi_rel_offset esi, 0
185eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    mov     20(%esp), %ebx
195eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    mov     24(%esp), %ecx
205eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    mov     28(%esp), %edx
215eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    mov     32(%esp), %esi
225eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    movl    $__NR_getxattr, %eax
235eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    int     $0x80
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    %esi
325eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    popl    %edx
335eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    popl    %ecx
345eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    popl    %ebx
355eb686d105ebd7cea332fd1ef0bb3af9386e19f7Stephen Smalley    ret
367582a9c119a4e4d0c306996b2513205889a9fb6cElliott HughesEND(getxattr)
37