I used to use namespaces on Linux:
and was wondering what the macOS alternative was?
I'd appreciate any help. Thank you.
and was wondering what the macOS alternative was?
I'd appreciate any help. Thank you.
I'm looking to be able to create a sandboxed environment so any executables in the sandbox can't access code and/or information outside of the sandbox. I want to use it as a security feature where code from one executable can only run other executable code by sending a message between the two sandboxed environments.I don't think there's a macOS direct equivalent.
Can you describe the specific problem you're trying to solve using namespaces? Or were you just interested in where various tidbits of information resided?
Although I'm not aware of a macOS direct equivalent, there are various places where some information resides. For example, the mount-table and the sysctl() function provide access to certain information that's available in Linux namespaces.