- Sprinkle const - Fix mmap call [MAP_PRIVATE], return [MAP_FAILED] - Don't clobber errno. - Use getprogname/setprogname