Changeset 286557 in webkit
- Timestamp:
- Dec 6, 2021, 11:45:31 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in (modified) (1 diff)
-
UIProcess/WebPageProxy.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r286552 r286557 1 2021-12-06 Per Arne Vollan <pvollan@apple.com> 2 3 [iOS][WP] Block access to unused IOKit class 4 https://bugs.webkit.org/show_bug.cgi?id=233866 5 <rdar://problem/86086475> 6 7 Reviewed by Brent Fulgham. 8 9 Block access to IOKit class IOMobileFramebufferUserClient in the WebContent process' sandbox on iOS, 10 which is unused according to telemetry. 11 12 * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in: 13 * UIProcess/WebPageProxy.cpp: 14 (WebKit::gpuIOKitClasses): 15 1 16 2021-12-06 Matt Gilligan <matthew_gilligan@apple.com> 2 17 -
trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
r286469 r286557 93 93 94 94 (define-once (framebuffer-access) 95 (allow iokit-open 96 (require-all 97 (extension "com.apple.webkit.extension.iokit") 98 (iokit-user-client-class "IOMobileFramebufferUserClient") 99 ) 100 (when (defined? 'iokit-external-method) 101 (apply-message-filter 102 (deny (with telemetry) 103 iokit-async-external-method 104 iokit-external-method 105 iokit-external-trap) 106 (allow (with telemetry) iokit-external-method 107 (iokit-method-number 108 8 109 28 110 ) 111 ) 112 ) 113 ) 114 ) 95 (deny iokit-open (with telemetry-backtrace) 96 (iokit-user-client-class "IOMobileFramebufferUserClient")) 115 97 116 98 ; IOMobileFramebuffer 117 99 (with-filter (iokit-registry-entry-class "IOMobileFramebuffer") 118 (allow iokit-get-properties 100 (allow iokit-get-properties (with telemetry) 119 101 (iokit-property "AppleTV" 120 102 "DisplayPipePlaneBaseAlignment" -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r286505 r286557 8053 8053 "IOSurfaceRootUserClient"_s, 8054 8054 #endif 8055 #if (PLATFORM(MAC) && CPU(ARM64)) || PLATFORM(IOS_FAMILY)8055 #if PLATFORM(MAC) && CPU(ARM64) 8056 8056 "IOMobileFramebufferUserClient"_s, 8057 #endif 8058 #if PLATFORM(MAC) && CPU(ARM64) || PLATFORM(IOS_FAMILY) 8057 8059 "IOSurfaceAcceleratorClient"_s, 8058 8060 #endif
Note:
See TracChangeset
for help on using the changeset viewer.