exit on arm64

terminate the calling thread

sys_exit(int error_code)
number93 (0x5d)
abicommon
entry pointsys_exit
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pageexit(2)
sourceelixir.bootlin.com

Registers

registervalue
x893, the syscall number
x0int error_code
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/exit