Added more functionality to the "reboot" syscall wrapper