use syscall entry ptrs to clean up a lot of code.