Imported partial mmap() support from DeforaOS Camera