syscall.sh / m68k / getrlimit

getrlimit

get/set resource limits

sys_old_getrlimit(unsigned int resource, struct rlimit *rlim)
number76 (0x4c)
abicommon
entry pointsys_old_getrlimit
sinceLinux 5.0
man pagegetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
d076, the syscall number
d1unsigned int resource
d2struct rlimit *rlim
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/getrlimit