syscall.sh / sparc64 / utrap_install
utrap_install
sys_utrap_install(utrap_entry_t type, utrap_handler_t new_p, utrap_handler_t new_d, utrap_handler_t *old_p, utrap_handler_t *old_d)
| number | 164 (0xa4) |
|---|---|
| abi | 64 |
| entry point | sys_utrap_install |
| since | Linux 5.0 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 164, the syscall number |
o0 | utrap_entry_t type |
o1 | utrap_handler_t new_p |
o2 | utrap_handler_t new_d |
o3 | utrap_handler_t *old_p |
o4 | utrap_handler_t *old_d |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/utrap_install