syscall.sh / alpha / set_tid_address
set_tid_address
set pointer to thread ID
sys_set_tid_address(int *tidptr)
| number | 411 (0x19b) |
|---|---|
| abi | common |
| entry point | sys_set_tid_address |
| since | Linux 5.0 |
| man page | set_tid_address(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 411, the syscall number |
a0 | int *tidptr |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
- x64 218
- x86 258
- arm64 96
- arm 256
- riscv64 96
- x32 1073742042
- loongarch64 96
- ppc64 232
- ppc 232
- s390x 252
- mips64 5212
- mipsn32 6213
- mipso32 4252
- arc 96
- csky 96
- hexagon 96
- m68k 253
- microblaze 258
- nios2 96
- openrisc 96
- parisc 237
- sh 258
- sparc 166
- sparc64 166
- xtensa 126
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/set_tid_address