Changeset 261490 in webkit


Ignore:
Timestamp:
May 11, 2020, 12:45:37 PM (5 years ago)
Author:
pvollan@apple.com
Message:

[iOS] Update message filtering rules in the WebContent process' sandbox
https://bugs.webkit.org/show_bug.cgi?id=211188
<rdar://problem/60922910>

Reviewed by Brent Fulgham.

Based on telemetry and local testing, update the message filtering rules in the WebContent process' sandbox on iOS.
Messages that have not been observed being in use, should be denied.

No new tests, covered by existing tests.

  • Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r261489 r261490  
     12020-05-11  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [iOS] Update message filtering rules in the WebContent process' sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=211188
     5        <rdar://problem/60922910>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        Based on telemetry and local testing, update the message filtering rules in the WebContent process' sandbox on iOS.
     10        Messages that have not been observed being in use, should be denied.
     11
     12        No new tests, covered by existing tests.
     13
     14        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     15
    1162020-05-11  Chris Dumez  <cdumez@apple.com>
    217
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r261449 r261490  
    12141214)
    12151215
    1216 (when (defined? 'mach_make_memory_entry)
    12171216(when (defined? 'mach-kernel-endpoint)
    12181217    (allow mach-kernel-endpoint
    12191218        (apply-message-filter
    1220             (allow mach-message-send (with report) (with telemetry))
     1219            (deny mach-message-send (with telemetry))
    12211220            (allow mach-message-send (kernel-mig-routine
     1221                (when (defined? '_mach_make_memory_entry) _mach_make_memory_entry)
    12221222                host_get_clock_service
    12231223                host_get_io_master
     
    12391239                io_service_get_matching_services_bin
    12401240                io_service_open_extended
    1241                 mach_make_memory_entry
     1241                mach_exception_raise
     1242                (when (defined? 'mach_make_memory_entry) mach_make_memory_entry)
    12421243                mach_port_get_context_from_user
    12431244                mach_port_request_notification
     
    12661267    )
    12671268)
    1268 )
Note: See TracChangeset for help on using the changeset viewer.