modify for Linux.mmap