I’m using the Boost.Interprocess library in C++ to manage shared memory using the managed_shared_memory class. I am creating the shared memory segment with the open_or_create flag and specifying permissions.
My questions are:
Can ACL permissions be set directly using Boost.Interprocess when creating a managed_shared_memory segment? I am unable to find any information or documentation on setting ACLs directly within Boost.Interprocess.
If Boost.Interprocess does not support setting ACLs directly, what is the recommended approach for managing ACL permissions for shared memory? Is it practical to use system calls or external commands to set ACLs after creating the shared memory segment, or is there a better approach?
Any insights or best practices for handling ACL permissions with Boost.Interprocess would be very helpful.