Skip to content

Commit

Permalink
Unreviewed, reverting 268417@main.
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=262502

Introduced page unresponsiveness

Reverted changeset:

"[macOS] Block IOKit related mig syscalls when IOKit is blocked"
https://bugs.webkit.org/show_bug.cgi?id=262052
https://commits.webkit.org/268417@main

Canonical link: https://commits.webkit.org/268743@main
  • Loading branch information
webkit-commit-queue authored and pvollan committed Oct 2, 2023
1 parent 68804be commit af4b7f4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
Original file line number Diff line number Diff line change
Expand Up @@ -2143,18 +2143,18 @@
thread_suspend))

(define (kernel-mig-routines-possibly-in-use) (kernel-mig-routine
io_connect_add_client
io_connect_async_method
io_connect_method
io_connect_method_var_output
io_connect_set_notification_port_64
io_registry_entry_get_property_bytes
mach_exception_raise
mach_port_extract_right
mach_port_get_context_from_user
mach_vm_region))

(define (kernel-mig-routines-iokit-service) (kernel-mig-routine
io_connect_add_client
io_connect_async_method
io_connect_method
io_connect_method_var_output
io_connect_set_notification_port_64
io_service_add_interest_notification_64
io_service_add_notification_bin_64
io_service_get_matching_service_bin
Expand Down Expand Up @@ -2197,12 +2197,7 @@
#endif

(allow mach-message-send (kernel-mig-routines-in-use))
#if HAVE(SANDBOX_STATE_FLAGS)
(with-filter (require-not (state-flag "BlockIOKitInWebContentSandbox"))
(allow mach-message-send (kernel-mig-routines-iokit-service)))
#else
(allow mach-message-send (kernel-mig-routines-iokit-service))
#endif
(allow mach-message-send (with report) (with telemetry) (kernel-mig-routines-possibly-in-use))

#if HAVE(SANDBOX_STATE_FLAGS) && HAVE(MACH_RANGE_CREATE)
Expand Down

0 comments on commit af4b7f4

Please sign in to comment.