syscall.sh / mipso32 / prlimit64
prlimit64
get/set resource limits
sys_prlimit64(pid_t pid, unsigned int resource, const struct rlimit64 *new_rlim, struct rlimit64 *old_rlim)
| number | 4338 (0x10f2) |
|---|---|
| abi | o32 |
| entry point | sys_prlimit64 |
| since | Linux 5.0 |
| man page | prlimit64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4338, the syscall number |
a0 | pid_t pid |
a1 | unsigned int resource |
a2 | const struct rlimit64 *new_rlim |
a3 | struct rlimit64 *old_rlim |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 302
- x86 340
- arm64 261
- arm 369
- riscv64 261
- x32 1073742126
- loongarch64 261
- ppc64 325
- ppc 325
- s390x 334
- mips64 5297
- mipsn32 6302
- alpha 496
- arc 261
- csky 261
- hexagon 261
- m68k 339
- microblaze 370
- nios2 261
- openrisc 261
- parisc 321
- sh 339
- sparc 331
- sparc64 331
- xtensa 330
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/prlimit64