Hello @eskimo,
When using the amfi_get_out_of_my_way bootarg to enable an Endpoint Security system extension loading, on macOS Sonoma 14.2 (all betas so far), there seems to be a bug introduced where task_set_exception_ports and related APIs fail with GUARD_TYPE_MACH_PORT:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_GUARD (SIGKILL)
Exception Codes: GUARD_TYPE_MACH_PORT
Exception Codes: 0x00000000000048e0, 0x0000000000000000
Termination Reason: Namespace GUARD, Code 2305843035510950112
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x18c8e0854 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x18c8f2cd0 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x18c90ac78 task_swap_exception_ports + 368
This affects a lot of third-party software, such as 1Password, Firefox, Tower, etc. In the past, another boot arg was needed to prevent crashes: ipc_control_port_options. Is there anything new introduced in Sonoma 14.2 in this regard?
Thank you in advance
Topic:
Privacy & Security
SubTopic:
General
Tags: