Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple recommends against direct use of Mach #309

Open
mwcampbell opened this issue Jan 30, 2023 · 0 comments
Open

Apple recommends against direct use of Mach #309

mwcampbell opened this issue Jan 30, 2023 · 0 comments

Comments

@mwcampbell
Copy link

While trying to understand the security implications of using Mach message ports, I found the following in this Apple documentation page:

Note: Apple does not support Mach functions for use by external developers and does not guarantee the binary compatibility from one operating system release to the next of code that calls Mach directly. Therefore, Apple recommends against the use of Mach functions by applications. You should use higher-level APIs whenever possible, and call BSD when a low-level interface is required.

So I wonder if it would be better to use Unix domain sockets instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant