From 91aefe25c46eed59c21562828916849993d6815c Mon Sep 17 00:00:00 2001 From: Russell Hancox Date: Thu, 13 Oct 2016 15:30:08 -0400 Subject: [PATCH] santad: Fix printer-proxy workaround (#120) --- Source/santad/SNTExecutionController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/santad/SNTExecutionController.m b/Source/santad/SNTExecutionController.m index c8664bbce..534773aff 100644 --- a/Source/santad/SNTExecutionController.m +++ b/Source/santad/SNTExecutionController.m @@ -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;