syscall.sh / sh / set_tid_address

set_tid_address

set pointer to thread ID

sys_set_tid_address(int *tidptr)
number258 (0x102)
abicommon
entry pointsys_set_tid_address
sinceLinux 5.0
man pageset_tid_address(2)
sourceelixir.bootlin.com

Registers

registervalue
r3258, the syscall number
r4int *tidptr
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/set_tid_address