From cc55c8db898f098361173e8058f8aef6e6372a55 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 5 Oct 2022 12:36:53 +0100 Subject: [PATCH] Tighten up macOS entitlements, and add comments explaining. Note that this re-enables executable page protection, which was disabled for unknown reasons. --- pkg/mac/entitlements.plist.in | 53 ++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/pkg/mac/entitlements.plist.in b/pkg/mac/entitlements.plist.in index b244af228..03958c4ae 100644 --- a/pkg/mac/entitlements.plist.in +++ b/pkg/mac/entitlements.plist.in @@ -2,11 +2,62 @@ + com.apple.security.app-sandbox + + com.apple.security.application-groups %TEAMID%.org.pgadmin.pgadmin4 + + + com.apple.security.cs.allow-jit + + + + com.apple.security.cs.allow-unsigned-executable-memory + + + + com.apple.security.cs.allow-dyld-environment-variables + + + + com.apple.security.cs.disable-library-validation + + + com.apple.security.cs.disable-executable-page-protection - + + + + com.apple.security.cs.debugger + \ No newline at end of file