syscall.sh / m68k / set_thread_area
set_thread_area
manipulate thread-local storage information
sys_set_thread_area(unsigned long tp)
| number | 334 (0x14e) |
|---|---|
| abi | common |
| entry point | sys_set_thread_area |
| since | Linux 5.0 |
| man page | set_thread_area(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 334, the syscall number |
d1 | unsigned long tp |
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/set_thread_area