blob: 393a5c18660c7a4aa3d963df0ff605491a5f66f8 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(setrlimit)
movl $__NR_setrlimit, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(setrlimit)
.globl setrlimit64
.equ setrlimit64, setrlimit