Title: [285773] trunk/Source/WebKit
Revision
285773
Author
pvol...@apple.com
Date
2021-11-13 08:09:17 -0800 (Sat, 13 Nov 2021)

Log Message

[iOS][GPUP] Add system call logging
https://bugs.webkit.org/show_bug.cgi?id=233079
<rdar://problem/85362041>

Reviewed by Brent Fulgham.

Add telemetry for system calls in the GPU process' sandbox on iOS.

* Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285772 => 285773)


--- trunk/Source/WebKit/ChangeLog	2021-11-13 04:45:28 UTC (rev 285772)
+++ trunk/Source/WebKit/ChangeLog	2021-11-13 16:09:17 UTC (rev 285773)
@@ -1,3 +1,15 @@
+2021-11-13  Per Arne Vollan  <pvol...@apple.com>
+
+        [iOS][GPUP] Add system call logging
+        https://bugs.webkit.org/show_bug.cgi?id=233079
+        <rdar://problem/85362041>
+
+        Reviewed by Brent Fulgham.
+
+        Add telemetry for system calls in the GPU process' sandbox on iOS.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
+
 2021-11-12  Darin Adler  <da...@apple.com>
 
         Make sort-Xcode-project-file idempotent

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (285772 => 285773)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2021-11-13 04:45:28 UTC (rev 285772)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2021-11-13 16:09:17 UTC (rev 285773)
@@ -791,3 +791,42 @@
         SYS_workq_open
         SYS_write_nocancel
         SYS_writev)))
+
+(when (defined? 'syscall-mach)
+    (allow syscall-mach (with telemetry))
+    (allow syscall-mach
+        (machtrap-number
+            MSC__kernelrpc_mach_port_allocate_trap
+            MSC__kernelrpc_mach_port_construct_trap
+            MSC__kernelrpc_mach_port_deallocate_trap
+            MSC__kernelrpc_mach_port_destruct_trap
+            MSC__kernelrpc_mach_port_extract_member_trap
+            MSC__kernelrpc_mach_port_get_attributes_trap
+            MSC__kernelrpc_mach_port_guard_trap
+            MSC__kernelrpc_mach_port_insert_member_trap
+            MSC__kernelrpc_mach_port_insert_right_trap
+            MSC__kernelrpc_mach_port_mod_refs_trap
+            MSC__kernelrpc_mach_port_request_notification_trap
+            MSC__kernelrpc_mach_port_type_trap
+            MSC__kernelrpc_mach_vm_allocate_trap
+            MSC__kernelrpc_mach_vm_deallocate_trap
+            MSC__kernelrpc_mach_vm_map_trap
+            MSC__kernelrpc_mach_vm_protect_trap
+            MSC_host_create_mach_voucher_trap
+            MSC_host_self_trap
+            MSC_mach_generate_activity_id
+            MSC_mach_msg_trap
+            MSC_mach_reply_port
+            MSC_mach_timebase_info_trap
+            MSC_mach_voucher_extract_attr_recipe_trap
+            MSC_mk_timer_arm
+            MSC_mk_timer_cancel
+            MSC_mk_timer_create
+            MSC_pid_for_task
+            MSC_semaphore_signal_trap
+            MSC_semaphore_timedwait_trap
+            MSC_semaphore_wait_trap
+            MSC_syscall_thread_switch
+            MSC_task_name_for_pid
+            MSC_task_self_trap
+            MSC_thread_get_special_reply_port)))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to