setrlimit on ia32
get/set resource limits
compat_sys_setrlimit(unsigned int resource, struct rlimit *rlim)
| number | 75 (0x4b) |
|---|---|
| abi | i386 |
| entry point | compat_sys_setrlimit |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | setrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 75, the syscall number |
ebx | unsigned int resource |
ecx | struct rlimit *rlim |
eax | the 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
- x64 160
- x86 75
- arm64 164
- arm 75
- riscv64 164
- x32 1073741984
- ppc64 75
- ppc 75
- s390x 75
- mips64 5155
- mipsn32 6155
- mipso32 4075
- alpha 145
- arc 164
- csky 164
- hexagon 164
- m68k 75
- microblaze 75
- nios2 164
- openrisc 164
- parisc 75
- sh 75
- sparc 145
- sparc64 145
- xtensa 188
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/setrlimit