summaryrefslogtreecommitdiff
path: root/ipc/mach_msg.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-04-06 22:22:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-04-06 22:22:22 +0200
commitc7f7552f72ef54ee02018fe7686be6d12d83a5dc (patch)
treea8fdd9dc65bfae0a3cf450fbfbfdcd2c81270d32 /ipc/mach_msg.c
parent6f828d10c88d68f8c2abebfd07df82af93c5ed71 (diff)
Print mach system calls
To see the initial calls from userland.
Diffstat (limited to 'ipc/mach_msg.c')
-rw-r--r--ipc/mach_msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c
index fe7d9ac8..8b589377 100644
--- a/ipc/mach_msg.c
+++ b/ipc/mach_msg.c
@@ -397,6 +397,8 @@ mach_msg_trap(
panic("oops");
printf("ID %d, %d %d %x\n", khdr.msgh_id, khdr.msgh_size, khdr.msgh_seqno, khdr.msgh_bits);
+ printf("%s %x @%p ", __func__, option, msg);
+
/* first check for common cases */
if (option == (MACH_SEND_MSG|MACH_RCV_MSG)) {