Title: [251782] tags/Safari-609.1.9/Source/WebKit
- Revision
- 251782
- Author
- [email protected]
- Date
- 2019-10-30 10:52:21 -0700 (Wed, 30 Oct 2019)
Log Message
Cherry-pick r251688. rdar://problem/56691526
[iOS] Fix sandbox violations
https://bugs.webkit.org/show_bug.cgi?id=203505
Reviewed by Brent Fulgham.
Running layout tests shows that allowing mach lookup is needed for a set of services which was previously denied.
This patch add rules for allowing these services again. The service 'com.apple.logd.events' is still denied, since
it has not been observed to be in use.
No new tests, covered by existing tests.
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: tags/Safari-609.1.9/Source/WebKit/ChangeLog (251781 => 251782)
--- tags/Safari-609.1.9/Source/WebKit/ChangeLog 2019-10-30 17:52:18 UTC (rev 251781)
+++ tags/Safari-609.1.9/Source/WebKit/ChangeLog 2019-10-30 17:52:21 UTC (rev 251782)
@@ -1,3 +1,38 @@
+2019-10-30 Alan Coon <[email protected]>
+
+ Cherry-pick r251688. rdar://problem/56691526
+
+ [iOS] Fix sandbox violations
+ https://bugs.webkit.org/show_bug.cgi?id=203505
+
+ Reviewed by Brent Fulgham.
+
+ Running layout tests shows that allowing mach lookup is needed for a set of services which was previously denied.
+ This patch add rules for allowing these services again. The service 'com.apple.logd.events' is still denied, since
+ it has not been observed to be in use.
+
+ No new tests, covered by existing tests.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-10-28 Per Arne Vollan <[email protected]>
+
+ [iOS] Fix sandbox violations
+ https://bugs.webkit.org/show_bug.cgi?id=203505
+
+ Reviewed by Brent Fulgham.
+
+ Running layout tests shows that allowing mach lookup is needed for a set of services which was previously denied.
+ This patch add rules for allowing these services again. The service 'com.apple.logd.events' is still denied, since
+ it has not been observed to be in use.
+
+ No new tests, covered by existing tests.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
2019-10-25 Chris Dumez <[email protected]>
REGRESSION(r251599): Crash in MobileSafari tests (ASSERTION FAILED: m_pendingRequestToSuspendID)
Modified: tags/Safari-609.1.9/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (251781 => 251782)
--- tags/Safari-609.1.9/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2019-10-30 17:52:18 UTC (rev 251781)
+++ tags/Safari-609.1.9/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2019-10-30 17:52:21 UTC (rev 251782)
@@ -451,12 +451,20 @@
(extension-class "com.apple.app-sandbox.read-write" "com.apple.app-sandbox.read")
(extension "com.apple.fileprovider.read-write")))
-(deny mach-lookup (with no-report)
- (global-name "com.apple.logd")
+(allow mach-lookup
+ (global-name "com.apple.logd"))
+
+(deny mach-lookup (with send-signal SIGKILL)
(global-name "com.apple.logd.events"))
+(allow mach-lookup
+ (global-name "com.apple.cfprefsd.daemon"))
+
(allow ipc-posix-shm-read*
(ipc-posix-name-prefix "apple.cfprefs."))
+
+(allow mach-lookup
+ (global-name "com.apple.lsd.mapdb"))
;; <rdar://problem/12413942>
(allow file-read*
@@ -484,9 +492,9 @@
(allow file-read-metadata network-outbound
(literal "/private/var/run/syslog"))
-(deny mach-lookup (with no-report)
+(allow mach-lookup
(global-name "com.apple.system.notification_center"))
-(deny ipc-posix-shm-read* (with no-report)
+(allow ipc-posix-shm-read*
(ipc-posix-name "apple.shm.notification_center"))
(logd-diagnostic-client)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes