prlimit64 on ia32

get/set resource limits

sys_prlimit64(pid_t pid, unsigned int resource, const struct rlimit64 *new_rlim, struct rlimit64 *old_rlim)
number340 (0x154)
abii386
entry pointsys_prlimit64
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man pageprlimit64(2)
sourceelixir.bootlin.com

Registers

registervalue
eax340, the syscall number
ebxpid_t pid
ecxunsigned int resource
edxconst struct rlimit64 *new_rlim
esistruct rlimit64 *old_rlim
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/prlimit64