syscall.sh / mipso32 / gettid
gettid
get thread identification
sys_gettid(void)
| number | 4222 (0x107e) |
|---|---|
| abi | o32 |
| entry point | sys_gettid |
| since | Linux 5.0 |
| man page | gettid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4222, the syscall number |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 186
- x86 224
- arm64 178
- arm 224
- riscv64 178
- x32 1073742010
- loongarch64 178
- ppc64 207
- ppc 207
- s390x 236
- mips64 5178
- mipsn32 6178
- alpha 378
- arc 178
- csky 178
- hexagon 178
- m68k 221
- microblaze 224
- nios2 178
- openrisc 178
- parisc 206
- sh 224
- sparc 143
- sparc64 143
- xtensa 127
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/gettid