Shared memory and IPC

Jeremy Allison jeremy at
Thu Sep 6 12:46:07 GMT 2001

Luke Kenneth Casson Leighton wrote:

> is it possible to get memory allocated in one process to be shared
> with another process *at the same address* on unix, os/2, nt, vms etc?

mmap has the MAP_FIXED flag that forces the mmap to fail
if it can't be done at the given address. You could use
a different IPC method to pass that address to other

This is UNIX/POSIX only though (as far as I know).


More information about the samba-technical mailing list