A very basic interface to mmap, mlock, and munlock.