setrlimit on mn10300
get/set resource limits
sys_setrlimit(unsigned int resource, struct rlimit *rlim)
| number | 75 (0x4b) |
|---|---|
| abi | common |
| entry point | sys_setrlimit |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | setrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 75, the syscall number |
a0 | unsigned int resource |
d1 | struct rlimit *rlim |
d0 | the return value |
Then run syscall 0 to enter the kernel.
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
- 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
- tilepro 164, removed in 4.17
- xtensa 188
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/setrlimit?kernel=all