Changeset 216941 in webkit
- Timestamp:
- May 16, 2017 12:09:05 PM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r216935 r216941 1 2017-05-16 Brent Fulgham <bfulgham@apple.com> 2 3 [WK2][macOS] Adopt a whitelist for XPC services 4 https://bugs.webkit.org/show_bug.cgi?id=172151 5 <rdar://problem/31916325> 6 7 Reviewed by Alex Christensen. 8 9 * DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in: 10 * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in: 11 * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in: 12 * WebProcess/com.apple.WebProcess.sb.in: 13 1 14 2017-05-16 Timothy Horton <timothy_horton@apple.com> 2 15 -
trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in
r216779 r216941 44 44 45 45 (deny iokit-get-properties) 46 #endif 47 48 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 49 (deny mach-lookup (xpc-service-name-prefix "")) 46 50 #endif 47 51 … … 103 107 (allow system-fsctl (fsctl-command (_IO "h" 47))) 104 108 105 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300106 109 ;; Various services required by CFNetwork and other frameworks 107 110 (allow mach-lookup 108 (global-name "com.apple.analyticsd")) 111 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 112 (global-name "com.apple.analyticsd") 109 113 #endif 114 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 115 (global-name "com.apple.lsd.mapdb") 116 #endif 117 ) 110 118 111 119 ;; Sandbox extensions -
trunk/Source/WebKit2/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in
r216877 r216941 46 46 #endif 47 47 48 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 49 (deny mach-lookup (xpc-service-name-prefix "")) 50 #endif 51 48 52 ;; Utility functions for home directory relative path filters 49 53 (define (home-regex home-relative-regex) … … 150 154 (global-name "com.apple.cfnetwork.AuthBrokerAgent") 151 155 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 156 (global-name "com.apple.lsd.mapdb") 152 157 (global-name "com.apple.nesessionmanager.flow-divert-token") 153 158 #endif -
trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in
r216893 r216941 75 75 #endif 76 76 77 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 78 (deny mach-lookup (xpc-service-name-prefix "")) 79 #endif 80 77 81 ;; Utility functions 78 82 (define (home-literal home-relative-literal) … … 308 312 (global-name "com.apple.coreservices.launchservicesd") 309 313 (global-name "com.apple.fonts") 314 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 315 (global-name "com.apple.lsd.mapdb") 316 #endif 310 317 (global-name "com.apple.ocspd") 311 318 (global-name "com.apple.pasteboard.1") -
trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in
r216779 r216941 130 130 #endif 131 131 132 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 133 (deny mach-lookup (xpc-service-name-prefix "")) 134 (allow mach-lookup 135 (xpc-service-name "com.apple.accessibility.mediaaccessibilityd") 136 (xpc-service-name "com.apple.audio.SandboxHelper") 137 (xpc-service-name "com.apple.coremedia.videodecoder") 138 (xpc-service-name-regex #"\.apple-extension-service$") 139 ) 140 #endif 141 132 142 ;; Utility functions for home directory relative path filters 133 143 (define (home-regex home-relative-regex) … … 341 351 #endif 342 352 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 353 (global-name "com.apple.lsd.mapdb") 343 354 (global-name "com.apple.nesessionmanager.flow-divert-token") 344 355 #endif
Note: See TracChangeset
for help on using the changeset viewer.