syscall.sh / x32 / exit_group
exit_group
exit all threads in a process
sys_exit_group(int error_code)
| number | 1073742055 (0x400000e7) |
|---|---|
| abi | common |
| entry point | sys_exit_group |
| since | Linux 3.4 |
| man page | exit_group(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742055, the syscall number |
rdi | int error_code |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 231
- x86 252
- arm64 94
- arm 248
- riscv64 94
- loongarch64 94
- ppc64 234
- ppc 234
- s390x 248
- mips64 5205
- mipsn32 6205
- mipso32 4246
- alpha 405
- arc 94
- csky 94
- hexagon 94
- m68k 247
- microblaze 252
- nios2 94
- openrisc 94
- parisc 222
- sh 252
- sparc 188
- sparc64 188
- xtensa 119
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/exit_group