syscall.sh / x86 / ugetrlimit

ugetrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number191 (0xbf)
abii386
entry pointsys_getrlimit
sinceLinux 3.3
man pageugetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
eax191, 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/ugetrlimit