Skip to content

Commit

Permalink
santad: Fix printer-proxy workaround (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
russellhancox authored Oct 13, 2016
1 parent a8c1109 commit 91aefe2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/santad/SNTExecutionController.m
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ - (void)validateBinaryWithMessage:(santa_message_t)message {
}

// PrinterProxy workaround, see description above the method for more details.
if ([self printerProxyWorkaround:binInfo]) return;
if ([self printerProxyWorkaround:binInfo]) {
[_driverManager postToKernelAction:ACTION_RESPOND_DENY forVnodeID:message.vnode_id];
return;
}

// Get codesigning info about the file.
NSError *csError;
Expand Down

0 comments on commit 91aefe2

Please sign in to comment.