elast0ny / elast0ny/shared_memory

Add a means to set more permissions to the shared_memory (unrestricted mode)

Open
#114 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
444
Forks
63
PR merge metrics
No merged PRs in 30d

Description

I am porting a C++ code using boost interprocess and I was using [set_unrestricted](https://github.com/boostorg/interprocess/blob/3ae98a5f0d85814bcb646839fc4814a9307bcb89/include/boost/interprocess/permissions.hpp#L108-L117) to add more permissions to the created shared memory.

It would be nice to have something similar in this crate.

For my needs, I have added a `mode` field in `ShmemConf` but this is not portable to the Windows version:
https://github.com/romainreignier/shared_memory/commit/7739b22eb9ac52fb790c0ca72415b816f0a16dbd

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.