syscall.sh / m68k / 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 5.0 |
| man page | ugetrlimit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 191, the syscall number |
d1 | unsigned int resource |
d2 | struct rlimit *rlim |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/ugetrlimit