[Lldb-commits] [lldb] 3858e9d - Add two new entitlements when debugserver is built by Apple
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 21 14:56:18 PDT 2023
Author: Jason Molenda
Date: 2023-06-21T14:56:11-07:00
New Revision: 3858e9d6c5136e5a491795c1dcb720361c525526
URL: https://github.com/llvm/llvm-project/commit/3858e9d6c5136e5a491795c1dcb720361c525526
DIFF: https://github.com/llvm/llvm-project/commit/3858e9d6c5136e5a491795c1dcb720361c525526.diff
LOG: Add two new entitlements when debugserver is built by Apple
Two new entitlements, com.apple.private.thread-set-state and
com.apple.private.set-exception-port should be included in the
debugserver entitlement plist when built internally at Apple.
The desktop builds of debugserver don't need these entitlements;
don't add them to debugserver-macosx-entitlements.plist.
rdar://108912676
rdar://103032208
Added:
Modified:
lldb/tools/debugserver/resources/debugserver-entitlements.plist
lldb/tools/debugserver/resources/debugserver-macosx-private-entitlements.plist
Removed:
################################################################################
diff --git a/lldb/tools/debugserver/resources/debugserver-entitlements.plist b/lldb/tools/debugserver/resources/debugserver-entitlements.plist
index 1798610305d9e..a5d471ea6a3b0 100644
--- a/lldb/tools/debugserver/resources/debugserver-entitlements.plist
+++ b/lldb/tools/debugserver/resources/debugserver-entitlements.plist
@@ -26,5 +26,9 @@
<true/>
<key>com.apple.private.cs.debugger</key>
<true/>
+ <key>com.apple.private.thread-set-state</key>
+ <true/>
+ <key>com.apple.private.set-exception-port</key>
+ <true/>
</dict>
</plist>
diff --git a/lldb/tools/debugserver/resources/debugserver-macosx-private-entitlements.plist b/lldb/tools/debugserver/resources/debugserver-macosx-private-entitlements.plist
index d09bd924bf2c8..83243c816ceba 100644
--- a/lldb/tools/debugserver/resources/debugserver-macosx-private-entitlements.plist
+++ b/lldb/tools/debugserver/resources/debugserver-macosx-private-entitlements.plist
@@ -6,5 +6,9 @@
<true/>
<key>com.apple.private.cs.debugger</key>
<true/>
+ <key>com.apple.private.thread-set-state</key>
+ <true/>
+ <key>com.apple.private.set-exception-port</key>
+ <true/>
</dict>
</plist>
More information about the lldb-commits
mailing list