syscall.sh / x86 / setrlimit

setrlimit

get/set resource limits

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

Registers

registervalue
eax75, the syscall number
ebxunsigned int resource
ecxstruct rlimit *rlim
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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