setrlimit on tilepro
get/set resource limits
sys_setrlimit(unsigned int resource, struct rlimit *rlim)
| number | 164 (0xa4) |
|---|---|
| abi | common |
| entry point | sys_setrlimit |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | setrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 164, the syscall number |
r0 | unsigned int resource |
r1 | struct rlimit *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 160
- x86 75
- arm64 164
- arm 75
- riscv64 164
- ia32 75
- x32 1073741984
- ppc64 75
- ppc 75
- s390x 75
- mips64 5155
- mipsn32 6155
- mipso32 4075
- alpha 145
- arc 164
- blackfin 75, removed in 4.17
- cris 75, removed in 4.17
- csky 164
- frv 75, removed in 4.17
- hexagon 164
- ia64 1084, removed in 6.7
- m32r 75, removed in 4.17
- m68k 75
- metag 164, removed in 4.17
- microblaze 75
- mn10300 75, removed in 4.17
- nds32 164, removed in 5.18
- nios2 164
- openrisc 164
- parisc 75
- score 164, removed in 4.17
- sh 75
- sparc 145
- sparc64 145
- tilegx 164, removed in 4.17
- xtensa 188
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/setrlimit?kernel=all