Title: [287668] trunk/Source/WebKit
- Revision
- 287668
- Author
- pvol...@apple.com
- Date
- 2022-01-05 18:51:40 -0800 (Wed, 05 Jan 2022)
Log Message
REGRESSION(287556): Domain name not shown in Activity Monitor
https://bugs.webkit.org/show_bug.cgi?id=234903
Reviewed by Brent Fulgham.
After r287556, domain names are no longer shown in Activity Monitor. The Networking process is responsible for setting
process information on behalf of the WebContent process. Before r287556, this worked because a connection to the associated
mach service was established before entering the sandbox. After r287556 we explicitly need to allow access to the service,
since the sandbox has been applied when process information is set. In practice, access to the service was already allowed
before, since an open connection to the service was established before entering the sandbox.
* NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (287667 => 287668)
--- trunk/Source/WebKit/ChangeLog 2022-01-06 02:28:58 UTC (rev 287667)
+++ trunk/Source/WebKit/ChangeLog 2022-01-06 02:51:40 UTC (rev 287668)
@@ -1,5 +1,20 @@
2022-01-05 Per Arne Vollan <pvol...@apple.com>
+ REGRESSION(287556): Domain name not shown in Activity Monitor
+ https://bugs.webkit.org/show_bug.cgi?id=234903
+
+ Reviewed by Brent Fulgham.
+
+ After r287556, domain names are no longer shown in Activity Monitor. The Networking process is responsible for setting
+ process information on behalf of the WebContent process. Before r287556, this worked because a connection to the associated
+ mach service was established before entering the sandbox. After r287556 we explicitly need to allow access to the service,
+ since the sandbox has been applied when process information is set. In practice, access to the service was already allowed
+ before, since an open connection to the service was established before entering the sandbox.
+
+ * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
+
+2022-01-05 Per Arne Vollan <pvol...@apple.com>
+
[iOS][WP] Allow syscall used on process launch
https://bugs.webkit.org/show_bug.cgi?id=234898
<rdar://86914492>
Modified: trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in (287667 => 287668)
--- trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in 2022-01-06 02:28:58 UTC (rev 287667)
+++ trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in 2022-01-06 02:51:40 UTC (rev 287668)
@@ -110,6 +110,10 @@
#endif
)
+#if ENABLE(SET_WEBCONTENT_PROCESS_INFORMATION_IN_NETWORK_PROCESS)
+(allow mach-lookup (global-name "com.apple.coreservices.launchservicesd"))
+#endif
+
(allow mach-lookup
(global-name "com.apple.system.opendirectoryd.libinfo")
(global-name "com.apple.trustd.agent"))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes