syscall.sh / x86 / getrlimit

getrlimit

get/set resource limits

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

Registers

registervalue
eax76, 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/getrlimit