syscall.sh / x86 / reboot

reboot

reboot or enable/disable Ctrl-Alt-Del

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

Registers

registervalue
eax88, the syscall number
ebxint magic1
ecxint magic2
edxunsigned int cmd
esivoid *arg
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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