Title: [276683] branches/safari-612.1.12-branch/Source/WebKit
- Revision
- 276683
- Author
- alanc...@apple.com
- Date
- 2021-04-27 17:44:06 -0700 (Tue, 27 Apr 2021)
Log Message
Cherry-pick r276590. rdar://problem/77235569
[iOS] Update sandbox message filter syntax
https://bugs.webkit.org/show_bug.cgi?id=223384
Reviewed by Brent Fulgham.
Update sandbox message filter syntax on iOS. The previous syntax should also still be supported.
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-612.1.12-branch/Source/WebKit/ChangeLog (276682 => 276683)
--- branches/safari-612.1.12-branch/Source/WebKit/ChangeLog 2021-04-28 00:18:19 UTC (rev 276682)
+++ branches/safari-612.1.12-branch/Source/WebKit/ChangeLog 2021-04-28 00:44:06 UTC (rev 276683)
@@ -1,3 +1,30 @@
+2021-04-27 Ruben Turcios <rubent...@apple.com>
+
+ Cherry-pick r276590. rdar://problem/77235569
+
+ [iOS] Update sandbox message filter syntax
+ https://bugs.webkit.org/show_bug.cgi?id=223384
+
+ Reviewed by Brent Fulgham.
+
+ Update sandbox message filter syntax on iOS. The previous syntax should also still be supported.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2021-04-26 Per Arne Vollan <pvol...@apple.com>
+
+ [iOS] Update sandbox message filter syntax
+ https://bugs.webkit.org/show_bug.cgi?id=223384
+
+ Reviewed by Brent Fulgham.
+
+ Update sandbox message filter syntax on iOS. The previous syntax should also still be supported.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
2021-04-25 Devin Rousso <drou...@apple.com>
Add `ALWAYS_LOG_WITH_STREAM` macro for easier development/debugging
Modified: branches/safari-612.1.12-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (276682 => 276683)
--- branches/safari-612.1.12-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2021-04-28 00:18:19 UTC (rev 276682)
+++ branches/safari-612.1.12-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2021-04-28 00:44:06 UTC (rev 276683)
@@ -1458,22 +1458,37 @@
(deny socket-option-set (with telemetry))
)
-(when (defined? 'mach-bootstrap)
+(define-once (mach-bootstrap-message-numbers)
+ (message-number
+ 206
+ 207
+ 711
+ 712
+ 718
+ 800
+ 802
+ 803
+ 804
+ 805
+ )
+)
+
+(if (defined? '*sbpl-version*)
(allow mach-bootstrap
(apply-message-filter
+ (deny mach-message-send (with telemetry))
+ (allow mach-message-send
+ (mach-bootstrap-message-numbers)
+ )
+ )
+ )
+;; else
+ (allow mach-bootstrap
+ (apply-message-filter
(deny xpc-message-send (with telemetry))
- (allow xpc-message-send (message-number
- 206
- 207
- 711
- 712
- 718
- 800
- 802
- 803
- 804
- 805
- ))
+ (allow xpc-message-send
+ (mach-bootstrap-message-numbers)
+ )
)
)
)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes