syscall.sh / sparc64 / getrlimit
getrlimit
get/set resource limits
sys_getrlimit(unsigned int resource, struct rlimit *rlim)
| number | 144 (0x90) |
|---|---|
| abi | common |
| entry point | sys_getrlimit |
| since | Linux 5.0 |
| man page | getrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 144, the syscall number |
o0 | unsigned int resource |
o1 | struct rlimit *rlim |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 97
- x86 76
- arm64 163
- riscv64 163
- x32 1073741921
- ppc 76
- s390x 191
- mips64 5095
- mipsn32 6095
- mipso32 4076
- alpha 144
- arc 163
- csky 163
- hexagon 163
- m68k 76
- nios2 163
- openrisc 163
- parisc 76
- sh 76
- sparc 144
- xtensa 189
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/getrlimit