1 /* Generated by gensyscalls.py. Do not edit. */ 2 3 #include <private/bionic_asm.h> 4 5 ENTRY(setrlimit) 6 mov x8, __NR_setrlimit 7 svc #0 8 9 cmn x0, #(MAX_ERRNO + 1) 10 cneg x0, x0, hi 11 b.hi __set_errno_internal 12 13 ret 14 END(setrlimit) 15 16 .globl setrlimit64 17 .equ setrlimit64, setrlimit 18