eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
449 stars 22 forks source link

Implement `memfd` as shared memory concept #115

Open elfenpiff opened 4 months ago

elfenpiff commented 4 months ago

Brief feature description

The linux call memfd has the ability to seal memory files, meaning making them immutable for the rest of their lifetime. Choosing them in a shared memory concept could solve data races that can occur in IPC communication.

See: https://dvdhrm.wordpress.com/2014/06/10/memfd_create2/