syscall.sh / sparc64 / setrlimit

setrlimit

get/set resource limits

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

Registers

registervalue
g1145, the syscall number
o0unsigned int resource
o1struct rlimit *rlim
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/setrlimit