Title: [251821] trunk/Source/WebKit
Revision
251821
Author
[email protected]
Date
2019-10-30 16:33:16 -0700 (Wed, 30 Oct 2019)

Log Message

Lookup to mach services with the WebKit extension should list the allowed services
https://bugs.webkit.org/show_bug.cgi?id=203619

Reviewed by Alexey Proskuryakov.

To tighten the mach lookup rule which allows lookup to services with the "com.apple.webkit.extension.mach"
extension, all allowed services should be listed. Currently, we are only creating mach lookup extensions to
"com.apple.iphone.axserver-systemwide", but more will come in the future.

No new tests. Testing this requires UI interaction on the device to enable Accessibility.

* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (251820 => 251821)


--- trunk/Source/WebKit/ChangeLog	2019-10-30 23:29:22 UTC (rev 251820)
+++ trunk/Source/WebKit/ChangeLog	2019-10-30 23:33:16 UTC (rev 251821)
@@ -1,3 +1,18 @@
+2019-10-30  Per Arne Vollan  <[email protected]>
+
+        Lookup to mach services with the WebKit extension should list the allowed services
+        https://bugs.webkit.org/show_bug.cgi?id=203619
+
+        Reviewed by Alexey Proskuryakov.
+
+        To tighten the mach lookup rule which allows lookup to services with the "com.apple.webkit.extension.mach"
+        extension, all allowed services should be listed. Currently, we are only creating mach lookup extensions to
+        "com.apple.iphone.axserver-systemwide", but more will come in the future.
+
+        No new tests. Testing this requires UI interaction on the device to enable Accessibility.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2019-10-30  Alex Christensen  <[email protected]>
 
         WKContentRuleLists should block requests from service workers

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (251820 => 251821)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2019-10-30 23:29:22 UTC (rev 251820)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2019-10-30 23:33:16 UTC (rev 251821)
@@ -930,7 +930,10 @@
     (literal "/usr/local/lib/log") ; <rdar://problem/36629495>
 )
 
-(allow mach-lookup (extension "com.apple.webkit.extension.mach"))
+(allow mach-lookup
+    (require-all
+        (extension "com.apple.webkit.extension.mach")
+        (global-name "com.apple.iphone.axserver-systemwide")))
 
 (media-capture-support)
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to