1 2 3 4 5 6 7
#include <sys/reboot.h> #include "syscall.h" int reboot(int type) { return syscall(SYS_reboot, 0xfee1dead, 672274793, type); }