Permalink
Browse files

Merge pull request #1 from mdales/master

Specify that the mach service you're connecting to is privileged.
  • Loading branch information...
2 parents 1c61967 + 5d911e6 commit 6b5273ac9cd9ceac86c2dae2df825a3681bb5087 @atnan committed May 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SMJobBlessApp/SMJobBlessAppController.m
@@ -79,7 +79,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification {
self.textField.stringValue = @"Helper available.";
- xpc_connection_t connection = xpc_connection_create_mach_service("com.apple.bsd.SMJobBlessHelper", NULL, 0);
+ xpc_connection_t connection = xpc_connection_create_mach_service("com.apple.bsd.SMJobBlessHelper", NULL, XPC_CONNECTION_MACH_SERVICE_PRIVILEGED);
if (!connection) {
[self appendLog:@"Failed to create XPC connection."];

0 comments on commit 6b5273a

Please sign in to comment.