Title: [275764] trunk/Source/WebKit
- Revision
- 275764
- Author
- [email protected]
- Date
- 2021-04-09 09:38:44 -0700 (Fri, 09 Apr 2021)
Log Message
[Cocoa] Silence a CFNetwork preference file access warning
https://bugs.webkit.org/show_bug.cgi?id=224344
<rdar://problem/75839558>
Reviewed by Eric Carlson.
Silence sandbox telemetry and reports when CFNetwork attempts to read an unimportant preference
when executing in the WebContent process. This has been confirmed to be a silent/safe failiure
case (just returns false) and is not needed in the WebContent process.
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
* WebProcess/com.apple.WebProcess.sb.in:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (275763 => 275764)
--- trunk/Source/WebKit/ChangeLog 2021-04-09 15:58:15 UTC (rev 275763)
+++ trunk/Source/WebKit/ChangeLog 2021-04-09 16:38:44 UTC (rev 275764)
@@ -1,3 +1,18 @@
+2021-04-09 Brent Fulgham <[email protected]>
+
+ [Cocoa] Silence a CFNetwork preference file access warning
+ https://bugs.webkit.org/show_bug.cgi?id=224344
+ <rdar://problem/75839558>
+
+ Reviewed by Eric Carlson.
+
+ Silence sandbox telemetry and reports when CFNetwork attempts to read an unimportant preference
+ when executing in the WebContent process. This has been confirmed to be a silent/safe failiure
+ case (just returns false) and is not needed in the WebContent process.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+ * WebProcess/com.apple.WebProcess.sb.in:
+
2021-04-09 Aditya Keerthi <[email protected]>
[iOS][FCR] Use context menus for text input datalist dropdowns
Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (275763 => 275764)
--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2021-04-09 15:58:15 UTC (rev 275763)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2021-04-09 16:38:44 UTC (rev 275764)
@@ -926,6 +926,7 @@
(deny file-read* (with no-report)
(home-literal
"/Library/Preferences/com.apple.WebKit.WebContent.plist"
+ "/Library/Preferences/com.apple.CFNetwork.plist"
)
)
Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (275763 => 275764)
--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in 2021-04-09 15:58:15 UTC (rev 275763)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in 2021-04-09 16:38:44 UTC (rev 275764)
@@ -2177,3 +2177,11 @@
(allow darwin-notification-post (with telemetry))
)
#endif
+
+#if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000
+(deny file-read* (with no-report)
+ (home-literal
+ "/Library/Preferences/com.apple.CFNetwork.plist"
+ )
+)
+#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes