- MACH_TRAP(kern_invalid, 0), /* 0 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 1 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 2 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 3 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 4 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 5 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 6 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 7 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 8 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 9 */ /* Unix */
- MACH_TRAP(kern_invalid, 0), /* 10 */
- MACH_TRAP(kern_invalid, 0), /* 11 */
- MACH_TRAP(kern_invalid, 0), /* 12 */
- MACH_TRAP(kern_invalid, 0), /* 13 */
- MACH_TRAP(kern_invalid, 0), /* 14 */
- MACH_TRAP(kern_invalid, 0), /* 15 */
- MACH_TRAP(kern_invalid, 0), /* 16 */
- MACH_TRAP(kern_invalid, 0), /* 17 */
- MACH_TRAP(kern_invalid, 0), /* 18 */
- MACH_TRAP(kern_invalid, 0), /* 19 */
- MACH_TRAP(kern_invalid, 0), /* 20 */
- MACH_TRAP(kern_invalid, 0), /* 21 */
- MACH_TRAP(kern_invalid, 0), /* 22 */
- MACH_TRAP(kern_invalid, 0), /* 23 */
- MACH_TRAP(kern_invalid, 0), /* 24 */
- MACH_TRAP(kern_invalid, 0), /* 25 */
- MACH_TRAP(mach_reply_port, 0), /* 26 */
- MACH_TRAP(thread_self_trap, 0), /* 27 */
- MACH_TRAP(task_self_trap, 0), /* 28 */
- MACH_TRAP(host_self_trap, 0), /* 29 */
- MACH_TRAP(kern_invalid, 0), /* 30 */
- MACH_TRAP(mach_msg_trap, 7), /* 31 */
- MACH_TRAP(mach_msg_overwrite_trap, 9), /* 32 */
- MACH_TRAP(semaphore_signal_trap, 1), /* 33 */
- MACH_TRAP(semaphore_signal_all_trap, 1), /* 34 */
- MACH_TRAP(semaphore_signal_thread_trap, 2), /* 35 */
- MACH_TRAP(semaphore_wait_trap, 1), /* 36 */
- MACH_TRAP(semaphore_wait_signal_trap, 2), /* 37 */
- MACH_TRAP(semaphore_timedwait_trap, 3), /* 38 */
- MACH_TRAP(semaphore_timedwait_signal_trap, 4), /* 39 */
- MACH_TRAP(kern_invalid, 0), /* 40 */
- MACH_TRAP(init_process, 0), /* 41 */
- MACH_TRAP(kern_invalid, 0), /* 42 */
- MACH_TRAP(map_fd, 5), /* 43 */
- MACH_TRAP(kern_invalid, 0), /* 44 */
- MACH_TRAP(task_for_pid, 3), /* 45 */
- MACH_TRAP(pid_for_task, 2), /* 46 */
- MACH_TRAP(kern_invalid, 0), /* 47 */
- MACH_TRAP(macx_swapon, 4), /* 48 */
- MACH_TRAP(macx_swapoff, 2), /* 49 */
- MACH_TRAP(kern_invalid, 0), /* 50 */
- MACH_TRAP(macx_triggers, 4), /* 51 */
- MACH_TRAP(macx_backing_store_suspend, 1), /* 52 */
- MACH_TRAP(macx_backing_store_recovery, 1), /* 53 */
- MACH_TRAP(kern_invalid, 0), /* 54 */
- MACH_TRAP(kern_invalid, 0), /* 55 */
- MACH_TRAP(kern_invalid, 0), /* 56 */
- MACH_TRAP(kern_invalid, 0), /* 57 */
- MACH_TRAP(kern_invalid, 0), /* 58 */
- MACH_TRAP(swtch_pri, 1), /* 59 */
- MACH_TRAP(swtch, 0), /* 60 */
- MACH_TRAP(thread_switch, 3), /* 61 */
- MACH_TRAP(clock_sleep_trap, 5), /* 62 */
- MACH_TRAP(kern_invalid,0), /* 63 */
+/* 0 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 1 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 2 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 3 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 4 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 5 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 6 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 7 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 8 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 9 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 10 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 11 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 12 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 13 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 14 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 15 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 16 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 17 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 18 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 19 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 20 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 21 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 22 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 23 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 24 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 25 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 26 */ MACH_TRAP(mach_reply_port, 0, NULL, NULL),
+/* 27 */ MACH_TRAP(thread_self_trap, 0, NULL, NULL),
+/* 28 */ MACH_TRAP(task_self_trap, 0, NULL, NULL),
+/* 29 */ MACH_TRAP(host_self_trap, 0, NULL, NULL),
+/* 30 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 31 */ MACH_TRAP(mach_msg_trap, 7, munge_wwwwwww, munge_ddddddd),
+/* 32 */ MACH_TRAP(mach_msg_overwrite_trap, 8, munge_wwwwwwww, munge_dddddddd),
+/* 33 */ MACH_TRAP(semaphore_signal_trap, 1, munge_w, munge_d),
+/* 34 */ MACH_TRAP(semaphore_signal_all_trap, 1, munge_w, munge_d),
+/* 35 */ MACH_TRAP(semaphore_signal_thread_trap, 2, munge_ww, munge_dd),
+/* 36 */ MACH_TRAP(semaphore_wait_trap, 1, munge_w, munge_d),
+/* 37 */ MACH_TRAP(semaphore_wait_signal_trap, 2, munge_ww, munge_dd),
+/* 38 */ MACH_TRAP(semaphore_timedwait_trap, 3, munge_www, munge_ddd),
+/* 39 */ MACH_TRAP(semaphore_timedwait_signal_trap, 4, munge_wwww, munge_dddd),
+/* 40 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 41 */ MACH_TRAP(init_process, 0, NULL, NULL),
+/* 42 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 43 */ MACH_TRAP(map_fd, 5, munge_wwwww, munge_ddddd),
+/* 44 */ MACH_TRAP(task_name_for_pid, 3, munge_www, munge_ddd),
+/* 45 */ MACH_TRAP(task_for_pid, 3, munge_www, munge_ddd),
+/* 46 */ MACH_TRAP(pid_for_task, 2, munge_ww,munge_dd),
+/* 47 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 48 */ MACH_TRAP(macx_swapon, 4, munge_wwww, munge_dddd),
+/* 49 */ MACH_TRAP(macx_swapoff, 2, munge_ww, munge_dd),
+/* 50 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 51 */ MACH_TRAP(macx_triggers, 4, munge_wwww, munge_dddd),
+/* 52 */ MACH_TRAP(macx_backing_store_suspend, 1, munge_w, munge_d),
+/* 53 */ MACH_TRAP(macx_backing_store_recovery, 1, munge_w, munge_d),
+/* 54 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 55 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 56 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 57 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 58 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 59 */ MACH_TRAP(swtch_pri, 0, NULL, NULL),
+/* 60 */ MACH_TRAP(swtch, 0, NULL, NULL),
+/* 61 */ MACH_TRAP(thread_switch, 3, munge_www, munge_ddd),
+/* 62 */ MACH_TRAP(clock_sleep_trap, 5, munge_wwwww, munge_ddddd),
+/* 63 */ MACH_TRAP(kern_invalid, 0, NULL, NULL),