Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from mdales/master

Specify that the mach service you're connecting to is privileged.
  • Loading branch information...
commit 6b5273ac9cd9ceac86c2dae2df825a3681bb5087 2 parents 1c61967 + 5d911e6
@atnan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  SMJobBlessApp/SMJobBlessAppController.m
View
2  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."];
Please sign in to comment.
Something went wrong with that request. Please try again.