getrlimit on ia32
get/set resource limits
compat_sys_old_getrlimit(unsigned int resource, struct rlimit *rlim)
| number | 76 (0x4c) |
|---|---|
| abi | i386 |
| entry point | compat_sys_old_getrlimit |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | getrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 76, 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 97
- x86 76
- arm64 163
- riscv64 163
- x32 1073741921
- ppc 76
- s390x 191
- mips64 5095
- mipsn32 6095
- mipso32 4076
- alpha 144
- arc 163
- csky 163
- hexagon 163
- m68k 76
- nios2 163
- openrisc 163
- parisc 76
- sh 76
- sparc 144
- sparc64 144
- xtensa 189
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/getrlimit