Bug 227332

Summary: [iOS] Allow network-outbound logging for internal builds
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brent Fulgham 2021-06-23 17:11:16 PDT
We allow network-outbound for /private/var/run/syslog in the WebContent process for debugging purposes on debug builds. We should do the same for our other processes to avoid noisy logging:

;; ObjC map_images needs to send logging data to syslog. <rdar://problem/39778918>
(with-filter (system-attribute apple-internal)
    (allow network-outbound
       (literal "/private/var/run/syslog")
    )
)

<rdar://problem/79669627>
Comment 1 Brent Fulgham 2021-06-23 17:12:52 PDT
Created attachment 432117 [details]
Patch
Comment 2 Per Arne Vollan 2021-06-23 23:17:39 PDT
Comment on attachment 432117 [details]
Patch

R=me.
Comment 3 EWS 2021-06-24 09:28:27 PDT
Committed r279230 (239115@main): <https://commits.webkit.org/239115@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 432117 [details].
Comment 4 Radar WebKit Bug Importer 2021-06-24 09:29:16 PDT
<rdar://problem/79728541>