syscall.sh / ppc64 / ugetrlimit
ugetrlimit
get/set resource limits
sys_getrlimit(unsigned int resource, struct rlimit *rlim)
| number | 190 (0xbe) |
|---|---|
| abi | common |
| entry point | sys_getrlimit |
| since | Linux 5.0 |
| man page | ugetrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 190, the syscall number |
r3 | unsigned int resource |
r4 | struct rlimit *rlim |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/ugetrlimit