Entitlements for NetworkProcess to enable automatic memgraph diagnostics#51026
Conversation
|
EWS run on previous version of this PR (hash ce19436) Details |
| plistbuddy Add :com.apple.security.exception.mach-lookup.global-name array | ||
| plistbuddy Add :com.apple.security.exception.mach-lookup.global-name:0 string com.apple.ReportMemoryException |
There was a problem hiding this comment.
I think it would be good to add these to the Networking process sandbox, instead of using an entitlement. That way, we have the allowed mach lookups gathered in one place. It would also be good if we could only allow this on internal builds.
ce19436 to
759c3cb
Compare
|
EWS run on previous version of this PR (hash 759c3cb) Details |
|
As @pvollan alluded to, this is gated to internal builds only. Reversal of the additional entitlement and sandbox changes will occur as part of rdar://160965793 as soon as we're able to collect actionable memgraphs. |
759c3cb to
c556662
Compare
|
EWS run on previous version of this PR (hash c556662) Details |
|
Thanks. LGTM. Gating to internal builds makes sense. You'll need to remove this line from the commit message for the bot to land this change. |
c556662 to
13df5a3
Compare
|
EWS run on previous version of this PR (hash 13df5a3) Details |
13df5a3 to
e5b53a7
Compare
|
EWS run on current version of this PR (hash e5b53a7) Details |
https://bugs.webkit.org/show_bug.cgi?id=299196 rdar://160955078 Reviewed by Per Arne Vollan and Ryan Reno. Allows NetworkProcess to use ReportMemoryException to diagnose memory-related crashes. * Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in: * Source/WebKit/Scripts/process-entitlements.sh: Canonical link: https://commits.webkit.org/300774@main
e5b53a7 to
b5c5c88
Compare
|
Committed 300774@main (b5c5c88): https://commits.webkit.org/300774@main Reviewed commits have been landed. Closing PR #51026 and removing active labels. |
b5c5c88
e5b53a7
🧪 win-tests🛠 playstation