aboutsummaryrefslogtreecommitdiff
path: root/ipc/mach_port.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-18 21:36:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-18 21:41:52 +0100
commit383379ae770fd6a74c592006f46986320df9fa30 (patch)
treef4d228438e4f350a21b39cb153eb60b048a8690e /ipc/mach_port.c
parent2f899c323e850ec9cab35f24315f28ef62021957 (diff)
downloadgnumach-383379ae770fd6a74c592006f46986320df9fa30.tar.gz
gnumach-383379ae770fd6a74c592006f46986320df9fa30.tar.bz2
gnumach-383379ae770fd6a74c592006f46986320df9fa30.zip
ipc_entry_lookup: Generalize warnings about bogus port names
Looking up a bogus port name is generally a sign of a real bug, such as a spurious mach port deallocation.
Diffstat (limited to 'ipc/mach_port.c')
-rw-r--r--ipc/mach_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index a07b4fe9..d8696e23 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -534,7 +534,7 @@ mach_port_allocate(
* KERN_INVALID_NAME The name doesn't denote a right.
*/
-static volatile boolean_t mach_port_deallocate_debug = FALSE;
+volatile boolean_t mach_port_deallocate_debug = FALSE;
kern_return_t
mach_port_destroy(