Title: [270674] trunk/Source/WebKit
- Revision
- 270674
- Author
- [email protected]
- Date
- 2020-12-11 03:39:54 -0800 (Fri, 11 Dec 2020)
Log Message
[iOS] Remove access to the IOKIt class AGXDeviceUserClient in the WebContent process
https://bugs.webkit.org/show_bug.cgi?id=219733
<rdar://problem/70628137>
Reviewed by Brent Fulgham.
Remove access to the IOKIt class AGXDeviceUserClient in the WebContent process on iOS, since this is not needed when allowing access to IOGPU.
The IOGPU class is the superclass of AGXDeviceUserClient, and is the preferred IOKit reference to use according to the Sandbox team.
* Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
* UIProcess/WebPageProxy.cpp:
(WebKit::gpuIOKitClasses):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (270673 => 270674)
--- trunk/Source/WebKit/ChangeLog 2020-12-11 10:50:28 UTC (rev 270673)
+++ trunk/Source/WebKit/ChangeLog 2020-12-11 11:39:54 UTC (rev 270674)
@@ -1,5 +1,21 @@
2020-12-11 Per Arne Vollan <[email protected]>
+ [iOS] Remove access to the IOKIt class AGXDeviceUserClient in the WebContent process
+ https://bugs.webkit.org/show_bug.cgi?id=219733
+ <rdar://problem/70628137>
+
+ Reviewed by Brent Fulgham.
+
+ Remove access to the IOKIt class AGXDeviceUserClient in the WebContent process on iOS, since this is not needed when allowing access to IOGPU.
+ The IOGPU class is the superclass of AGXDeviceUserClient, and is the preferred IOKit reference to use according to the Sandbox team.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::gpuIOKitClasses):
+
+2020-12-11 Per Arne Vollan <[email protected]>
+
[macOS] Add telemetry for notification message filtering in sandbox
https://bugs.webkit.org/show_bug.cgi?id=219684
<rdar://problem/69819260>
Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (270673 => 270674)
--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb 2020-12-11 10:50:28 UTC (rev 270673)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb 2020-12-11 11:39:54 UTC (rev 270674)
@@ -252,7 +252,6 @@
(iokit-user-client-class
"AGXCommandQueue"
"AGXDevice"
- "AGXDeviceUserClient"
"AGXSharedUserClient"
"IOAccelContext"
"IOAccelDevice"
Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (270673 => 270674)
--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2020-12-11 10:50:28 UTC (rev 270673)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2020-12-11 11:39:54 UTC (rev 270674)
@@ -238,10 +238,6 @@
(extension "com.apple.webkit.extension.iokit")
(iokit-connection "IOGPU")
)
- (require-all
- (extension "com.apple.webkit.extension.iokit")
- (iokit-user-client-class "AGXDeviceUserClient") ;; Used by WebGL
- )
(when (defined? 'iokit-external-method)
(apply-message-filter
(deny (with telemetry)
@@ -990,7 +986,6 @@
(require-not (extension "com.apple.webkit.extension.iokit"))
(iokit-user-client-class
"IOMobileFramebufferUserClient"
- "AGXDeviceUserClient"
"AppleJPEGDriverUserClient"
"IOSurfaceAcceleratorClient"
"IOSurfaceRootUserClient"
Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (270673 => 270674)
--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2020-12-11 10:50:28 UTC (rev 270673)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2020-12-11 11:39:54 UTC (rev 270674)
@@ -7769,7 +7769,6 @@
ASSERT(isMainThread());
static const auto services = makeNeverDestroyed(Vector<ASCIILiteral> {
#if PLATFORM(IOS_FAMILY)
- "AGXDeviceUserClient"_s,
"AppleJPEGDriverUserClient"_s,
"IOGPU"_s,
"IOMobileFramebufferUserClient"_s,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes