⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 280644 in webkit


Ignore:
Timestamp:
Aug 4, 2021, 11:28:50 AM (5 years ago)
Author:
pvollan@apple.com
Message:

[macOS] Update message filters
https://bugs.webkit.org/show_bug.cgi?id=228773
<rdar://problem/81514311>

Reviewed by Brent Fulgham.

Update message filters with enforcement on macOS based on telemetry.

  • WebProcess/com.apple.WebProcess.sb.in:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r280639 r280644  
     12021-08-04  Per Arne  <pvollan@apple.com>
     2
     3        [macOS] Update message filters
     4        https://bugs.webkit.org/show_bug.cgi?id=228773
     5        <rdar://problem/81514311>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        Update message filters with enforcement on macOS based on telemetry.
     10
     11        * WebProcess/com.apple.WebProcess.sb.in:
     12
    1132021-08-04  Said Abou-Hallawa  <said@apple.com>
    214
  • trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r280345 r280644  
    241241(define (AppleAVDUserClientMessageFilter)
    242242    (apply-message-filter
    243         (allow (with telemetry) (with message "AppleAVDUserClient")
     243        (deny (with telemetry) (with message "AppleAVDUserClient")
    244244            iokit-async-external-method
    245245            iokit-external-method
     
    251251(define (IOSurfaceAcceleratorClientMessageFilter)
    252252    (apply-message-filter
    253         (allow (with telemetry) (with message "IOSurfaceAcceleratorClient")
     253        (deny (with telemetry) (with message "IOSurfaceAcceleratorClient")
    254254            iokit-async-external-method
    255             iokit-external-method
    256255            iokit-external-trap
     256        )
     257        (allow iokit-external-method
     258#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000
     259            (iokit-method-number
     260                1
     261            )
     262#endif
    257263        )
    258264    )
     
    261267(define (IOMobileFramebufferUserClientMessageFilter)
    262268    (apply-message-filter
    263         (allow (with telemetry-backtrace) (with message "IOMobileFramebufferUserClient")
     269        (deny (with telemetry) (with message "IOMobileFramebufferUserClient")
    264270            iokit-async-external-method
    265             iokit-external-method
    266271            iokit-external-trap
     272        )
     273        (allow (with telemetry-backtrace) iokit-external-method
     274#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000
     275            (iokit-method-number
     276                8
     277                28
     278            )
     279#endif
    267280        )
    268281    )
Note: See TracChangeset for help on using the changeset viewer.