blob: e8fd3f5859691b85cf28fd0bf9013f75a3f2977d [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughesed744842013-11-07 10:31:05 -08003#include <private/bionic_asm.h>
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07004
Nick Kralevich35778252015-02-24 13:40:43 -08005ENTRY(___faccessat)
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07006 movl $__NR_faccessat, %eax
7 syscall
8 cmpq $-MAX_ERRNO, %rax
9 jb 1f
10 negl %eax
11 movl %eax, %edi
Elliott Hughes011e1112014-09-08 15:25:01 -070012 call __set_errno_internal
Elliott Hughese4ffd9f2013-10-01 13:29:43 -0700131:
14 ret
Nick Kralevich35778252015-02-24 13:40:43 -080015END(___faccessat)
16.hidden ___faccessat