Skip to content

Commit

Permalink
Fix VPN not working on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed Feb 24, 2024
1 parent bd36db4 commit f1fb0c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion BaseBin/systemhook/src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@ kBinaryConfig configForBinary(const char* path, char *const argv[restrict])
"/System/Library/Frameworks/GSS.framework/Helpers/GSSCred",
"/System/Library/PrivateFrameworks/DataAccess.framework/Support/dataaccessd",
"/System/Library/PrivateFrameworks/IDSBlastDoorSupport.framework/XPCServices/IDSBlastDoorService.xpc/IDSBlastDoorService",
"/System/Library/PrivateFrameworks/MessagesBlastDoorSupport.framework/XPCServices/MessagesBlastDoorService.xpc/MessagesBlastDoorService"
"/System/Library/PrivateFrameworks/MessagesBlastDoorSupport.framework/XPCServices/MessagesBlastDoorService.xpc/MessagesBlastDoorService",
#ifndef __arm64e__
// Hooking anything in nesessionmanager on arm64 removes CS_VALID and breaks VPN functionality because the kernel checks for that
"/usr/libexec/nesessionmanager",
#endif
};
size_t blacklistCount = sizeof(processBlacklist) / sizeof(processBlacklist[0]);
for (size_t i = 0; i < blacklistCount; i++)
Expand Down

0 comments on commit f1fb0c1

Please sign in to comment.