memmap-rs icon indicating copy to clipboard operation
memmap-rs copied to clipboard

Should anonymous mappings be MAP_SHARED by default?

Open yrp604 opened this issue 6 years ago • 0 comments

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?

yrp604 avatar Mar 02 '19 05:03 yrp604