syscall.sh / arc / exit_group
exit_group
exit all threads in a process
sys_exit_group(int error_code)
| number | 94 (0x5e) |
|---|---|
| abi | common |
| entry point | sys_exit_group |
| since | Linux 3.9 |
| man page | exit_group(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 94, the syscall number |
r0 | int error_code |
r0 | the return value |
Then run trap0 to enter the kernel.
Same syscall on other architectures
- x64 231
- x86 252
- arm64 94
- arm 248
- riscv64 94
- x32 1073742055
- loongarch64 94
- ppc64 234
- ppc 234
- s390x 248
- mips64 5205
- mipsn32 6205
- mipso32 4246
- alpha 405
- 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/arc/exit_group