Title: [293988] trunk/Source/WebKit
Revision
293988
Author
[email protected]
Date
2022-05-09 13:43:28 -0700 (Mon, 09 May 2022)

Log Message

Allow log streaming from webpushd
https://bugs.webkit.org/show_bug.cgi?id=240238

Reviewed by Per Arne Vollan.

`log stream` outputs nothing from webpushd because we blocked the diagnosticd service in its
sandbox. We should allow that and also block awdd since it's unlikely that webpushd needs
access to the wireless diagnostics daemon.

* webpushd/mac/com.apple.WebKit.webpushd.sb.in:

Canonical link: https://commits.webkit.org/250425@main

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (293987 => 293988)


--- trunk/Source/WebKit/ChangeLog	2022-05-09 20:37:15 UTC (rev 293987)
+++ trunk/Source/WebKit/ChangeLog	2022-05-09 20:43:28 UTC (rev 293988)
@@ -1,3 +1,16 @@
+2022-05-09  Ben Nham  <[email protected]>
+
+        Allow log streaming from webpushd
+        https://bugs.webkit.org/show_bug.cgi?id=240238
+
+        Reviewed by Per Arne Vollan.
+
+        `log stream` outputs nothing from webpushd because we blocked the diagnosticd service in its
+        sandbox. We should allow that and also block awdd since it's unlikely that webpushd needs
+        access to the wireless diagnostics daemon.
+
+        * webpushd/mac/com.apple.WebKit.webpushd.sb.in:
+
 2022-05-09  Yusuke Suzuki  <[email protected]>
 
         Unreviewed, build fix for Internal iOS build

Modified: trunk/Source/WebKit/webpushd/mac/com.apple.WebKit.webpushd.sb.in (293987 => 293988)


--- trunk/Source/WebKit/webpushd/mac/com.apple.WebKit.webpushd.sb.in	2022-05-09 20:37:15 UTC (rev 293987)
+++ trunk/Source/WebKit/webpushd/mac/com.apple.WebKit.webpushd.sb.in	2022-05-09 20:43:28 UTC (rev 293988)
@@ -234,8 +234,9 @@
 
 ;; Analytics.
 (with-filter (system-attribute apple-internal)
-    (allow mach-lookup (global-name "com.apple.analyticsd"))
-    (allow mach-lookup (global-name "com.apple.awdd")))
+    (allow mach-lookup
+        (global-name "com.apple.analyticsd")
+        (global-name "com.apple.diagnosticd")))
 
 ;; Daemon prefs.
 (allow user-preference-read user-preference-write
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to