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