Forgot O_DIRECTORY and O_CLOEXEC