Title: [255852] trunk/Source/WebKit
- Revision
- 255852
- Author
- [email protected]
- Date
- 2020-02-05 13:42:27 -0800 (Wed, 05 Feb 2020)
Log Message
Update sandbox to allow communication with dnssd service
https://bugs.webkit.org/show_bug.cgi?id=207276
<rdar://problem/59158405>
Reviewed by Per Arne Vollan.
Testing and telemetry indicates that we need access to the DNSSD mach service in our Network Process
* NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
* Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (255851 => 255852)
--- trunk/Source/WebKit/ChangeLog 2020-02-05 21:37:26 UTC (rev 255851)
+++ trunk/Source/WebKit/ChangeLog 2020-02-05 21:42:27 UTC (rev 255852)
@@ -1,3 +1,16 @@
+2020-02-05 Brent Fulgham <[email protected]>
+
+ Update sandbox to allow communication with dnssd service
+ https://bugs.webkit.org/show_bug.cgi?id=207276
+ <rdar://problem/59158405>
+
+ Reviewed by Per Arne Vollan.
+
+ Testing and telemetry indicates that we need access to the DNSSD mach service in our Network Process
+
+ * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+
2020-02-05 Chris Dumez <[email protected]>
[IPC Hardening] Protect against null String under WebInspectorProxy::save() / WebInspectorProxy::append()
Modified: trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in (255851 => 255852)
--- trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in 2020-02-05 21:37:26 UTC (rev 255851)
+++ trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in 2020-02-05 21:42:27 UTC (rev 255852)
@@ -1,4 +1,4 @@
-; Copyright (C) 2013-2019 Apple Inc. All rights reserved.
+; Copyright (C) 2013-2020 Apple Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
@@ -139,6 +139,7 @@
(allow mach-lookup
(global-name "com.apple.SystemConfiguration.PPPController")
(global-name "com.apple.SystemConfiguration.SCNetworkReachability")
+ (global-name "com.apple.dnssd.service")
(global-name "com.apple.nehelper")
(global-name "com.apple.nesessionmanager")
(global-name "com.apple.networkd")
Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (255851 => 255852)
--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb 2020-02-05 21:37:26 UTC (rev 255851)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb 2020-02-05 21:42:27 UTC (rev 255852)
@@ -1,4 +1,4 @@
-; Copyright (C) 2014-2019 Apple Inc. All rights reserved.
+; Copyright (C) 2014-2020 Apple Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
@@ -88,8 +88,11 @@
(require-any
(require-entitlement "com.apple.security.network.client")
(require-entitlement "com.apple.security.network.server"))
- (allow network-outbound (literal "/private/var/run/mDNSResponder")))
- (allow network-outbound (literal "/private/var/run/mDNSResponder")))
+ (allow network-outbound (literal "/private/var/run/mDNSResponder"))
+ (allow mach-lookup (global-name "com.apple.dnssd.service"))) ;; <rdar://problem/55562091>
+ (begin
+ (allow network-outbound (literal "/private/var/run/mDNSResponder"))
+ (allow mach-lookup (global-name "com.apple.dnssd.service")))) ;; <rdar://problem/55562091>
;; <rdar://problem/10962803>
;; <rdar://problem/13238730>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes