Bug 220927

Summary: [macOS] Restrict access to dtracehelper
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, iseenoface, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221501
Attachments:
Description Flags
Patch
bfulgham: review+
Patch
none
Patch none

Description Per Arne Vollan 2021-01-25 08:44:39 PST
Only allow access to dtracehelper for internal installs.
Comment 1 Per Arne Vollan 2021-01-25 08:47:39 PST
<rdar://70350947>
Comment 2 Per Arne Vollan 2021-01-25 08:50:24 PST
Created attachment 418297 [details]
Patch
Comment 3 Brent Fulgham 2021-01-25 11:35:04 PST
Comment on attachment 418297 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=418297&action=review

r=me

> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:89
>      (with telemetry-backtrace)

Should we remove this, given that telemetry-backtrace is a finite resource and we know this is needed for internal builds?
Comment 4 Per Arne Vollan 2021-01-25 12:55:03 PST
Created attachment 418324 [details]
Patch
Comment 5 Per Arne Vollan 2021-01-25 12:55:37 PST
(In reply to Brent Fulgham from comment #3)
> Comment on attachment 418297 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=418297&action=review
> 
> r=me
> 
> > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:89
> >      (with telemetry-backtrace)
> 
> Should we remove this, given that telemetry-backtrace is a finite resource
> and we know this is needed for internal builds?

Fixed, thanks for reviewing!
Comment 6 Per Arne Vollan 2021-01-25 13:10:28 PST
Created attachment 418328 [details]
Patch
Comment 7 EWS 2021-01-25 14:09:58 PST
Committed r271815: <https://trac.webkit.org/changeset/271815>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 418328 [details].