syscall.sh / csky / set_thread_area

set_thread_area

manipulate thread-local storage information

sys_set_thread_area(unsigned long addr)
number244 (0xf4)
abicsky
entry pointsys_set_thread_area
sinceLinux 4.20
man pageset_thread_area(2)
sourceelixir.bootlin.com

Registers

registervalue
r7244, the syscall number
a0unsigned long addr
a0the 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/csky/set_thread_area