Title: [252643] trunk/Source/WebKit
Revision
252643
Author
pvol...@apple.com
Date
2019-11-19 13:00:21 -0800 (Tue, 19 Nov 2019)

Log Message

[iOS] Fix sysctl-read sandbox violation
https://bugs.webkit.org/show_bug.cgi?id=204358
<rdar://problem/57298313>

Reviewed by Brent Fulgham.

The WebContent sandbox should allow sysctl-read of "kern.hostname", "kern.osrelease", and "kern.version".

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (252642 => 252643)


--- trunk/Source/WebKit/ChangeLog	2019-11-19 20:53:34 UTC (rev 252642)
+++ trunk/Source/WebKit/ChangeLog	2019-11-19 21:00:21 UTC (rev 252643)
@@ -1,3 +1,15 @@
+2019-11-19  Per Arne Vollan  <pvol...@apple.com>
+
+        [iOS] Fix sysctl-read sandbox violation
+        https://bugs.webkit.org/show_bug.cgi?id=204358
+        <rdar://problem/57298313>
+
+        Reviewed by Brent Fulgham.
+
+        The WebContent sandbox should allow sysctl-read of "kern.hostname", "kern.osrelease", and "kern.version".
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2019-11-19  John Wilander  <wilan...@apple.com>
 
         Resource Load Statistics: Count third-party script loads under top frame

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (252642 => 252643)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2019-11-19 20:53:34 UTC (rev 252642)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2019-11-19 21:00:21 UTC (rev 252643)
@@ -849,10 +849,13 @@
         "hw.physicalcpu"
         "hw.physicalcpu_max"
         "kern.bootargs"
+        "kern.hostname"
         "kern.memorystatus_level"
         "kern.osproductversion"
+        "kern.osrelease"
         "kern.osvariant_status"
         "kern.secure_kernel"
+        "kern.version"
         "vm.footprint_suspend"))
 
 (allow iokit-get-properties
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to