Changed MAP_PRIVATE to MAP_SHARED.