Title: [231254] trunk/Source/WebKit
Revision
231254
Author
[email protected]
Date
2018-05-02 12:29:30 -0700 (Wed, 02 May 2018)

Log Message

Adjust sandbox profile in simulator mode.
https://bugs.webkit.org/show_bug.cgi?id=185172
<rdar://problem/39876860>

Reviewed by Brent Fulgham.

Fix some sandbox violations.

* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (231253 => 231254)


--- trunk/Source/WebKit/ChangeLog	2018-05-02 19:17:49 UTC (rev 231253)
+++ trunk/Source/WebKit/ChangeLog	2018-05-02 19:29:30 UTC (rev 231254)
@@ -1,3 +1,15 @@
+2018-05-02  Per Arne Vollan  <[email protected]>
+
+        Adjust sandbox profile in simulator mode.
+        https://bugs.webkit.org/show_bug.cgi?id=185172
+        <rdar://problem/39876860>
+
+        Reviewed by Brent Fulgham.
+
+        Fix some sandbox violations.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2018-05-02  Brian Burg  <[email protected]>
 
         Web Inspector: opt out of process swap on navigation if a Web Inspector frontend is connected

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2018-05-02 19:17:49 UTC (rev 231253)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2018-05-02 19:29:30 UTC (rev 231254)
@@ -25,7 +25,7 @@
 (deny default (with partial-symbolication))
 (allow system-audit file-read-metadata)
 
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
 (import "system.sb")
 #else
 ;;;
@@ -337,7 +337,7 @@
     (iokit-property "saved-config")
     (iokit-property "startup-timing")
     (iokit-property "touch-size-id")
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
+#if !PLATFORM(MAC) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
     (iokit-property "ATY,cbits")
     (iokit-property "ATY,intrev")
     (iokit-property "AccelNativeDMARowByteAlignment")
@@ -624,7 +624,7 @@
 (system-graphics)
 
 ;; Networking
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
 (system-network)
 #endif
 (allow network-outbound
@@ -634,7 +634,7 @@
        (literal "/private/var/run/mDNSResponder")
        (remote tcp))
 
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
+#if !PLATFORM(MAC) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
 ;; CFNetwork
 (allow file-read-data (path "/private/var/db/nsurlstoraged/dafsaData.bin"))
 #endif
@@ -645,7 +645,7 @@
        (global-name "com.apple.GSSCred")
        (global-name "com.apple.system.logger")
        (global-name "com.apple.system.notification_center"))
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
 (allow network-outbound
        (remote udp))
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to