Changing exit to do direct syscalls.