Changeset 276515 in webkit
- Timestamp:
- Apr 23, 2021, 1:11:39 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (modified) (1 diff)
-
Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r276514 r276515 1 2021-04-23 Brent Fulgham <bfulgham@apple.com> 2 3 [iOS] GPU Process sandbox lacks IOMobileFramebufferUserClient method filter 4 https://bugs.webkit.org/show_bug.cgi?id=224956 5 <rdar://problem/68227590> 6 7 Reviewed by Per Arne Vollan. 8 9 This patch updates the GPU process sandbox to match the method filter used in the WebContent process 10 so that we will retain consistent protections when activating the GPU Process. These are the same rules 11 governing access to this resource when the GPU process is disabled, so should not create a change in behavior. 12 13 We also remove unneeded telemetry to reduce messaging burden and avoid performance issues. 14 15 * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb: 16 * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb: 17 1 18 2021-04-23 BJ Burg <bburg@apple.com> 2 19 -
trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb
r276477 r276515 88 88 (define-once (framebuffer-access) 89 89 (allow iokit-open 90 (iokit-user-client-class "IOMobileFramebufferUserClient")) 90 (iokit-user-client-class "IOMobileFramebufferUserClient") 91 (when (defined? 'iokit-external-method) 92 (apply-message-filter 93 (deny (with telemetry) 94 iokit-async-external-method 95 iokit-external-trap) 96 (allow 97 iokit-external-method) 98 ) 99 ) 100 ) 91 101 (mobile-preferences-read "com.apple.iokit.IOMobileGraphicsFamily")) 92 102 -
trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb
r276451 r276515 97 97 iokit-async-external-method 98 98 iokit-external-trap) 99 (allow (with telemetry) (with message "IOMobileFramebufferUserClient")99 (allow 100 100 iokit-external-method) 101 101 )
Note:
See TracChangeset
for help on using the changeset viewer.