519 |
ports (traced_class). */ |
ports (traced_class). */ |
520 |
info = ports_lookup_port (traced_bucket, inp->msgh_local_port, 0); |
info = ports_lookup_port (traced_bucket, inp->msgh_local_port, 0); |
521 |
assert (info); |
assert (info); |
|
assert (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == info->type); |
|
522 |
|
|
523 |
|
/* A notification message from the kernel appears to have been sent |
524 |
|
with a send-once right, even if there have never really been any. */ |
525 |
if (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == MACH_MSG_TYPE_MOVE_SEND_ONCE) |
if (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == MACH_MSG_TYPE_MOVE_SEND_ONCE) |
526 |
{ |
{ |
527 |
if (inp->msgh_id == MACH_NOTIFY_DEAD_NAME) |
if (inp->msgh_id == MACH_NOTIFY_DEAD_NAME) |
553 |
} |
} |
554 |
} |
} |
555 |
|
|
556 |
|
assert (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == info->type); |
557 |
|
|
558 |
complex = inp->msgh_bits & MACH_MSGH_BITS_COMPLEX; |
complex = inp->msgh_bits & MACH_MSGH_BITS_COMPLEX; |
559 |
|
|
560 |
/* Swap the header data like a crossover cable. */ |
/* Swap the header data like a crossover cable. */ |