syscall.sh / microblaze / ugetrlimit

ugetrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number191 (0xbf)
abicommon
entry pointsys_getrlimit
sinceLinux 5.0
man pageugetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
r12191, the syscall number
r5unsigned int resource
r6struct rlimit *rlim
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/ugetrlimit