Implement abstract resources using mmap.