memmap-rs
memmap-rs copied to clipboard
Should anonymous mappings be MAP_SHARED by default?
Currently they are on unix, at least based on a reading of the source. This seems like a kinda surprising footgun, especially as memmap is potentially an indirect dependency in a bunch of use cases. Creating a shared memory segment between parent and child should probably be an explicit action in MmapOptions?