Changeset 285969 in webkit
- Timestamp:
- Nov 17, 2021, 6:29:44 PM (5 years ago)
- Location:
- branches/safari-613.1.9-branch/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in (modified) (1 diff)
-
Scripts/process-entitlements.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613.1.9-branch/Source/WebKit/ChangeLog
r285968 r285969 1 2021-11-17 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r285869. rdar://problem/85529891 4 5 [macOS][GPUP] Add telemetry for syscalls 6 https://bugs.webkit.org/show_bug.cgi?id=232888 7 <rdar://problem/85207011> 8 9 Reviewed by Brent Fulgham. 10 11 Add more telemetry for syscalls in the GPU process' sandbox on macOS. Also add entitlement for the GPU 12 process to use message filtering. 13 14 * GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in: 15 * Scripts/process-entitlements.sh: 16 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285869 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2021-11-16 Per Arne Vollan <pvollan@apple.com> 21 22 [macOS][GPUP] Add telemetry for syscalls 23 https://bugs.webkit.org/show_bug.cgi?id=232888 24 <rdar://problem/85207011> 25 26 Reviewed by Brent Fulgham. 27 28 Add more telemetry for syscalls in the GPU process' sandbox on macOS. Also add entitlement for the GPU 29 process to use message filtering. 30 31 * GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in: 32 * Scripts/process-entitlements.sh: 33 1 34 2021-11-17 Alan Coon <alancoon@apple.com> 2 35 -
branches/safari-613.1.9-branch/Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in
r285968 r285969 857 857 ) 858 858 859 (when (and (equal? (param "ENABLE_SANDBOX_MESSAGE_FILTER") "YES") (defined? 'mach-kernel-endpoint)) 860 (allow mach-kernel-endpoint 861 (apply-message-filter 862 (allow mach-message-send (with telemetry))))) 863 864 (when (and (equal? (param "ENABLE_SANDBOX_MESSAGE_FILTER") "YES") (defined? 'syscall-mach)) 865 (allow syscall-mach (with telemetry)) 866 (allow syscall-mach (machtrap-number 867 MSC__kernelrpc_mach_port_allocate_trap 868 MSC__kernelrpc_mach_port_construct_trap 869 MSC__kernelrpc_mach_port_deallocate_trap 870 MSC__kernelrpc_mach_port_destruct_trap 871 MSC__kernelrpc_mach_port_extract_member_trap 872 MSC__kernelrpc_mach_port_guard_trap 873 MSC__kernelrpc_mach_port_insert_member_trap 874 MSC__kernelrpc_mach_port_insert_right_trap 875 MSC__kernelrpc_mach_port_mod_refs_trap 876 MSC__kernelrpc_mach_port_request_notification_trap 877 MSC__kernelrpc_mach_port_type_trap 878 MSC__kernelrpc_mach_vm_allocate_trap 879 MSC__kernelrpc_mach_vm_deallocate_trap 880 MSC__kernelrpc_mach_vm_map_trap 881 MSC__kernelrpc_mach_vm_protect_trap 882 MSC_host_create_mach_voucher_trap 883 MSC_host_self_trap 884 MSC_mach_msg_trap 885 MSC_mach_reply_port 886 MSC_mach_voucher_extract_attr_recipe_trap 887 MSC_pid_for_task 888 MSC_semaphore_signal_trap 889 MSC_semaphore_wait_trap 890 MSC_swtch_pri 891 MSC_syscall_thread_switch 892 MSC_thread_get_special_reply_port))) 893 859 894 (when (defined? 'syscall-unix) 860 895 (allow syscall-unix (with telemetry)) -
branches/safari-613.1.9-branch/Source/WebKit/Scripts/process-entitlements.sh
r285968 r285969 62 62 if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 110000 )) 63 63 then 64 plistbuddy Add :com.apple.private.security.message-filter bool YES 64 65 plistbuddy Add :com.apple.security.cs.jit-write-allowlist bool YES 65 66 fi
Note:
See TracChangeset
for help on using the changeset viewer.