syscall.sh / x64 / reboot

reboot

reboot or enable/disable Ctrl-Alt-Del

sys_reboot(int magic1, int magic2, unsigned int cmd, void *arg)
number169 (0xa9)
abicommon
entry pointsys_reboot
sinceLinux 3.3
man pagereboot(2)
sourceelixir.bootlin.com

Registers

registervalue
rax169, the syscall number
rdiint magic1
rsiint magic2
rdxunsigned int cmd
r10void *arg
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/reboot