The only catch with this is that it does not allow me to map into
ANOTHER process' address space, only my own. The problem I am trying to
address is that I have one process running as root and another process
that is not. The non-root process communicates with the root process and
asks it for locked-in pages. The root process will then map the locked
pages it has in its address space into the client's address space and
return a pointer to this area back to the client. As far as I know mmap
only operates on one's own address space. If I could somehow modify it
so it worked on another process' address space, that would rock.
-S