Changeset 277400 in webkit
- Timestamp:
- May 12, 2021, 3:59:16 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 9 edited
-
ChangeLog (modified) (1 diff)
-
GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in (modified) (3 diffs)
-
NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in (modified) (5 diffs)
-
Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (modified) (1 diff)
-
Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (modified) (1 diff)
-
Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb (modified) (1 diff)
-
Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (modified) (1 diff)
-
WebAuthnProcess/mac/com.apple.WebKit.WebAuthnProcess.sb.in (modified) (2 diffs)
-
WebProcess/com.apple.WebProcess.sb.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r277389 r277400 1 2021-05-12 Brent Fulgham <bfulgham@apple.com> 2 3 [Cocoa] Silence uninteresting sandbox reports 4 https://bugs.webkit.org/show_bug.cgi?id=225713 5 <rdar://problem/77483132> 6 7 Reviewed by Per Arne Vollan. 8 9 Telemetry from the recently released iOS and macOS updates show a set of uninteresting sandbox violations. Most of 10 these are harmless, but all of them involve some runtime cost and may prevent code from making the best use of 11 available hardware and should be permitted. 12 13 These changes also bring the various sandboxes into better alignment, as many of these items had previously been 14 added to one of the other sandboxes. 15 16 * GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in: 17 * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in: 18 * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb: 19 * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb: 20 * Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb: 21 * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb: 22 * WebAuthnProcess/mac/com.apple.WebKit.WebAuthnProcess.sb.in: 23 * WebProcess/com.apple.WebProcess.sb.in: 24 1 25 2021-05-12 Wenson Hsieh <wenson_hsieh@apple.com> 2 26 -
trunk/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in
r277217 r277400 153 153 ;;; process-info* defaults to allow; deny it and then allow operations we actually need. 154 154 (deny process-info*) 155 (allow process-info-dirtycontrol (target self)) 155 156 (allow process-info-pidinfo) 156 157 (allow process-info-setcontrol (target self)) … … 162 163 "hw.byteorder" 163 164 "hw.busfrequency_max" 165 "hw.cputhreadtype" 164 166 "hw.cputype" 165 167 "hw.machine" … … 373 375 (iokit-property "graphic-options") 374 376 (iokit-property "hda-gfx") 377 (iokit-property "housing-color") 375 378 (iokit-property-regex #"^id(Product|Vendor)") 376 379 (iokit-property "iofb_version") -
trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in
r277309 r277400 166 166 ;;; process-info* defaults to allow; deny it and then allow operations we actually need. 167 167 (deny process-info*) 168 (allow process-info-dirtycontrol (target self)) 168 169 (allow process-info-pidinfo) 169 170 (allow process-info-setcontrol (target self)) … … 173 174 (sysctl-name 174 175 "hw.availcpu" 176 "hw.cputhreadtype" 175 177 "hw.ncpu" 176 178 "hw.memsize" … … 182 184 "kern.osversion" ;; Needed by WebKit and ASL logging. 183 185 "kern.tcsm_available" ;; Needed for IndexedDB support. 186 "kern.tcsm_enable" 184 187 "kern.ostype" 185 188 "kern.version" … … 190 193 ) 191 194 195 (allow sysctl-write 196 (sysctl-name 197 "kern.tcsm_enable")) 198 192 199 (deny iokit-get-properties) 193 200 (allow iokit-get-properties … … 196 203 "IOClassNameOverride" 197 204 "IOMediaIcon" 205 "IOServiceDEXTEntitlements" 206 "No-idle-support" 198 207 "Product Identification" 199 208 "Protocol Characteristics" 200 209 "Removable" 210 "acpi-pmcap-offset" 211 "driver-child-bundle" 212 "iommu-selection" 201 213 ) 202 214 ) -
trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb
r277208 r277400 800 800 "hw.availcpu" 801 801 "hw.cachelinesize" 802 "hw.cputhreadtype" 802 803 "hw.cputype" 803 804 "hw.l2cachesize" -
trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb
r277309 r277400 432 432 (sysctl-name "hw.cpufrequency_max") 433 433 (sysctl-name "hw.cpusubtype") 434 (sysctl-name "hw.cputhreadtype") 434 435 (sysctl-name "hw.cputype") 435 436 (sysctl-name "hw.l1dcachesize") -
trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb
r277032 r277400 478 478 "hw.availcpu" 479 479 "hw.cachelinesize" 480 "hw.cputhreadtype" 480 481 "hw.cputype" 481 482 "hw.l2cachesize" -
trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb
r277218 r277400 926 926 "hw.cachelinesize_compat" 927 927 "hw.cpufamily" ;; <rdar://problem/58416475> 928 "hw.cputhreadtype" 928 929 "hw.cputype" 929 930 "hw.l2cachesize" -
trunk/Source/WebKit/WebAuthnProcess/mac/com.apple.WebKit.WebAuthnProcess.sb.in
r277331 r277400 103 103 ;;; process-info* defaults to allow; deny it and then allow operations we actually need. 104 104 (deny process-info*) 105 (allow process-info-dirtycontrol (target self)) 105 106 (allow process-info-pidinfo) 106 107 (allow process-info-setcontrol (target self)) … … 112 113 "hw.byteorder" 113 114 "hw.busfrequency_max" 115 "hw.cputhreadtype" 114 116 "hw.cputype" 115 117 "hw.machine" -
trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
r277331 r277400 779 779 (iokit-property "graphic-options") 780 780 (iokit-property "hda-gfx") 781 (iokit-property "housing-color") 781 782 (iokit-property-regex #"^id(Product|Vendor)") 782 783 (iokit-property "iofb_version")
Note:
See TracChangeset
for help on using the changeset viewer.