-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add support for encoding/decoding XPC connections #12
Comments
Some observations:
The only solution approaches I can think of involve wrapping the I see two ways we can make this work:
|
Originally posted by @amomchilov in #6 (comment):
I don't have an immediate need for passing FDs or shared memory regions in my program yet, but my app does need to pass an
xpc_endpoint_t
. My main app is sandboxed, so the only way it can useSMBless
is by delegating that work to an unsandboxed XPC helper service. Once the installation is done, it opens the XPC connection to the privileged helper service, and passes the endpoint back to the main app.This is the approach that's recommended in Apple's EvenBetterAuthorizationSample, so I think supporting
xpc_endpoint_t
is pretty crucial. So at a minimum, at least some level of special-casing needs to happen.The text was updated successfully, but these errors were encountered: