[macOS] Fix mach syscall sandbox violation in the Network process
[WebKit-https.git] / Source / WebKit / NetworkProcess / mac / com.apple.WebKit.NetworkProcess.sb.in
index 176cbb6f21460ee940527d4e6f73115277b9e298..60b364cd6e7f7a7b4a41adddbeef22da44d565e1 100644 (file)
             MSC_syscall_thread_switch
             MSC_task_dyld_process_info_notify_get
             MSC_task_self_trap
-            MSC_thread_get_special_reply_port))
+            MSC_thread_get_special_reply_port
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 120000
+            MSC_thread_self_trap
+#endif
+    ))
             
     (when (defined? 'MSC_mach_msg2_trap)
         (allow syscall-mach