I\'m in Linux 2.6. I have an environment where 2 processes simulate (using shared memory) the exchange of data through a simple implementation of the message passing mode.>
Just for anyone reading this question in 2018 and later.
The solution is now to use memfd_create to create an anonymous file and use a unix socket to pass this file handle to the other process.