diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-04-22 19:23:59 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-04-22 19:23:59 +0200 |
commit | 845ab0f42211847b2cdd498241d5080fb155f8b7 (patch) | |
tree | ea28ee5a0be108a3a7715b0ac251cb0f344ac734 /utils | |
parent | f1aa15a509d4249b19bb3d7f1f388829dd5135f8 (diff) |
Add TODO about fork() making rpctrace emit an error
* utils/rpctrace.c (rewrite_right): Explain why the unknown send right
error happens on fork().
Diffstat (limited to 'utils')
-rw-r--r-- | utils/rpctrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c index d7ee2034..fc913e30 100644 --- a/utils/rpctrace.c +++ b/utils/rpctrace.c @@ -768,6 +768,8 @@ rewrite_right (mach_port_t *right, mach_msg_type_name_t *type, * We ignore it. */ if (source != unknown_task) { + /* TODO: this happens on fork() when the new process does not + have the send right yet (it is about to get inserted). */ error (0, 0, "get an unknown send right from process %d", task2pid (source)); return dummy_wrapper.name; |