summaryrefslogtreecommitdiff
path: root/ipc/mach_port.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/mach_port.c')
-rw-r--r--ipc/mach_port.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index 5cc39984..b30dcd6c 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -1566,3 +1566,13 @@ mach_port_clear_protected_payload(
ip_unlock(port);
return KERN_SUCCESS;
}
+
+#if MACH_KDB
+
+void
+db_debug_port_references (boolean_t enable)
+{
+ mach_port_deallocate_debug = enable;
+}
+
+#endif /* MACH_KDB */