Skip to content

Commit

Permalink
Add get-task-allow entitlement to allow debuggers to attach to code…
Browse files Browse the repository at this point in the history
…signed Julia (#37069)

Without this entitlement, users that wish to attach a debugger to the
codesign Julia executable they receive from `julialang.org` must strip
the codesigning signature from the Julia executable (e.g. via `codesign
--remove-signature Julia-1.5.app/Contents/Resources/bin/julia`).  This
has its disadvantages, of course, so much better to simply declare to
the OS that it's alright for other processes to attach to this process.

(cherry picked from commit bf8a8e8)
  • Loading branch information
staticfloat authored and KristofferC committed Aug 18, 2020
1 parent 9be5d45 commit dea950e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/mac/app/Entitlements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<dict>
<key>com.apple.security.automation.apple-events</key>
<true/>
<key>com.apple.security.cs.get-task-allow</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
Expand Down

0 comments on commit dea950e

Please sign in to comment.