syscall.sh / xtensa / setrlimit
setrlimit
get/set resource limits
sys_setrlimit(unsigned int resource, struct rlimit *rlim)
| number | 188 (0xbc) |
|---|---|
| abi | common |
| entry point | sys_setrlimit |
| since | Linux 5.0 |
| man page | setrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 188, the syscall number |
a6 | unsigned int resource |
a3 | struct rlimit *rlim |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 160
- x86 75
- arm64 164
- arm 75
- riscv64 164
- x32 1073741984
- ppc64 75
- ppc 75
- s390x 75
- mips64 5155
- mipsn32 6155
- mipso32 4075
- alpha 145
- arc 164
- csky 164
- hexagon 164
- m68k 75
- microblaze 75
- nios2 164
- openrisc 164
- parisc 75
- sh 75
- sparc 145
- sparc64 145
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/setrlimit