Skip to content

Commit d2324ca

Browse files
Copilotagocke
andauthored
Remove com.apple.security.cs.debugger entitlement from dotnet muxer and apphosts (dotnet#122901)
# Description Removes `com.apple.security.cs.debugger` entitlement from `eng/native/entitlements.plist`, which is used to sign the dotnet muxer, apphost, singlefilehost, and corerun on macOS. This entitlement is meant for debuggers. It's unnecessary for the muxer—debuggers should ship with their own apphost and set their own entitlements. **Preserved**: `createdump-entitlements.plist` retains the debugger entitlement since createdump uses `task_for_pid()` and `ptrace()` APIs for dump generation. Low. Removes unnecessary entitlement that could potentially trigger macOS security prompts for non-debugging tools. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: agocke <515774+agocke@users.noreply.github.com>
1 parent 841eb85 commit d2324ca

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

eng/native/entitlements.plist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<true/>
99
<key>com.apple.security.cs.disable-library-validation</key>
1010
<true/>
11-
<key>com.apple.security.cs.debugger</key>
12-
<true/>
1311
<key>com.apple.security.get-task-allow</key>
1412
<true/>
1513
</dict>

0 commit comments

Comments
 (0)