Changeset 269867 in webkit
- Timestamp:
- Nov 16, 2020 11:52:43 AM (3 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r269865 r269867 1 2020-11-16 Per Arne Vollan <pvollan@apple.com> 2 3 [macOS] The WebContent sandbox does not apply for open source builds 4 https://bugs.webkit.org/show_bug.cgi?id=218982 5 6 Reviewed by Alexey Proskuryakov. 7 8 Add HAVE define for sandbox message filtering. 9 10 * wtf/PlatformHave.h: 11 1 12 2020-11-16 Megan Gardner <megan_gardner@apple.com> 2 13 -
trunk/Source/WTF/wtf/PlatformHave.h
r269810 r269867 771 771 #define HAVE_AVCAPTUREDEVICE 1 772 772 #endif 773 774 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 110000 && defined __has_include && __has_include(<CoreFoundation/CFPriv.h>) 775 #define HAVE_SANDBOX_MESSAGE_FILTERING 1 776 #endif -
trunk/Source/WebKit/ChangeLog
r269865 r269867 1 2020-11-16 Per Arne Vollan <pvollan@apple.com> 2 3 [macOS] The WebContent sandbox does not apply for open source builds 4 https://bugs.webkit.org/show_bug.cgi?id=218982 5 6 Reviewed by Alexey Proskuryakov. 7 8 The WebContent sandbox does not apply for open source builds on macOS, since it has enabled message filtering, 9 which requires a private entitlement. 10 11 * WebProcess/com.apple.WebProcess.sb.in: 12 1 13 2020-11-16 Megan Gardner <megan_gardner@apple.com> 2 14 -
trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
r269792 r269867 113 113 (allow iokit-open 114 114 (iokit-connection "IOAccelerator") 115 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000115 #if HAVE(SANDBOX_MESSAGE_FILTERING) 116 116 (with telemetry-backtrace) 117 117 (apply-message-filter … … 128 128 (allow iokit-open 129 129 (iokit-registry-entry-class "IOAccelerationUserClient") 130 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000130 #if HAVE(SANDBOX_MESSAGE_FILTERING) 131 131 (with telemetry-backtrace) 132 132 (apply-message-filter … … 141 141 (allow iokit-open 142 142 (iokit-registry-entry-class "IOSurfaceRootUserClient") 143 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000143 #if HAVE(SANDBOX_MESSAGE_FILTERING) 144 144 (with telemetry-backtrace) 145 145 (apply-message-filter … … 156 156 (allow iokit-open 157 157 (iokit-registry-entry-class "IOSurfaceSendRight") 158 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000158 #if HAVE(SANDBOX_MESSAGE_FILTERING) 159 159 (with telemetry-backtrace) 160 160 (apply-message-filter … … 175 175 (allow iokit-open 176 176 (iokit-registry-entry-class "AppleIntelMEUserClient") 177 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000177 #if HAVE(SANDBOX_MESSAGE_FILTERING) 178 178 (with telemetry-backtrace) 179 179 (apply-message-filter … … 190 190 (allow iokit-open 191 191 (iokit-registry-entry-class "AppleSNBFBUserClient") 192 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000192 #if HAVE(SANDBOX_MESSAGE_FILTERING) 193 193 (with telemetry-backtrace) 194 194 (apply-message-filter … … 206 206 (allow iokit-open 207 207 (iokit-registry-entry-class "AGPMClient") 208 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000208 #if HAVE(SANDBOX_MESSAGE_FILTERING) 209 209 (with telemetry-backtrace) 210 210 (apply-message-filter … … 219 219 (allow iokit-open 220 220 (iokit-registry-entry-class "AppleGraphicsControlClient") 221 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000221 #if HAVE(SANDBOX_MESSAGE_FILTERING) 222 222 (with telemetry-backtrace) 223 223 (apply-message-filter … … 234 234 (allow iokit-open 235 235 (iokit-registry-entry-class "AppleGraphicsPolicyClient") 236 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000236 #if HAVE(SANDBOX_MESSAGE_FILTERING) 237 237 (with telemetry-backtrace) 238 238 (apply-message-filter … … 248 248 (allow iokit-open 249 249 (iokit-registry-entry-class "AppleMGPUPowerControlClient") 250 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000250 #if HAVE(SANDBOX_MESSAGE_FILTERING) 251 251 (with telemetry-backtrace) 252 252 (apply-message-filter … … 817 817 (allow iokit-open 818 818 (iokit-user-client-class "AppleUpstreamUserClient") 819 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000819 #if HAVE(SANDBOX_MESSAGE_FILTERING) 820 820 (with telemetry-backtrace) 821 821 (apply-message-filter … … 831 831 (allow iokit-open 832 832 (iokit-user-client-class "RootDomainUserClient") ;; Needed by WebCore::PerformanceMonitor 833 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000833 #if HAVE(SANDBOX_MESSAGE_FILTERING) 834 834 (with telemetry-backtrace) 835 835 (apply-message-filter … … 845 845 (allow iokit-open 846 846 (iokit-user-client-class "AudioAUUC") ;; <rdar://problem/10427451> && <rdar://problem/10808817> 847 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000847 #if HAVE(SANDBOX_MESSAGE_FILTERING) 848 848 (with telemetry-backtrace) 849 849 (apply-message-filter … … 859 859 (allow iokit-open 860 860 (iokit-user-client-class "IOAudioControlUserClient") 861 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000861 #if HAVE(SANDBOX_MESSAGE_FILTERING) 862 862 (with telemetry-backtrace) 863 863 (apply-message-filter … … 873 873 (allow iokit-open 874 874 (iokit-user-client-class "IOAudioEngineUserClient") 875 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000875 #if HAVE(SANDBOX_MESSAGE_FILTERING) 876 876 (with telemetry-backtrace) 877 877 (apply-message-filter … … 1169 1169 ;; QuickTimeUSBVDCDigitizer 1170 1170 (iokit-user-client-class "IOUSBDeviceUserClientV2") 1171 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 1100001171 #if HAVE(SANDBOX_MESSAGE_FILTERING) 1172 1172 (with telemetry-backtrace) 1173 1173 (apply-message-filter … … 1182 1182 (allow iokit-open 1183 1183 (iokit-user-client-class "IOUSBInterfaceUserClientV2") 1184 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 1100001184 #if HAVE(SANDBOX_MESSAGE_FILTERING) 1185 1185 (with telemetry-backtrace) 1186 1186 (apply-message-filter … … 1429 1429 #endif 1430 1430 1431 #if HAVE(SANDBOX_MESSAGE_FILTERING) 1431 1432 (when (defined? 'mach-bootstrap) 1432 1433 (allow mach-bootstrap … … 1551 1552 ) 1552 1553 ) 1554 #endif // HAVE(SANDBOX_MESSAGE_FILTERING)
Note: See TracChangeset
for help on using the changeset viewer.