Title: [277155] trunk/Source/WebKit
Revision
277155
Author
[email protected]
Date
2021-05-06 19:38:20 -0700 (Thu, 06 May 2021)

Log Message

[iOS] Allow file-read* and file-write-data for /dev/null and /dev/zero
https://bugs.webkit.org/show_bug.cgi?id=225482
<rdar://problem/77503594>

Reviewed by Per Arne Vollan.

Revise sandbox to allow read and write-data access to /dev/null and /dev/zero.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (277154 => 277155)


--- trunk/Source/WebKit/ChangeLog	2021-05-07 02:14:00 UTC (rev 277154)
+++ trunk/Source/WebKit/ChangeLog	2021-05-07 02:38:20 UTC (rev 277155)
@@ -1,3 +1,15 @@
+2021-05-06  Brent Fulgham  <[email protected]>
+
+        [iOS] Allow file-read* and file-write-data for /dev/null and /dev/zero
+        https://bugs.webkit.org/show_bug.cgi?id=225482
+        <rdar://problem/77503594>
+
+        Reviewed by Per Arne Vollan.
+
+        Revise sandbox to allow read and write-data access to /dev/null and /dev/zero.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+
 2021-05-06  Chris Dumez  <[email protected]>
 
         Retry asynchronously in WebProcessPool::getGPUProcessConnection() in case of failure

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


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2021-05-07 02:14:00 UTC (rev 277154)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2021-05-07 02:38:20 UTC (rev 277155)
@@ -642,6 +642,10 @@
     (literal "/dev/random")
     (literal "/dev/urandom"))
 
+(allow file-read* file-write-data
+    (literal "/dev/null")
+    (literal "/dev/zero"))
+
 (if (system-attribute apple-internal)
     (allow file-read* file-write-data file-ioctl
         (literal "/dev/dtracehelper"))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to