Title: [285959] trunk/Source/WebKit
Revision
285959
Author
pvol...@apple.com
Date
2021-11-17 15:12:54 -0800 (Wed, 17 Nov 2021)

Log Message

[macOS] Add message filter guard in the GPU process' sandbox
https://bugs.webkit.org/show_bug.cgi?id=233282
<rdar://85514428>

Reviewed by Brent Fulgham.

Add message filter guard in the GPU process' sandbox.

* GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285958 => 285959)


--- trunk/Source/WebKit/ChangeLog	2021-11-17 23:07:16 UTC (rev 285958)
+++ trunk/Source/WebKit/ChangeLog	2021-11-17 23:12:54 UTC (rev 285959)
@@ -1,3 +1,15 @@
+2021-11-17  Per Arne Vollan  <pvol...@apple.com>
+
+        [macOS] Add message filter guard in the GPU process' sandbox
+        https://bugs.webkit.org/show_bug.cgi?id=233282
+        <rdar://85514428>
+
+        Reviewed by Brent Fulgham.
+
+        Add message filter guard in the GPU process' sandbox.
+
+        * GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
+
 2021-11-17  Tim Horton  <timothy_hor...@apple.com>
 
         Momentum animator sometimes starts the animation at a very high velocity

Modified: trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in (285958 => 285959)


--- trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2021-11-17 23:07:16 UTC (rev 285958)
+++ trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2021-11-17 23:12:54 UTC (rev 285959)
@@ -856,6 +856,7 @@
     )
 )
 
+#if HAVE(SANDBOX_MESSAGE_FILTERING)
 (when (and (equal? (param "ENABLE_SANDBOX_MESSAGE_FILTER") "YES") (defined? 'mach-kernel-endpoint))
     (allow mach-kernel-endpoint
         (apply-message-filter
@@ -890,6 +891,7 @@
         MSC_swtch_pri
         MSC_syscall_thread_switch
         MSC_thread_get_special_reply_port)))
+#endif // HAVE(SANDBOX_MESSAGE_FILTERING)
 
 (when (defined? 'syscall-unix)
     (allow syscall-unix (with telemetry))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to