This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 845ab0f42211847b2cdd498241d5080fb155f8b7
Author: Samuel Thibault <[email protected]>
Date:   Tue Apr 22 19:23:59 2014 +0200

    Add TODO about fork() making rpctrace emit an error
    
    * utils/rpctrace.c (rewrite_right): Explain why the unknown send right
    error happens on fork().
---
 utils/rpctrace.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index d7ee203..fc913e3 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git

Reply via email to