Title: [286852] trunk/Source/WebKit
Revision
286852
Author
[email protected]
Date
2021-12-10 08:33:19 -0800 (Fri, 10 Dec 2021)

Log Message

Fix sandbox build error
https://bugs.webkit.org/show_bug.cgi?id=234146

Unreviewed fix sandbox build error after r286460.


* GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
* NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
* Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
* Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (286851 => 286852)


--- trunk/Source/WebKit/ChangeLog	2021-12-10 16:20:40 UTC (rev 286851)
+++ trunk/Source/WebKit/ChangeLog	2021-12-10 16:33:19 UTC (rev 286852)
@@ -1,3 +1,17 @@
+2021-12-10  Per Arne Vollan  <[email protected]>
+
+        Fix sandbox build error
+        https://bugs.webkit.org/show_bug.cgi?id=234146
+
+        Unreviewed fix sandbox build error after r286460.
+
+        * GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
+        * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-12-10  Chris Dumez  <[email protected]>
 
         Unreviewed, reverting r282794.

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


--- trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2021-12-10 16:20:40 UTC (rev 286851)
+++ trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2021-12-10 16:33:19 UTC (rev 286852)
@@ -1004,4 +1004,4 @@
         SYS_workq_kernreturn)))
 
 (when (defined? 'SYS__map_with_linking_np)
-    (allow syscall-unix SYS__map_with_linking_np))
+    (allow syscall-unix (syscall-number SYS__map_with_linking_np)))

Modified: trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in (286851 => 286852)


--- trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in	2021-12-10 16:20:40 UTC (rev 286851)
+++ trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in	2021-12-10 16:33:19 UTC (rev 286852)
@@ -571,7 +571,7 @@
         SYS_workq_kernreturn)))
 
 (when (defined? 'SYS__map_with_linking_np)
-    (allow syscall-unix SYS__map_with_linking_np))
+    (allow syscall-unix (syscall-number SYS__map_with_linking_np)))
 
 #if HAVE(SANDBOX_MESSAGE_FILTERING)
 (when (and (equal? (param "ENABLE_SANDBOX_MESSAGE_FILTER") "YES") (defined? 'mach-kernel-endpoint))

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (286851 => 286852)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2021-12-10 16:20:40 UTC (rev 286851)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2021-12-10 16:33:19 UTC (rev 286852)
@@ -808,7 +808,7 @@
         SYS_writev)))
 
 (when (defined? 'SYS__map_with_linking_np)
-    (allow syscall-unix SYS__map_with_linking_np))
+    (allow syscall-unix (syscall-number SYS__map_with_linking_np)))
 
 (when (defined? 'syscall-mach)
     (allow syscall-mach (with telemetry))

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (286851 => 286852)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2021-12-10 16:20:40 UTC (rev 286851)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2021-12-10 16:33:19 UTC (rev 286852)
@@ -738,7 +738,7 @@
         SYS_writev)))
 
 (when (defined? 'SYS__map_with_linking_np)
-    (allow syscall-unix SYS__map_with_linking_np))
+    (allow syscall-unix (syscall-number SYS__map_with_linking_np)))
 
 (when (defined? 'syscall-mach)
     (allow syscall-mach (with report) (with telemetry))

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in (286851 => 286852)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-12-10 16:20:40 UTC (rev 286851)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in	2021-12-10 16:33:19 UTC (rev 286852)
@@ -1346,7 +1346,7 @@
 )
 
 (when (defined? 'SYS__map_with_linking_np)
-    (allow syscall-unix SYS__map_with_linking_np))
+    (allow syscall-unix (syscall-number SYS__map_with_linking_np)))
 
 (with-filter (system-attribute apple-internal)
     (when (defined? 'syscall-unix)

Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (286851 => 286852)


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-12-10 16:20:40 UTC (rev 286851)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-12-10 16:33:19 UTC (rev 286852)
@@ -2045,7 +2045,7 @@
         (allow syscall-unix (syscall-number SYS_objc_bp_assist_cfg_np)))
 #endif
     (when (defined? 'SYS__map_with_linking_np)
-        (allow syscall-unix SYS__map_with_linking_np))
+        (allow syscall-unix (syscall-number SYS__map_with_linking_np)))
 )
 
 #if USE(APPLE_INTERNAL_SDK)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to