Skip to content

Commit

Permalink
Add telemetry to notifyd message filter
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=268582
rdar://120709942

Reviewed by Brent Fulgham.

Add telemetry to notifyd message filter in experimental sandbox instead of blocking the messages.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:

Canonical link: https://commits.webkit.org/273954@main
  • Loading branch information
pvollan committed Feb 2, 2024
1 parent 4ca9919 commit 5c63203
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,10 @@

(with-filter (state-flag "EnableExperimentalSandbox")
(allow mach-lookup (global-name "com.apple.system.notification_center")
(apply-message-filter (deny mach-message-send))))

(apply-message-filter
(deny mach-message-send)
(deny mach-message-send (with no-report) (message-number 1023))
(allow mach-message-send (with report) (with telemetry) (notifyd-message-numbers)))))

(managed-configuration-read-public)

Expand Down

0 comments on commit 5c63203

Please sign in to comment.