1 /* Generated by gensyscalls.py. Do not edit. */ 2 3 #include <private/bionic_asm.h> 4 5 ENTRY(setrlimit) 6 movl $__NR_setrlimit, %eax 7 syscall 8 cmpq $-MAX_ERRNO, %rax 9 jb 1f 10 negl %eax 11 movl %eax, %edi 12 call __set_errno_internal 13 1: 14 ret 15 END(setrlimit) 16 17 .globl setrlimit64 18 .equ setrlimit64, setrlimit 19