Skip to content

Commit

Permalink
Block IOKit related syscalls
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=271740
rdar://119001315

Reviewed by Sihui Liu.

All IOKit related syscalls can be blocked in the WebContent process sandbox on iOS,
since all use of IOKit is blocked by the sandbox.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:

Canonical link: https://commits.webkit.org/276743@main
  • Loading branch information
pvollan committed Mar 27, 2024
1 parent c51e76f commit 5ff65f3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1372,12 +1372,14 @@
(define (kernel-mig-routine-rarely-used-need-backtrace-blocked-in-lockdown-mode)
(kernel-mig-routine
clock_get_time
#if !ENABLE(WEBCONTENT_GPU_SANDBOX_EXTENSIONS_BLOCKING)
io_connect_add_client
io_connect_async_method
io_connect_map_memory_into_task ;; <rdar://88300200>
io_connect_method
io_connect_set_notification_port_64
io_service_close
#endif
mach_exception_raise
mach_vm_region
task_threads_from_user))
Expand Down

0 comments on commit 5ff65f3

Please sign in to comment.