prlimit64 on tilepro
get/set resource limits
sys_prlimit64(pid_t pid, unsigned int resource, const struct rlimit64 *new_rlim, struct rlimit64 *old_rlim)
| number | 261 (0x105) |
|---|---|
| abi | common |
| entry point | sys_prlimit64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | prlimit64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 261, the syscall number |
r0 | pid_t pid |
r1 | unsigned int resource |
r2 | const struct rlimit64 *new_rlim |
r3 | struct rlimit64 *old_rlim |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 302
- x86 340
- arm64 261
- arm 369
- riscv64 261
- ia32 340
- x32 1073742126
- loongarch64 261
- ppc64 325
- ppc 325
- s390x 334
- mips64 5297
- mipsn32 6302
- mipso32 4338
- alpha 496
- arc 261
- blackfin 373, removed in 4.17
- cris 344, removed in 4.17
- csky 261
- hexagon 261
- ia64 1325, removed in 6.7
- m68k 339
- metag 261, removed in 4.17
- microblaze 370
- nds32 261, removed in 5.18
- nios2 261
- openrisc 261
- parisc 321
- score 261, removed in 4.17
- sh 339
- sparc 331
- sparc64 331
- tilegx 261, removed in 4.17
- xtensa 330
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/prlimit64?kernel=all