exit_group on loongarch64

exit all threads in a process

sys_exit_group(int error_code)
number94 (0x5e)
abicommon
entry pointsys_exit_group
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pageexit_group(2)
sourceelixir.bootlin.com

Registers

registervalue
a794, the syscall number
a0int error_code
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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