syscall.sh / m68k / setrlimit

setrlimit

get/set resource limits

sys_setrlimit(unsigned int resource, struct rlimit *rlim)
number75 (0x4b)
abicommon
entry pointsys_setrlimit
sinceLinux 5.0
man pagesetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
d075, 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/setrlimit