Skip to content

Apple recommends against direct use of Mach #309

@mwcampbell

Description

@mwcampbell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions