syscall.sh / mips64 / set_thread_area
set_thread_area
manipulate thread-local storage information
sys_set_thread_area(unsigned long addr)
| number | 5242 (0x147a) |
|---|---|
| abi | n64 |
| entry point | sys_set_thread_area |
| since | Linux 5.0 |
| man page | set_thread_area(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5242, the syscall number |
a0 | unsigned long addr |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/set_thread_area