Title: [289052] trunk/Source/WebKit
Revision
289052
Author
pvol...@apple.com
Date
2022-02-03 07:14:08 -0800 (Thu, 03 Feb 2022)

Log Message

[GPUP] Add read access to sysctl properties
https://bugs.webkit.org/show_bug.cgi?id=236018
<rdar://problem/88382949>

Reviewed by Darin Adler.

Add read access to sysctl properties based on telemetry.

* GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
* Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (289051 => 289052)


--- trunk/Source/WebKit/ChangeLog	2022-02-03 14:51:37 UTC (rev 289051)
+++ trunk/Source/WebKit/ChangeLog	2022-02-03 15:14:08 UTC (rev 289052)
@@ -1,3 +1,16 @@
+2022-02-03  Per Arne Vollan  <pvol...@apple.com>
+
+        [GPUP] Add read access to sysctl properties
+        https://bugs.webkit.org/show_bug.cgi?id=236018
+        <rdar://problem/88382949>
+
+        Reviewed by Darin Adler.
+
+        Add read access to sysctl properties based on telemetry.
+        
+        * GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
+
 2022-02-03  Youenn Fablet  <you...@apple.com>
 
         MediaRecorderPrivate should not need to create IOSurfaces

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


--- trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2022-02-03 14:51:37 UTC (rev 289051)
+++ trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in	2022-02-03 15:14:08 UTC (rev 289052)
@@ -152,17 +152,24 @@
         "hw.l2cachesize"
         "hw.logicalcpu"
         "hw.logicalcpu_max"
+        "hw.machine"
         "hw.memsize"
         "hw.model"
         "hw.ncpu"
         "hw.physicalcpu"
         "hw.physicalcpu_max"
+        "hw.product"
+        "hw.target"
         "hw.vectorunit"
         "kern.hostname"
         "kern.hv_vmm_present"
+        "kern.iossupportversion"
         "kern.maxfilesperproc"
         "kern.osproductversion"
-        "kern.osrelease")
+        "kern.osrelease"
+        "kern.ostype"
+        "kern.osversion"
+        "kern.version")
     (sysctl-name-prefix "hw.optional.") ;; <rdar://problem/71462790>
     (sysctl-name-prefix "hw.perflevel") ;; <rdar://problem/76783596>
 )

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


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2022-02-03 14:51:37 UTC (rev 289051)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2022-02-03 15:14:08 UTC (rev 289052)
@@ -532,9 +532,11 @@
         "hw.pagesize_compat"
         "hw.physicalcpu_max"
         "hw.product" ;; <rdar://problem/81334849>
+        "kern.bootargs"
         "kern.osproductversion"
         "kern.osvariant_status"
         "kern.secure_kernel"
+        "kern.osversion"
         "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