[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 32/37: utils/rpctrace: fix notification port handling
From: |
Samuel Thibault |
Subject: |
[hurd] 32/37: utils/rpctrace: fix notification port handling |
Date: |
Mon, 09 Feb 2015 09:59:11 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to annotated tag upstream/hurd/0.5.git20150208
in repository hurd.
commit ccee70dd9fc20a5b39c59b0a7dc8c72e2536ede9
Author: Justus Winter <address@hidden>
Date: Tue Jan 20 20:10:08 2015 +0100
utils/rpctrace: fix notification port handling
* utils/rpctrace.c (new_receiver_info): Fix handling of old
notification port.
---
utils/rpctrace.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index 62d3c87..48daa07 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -404,7 +404,8 @@ new_receiver_info (mach_port_t right, mach_port_t owner)
MACH_MSG_TYPE_MAKE_SEND_ONCE, &foo);
if (err)
error (2, err, "mach_port_request_notification");
- mach_port_deallocate (mach_task_self (), foo);
+ if (MACH_PORT_VALID (foo))
+ mach_port_deallocate (mach_task_self (), foo);
err = hurd_ihash_add (&traced_names, info->forward, info);
if (err)
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 15/37: lib*: Fix typos in comments (found by codespell), (continued)
- [hurd] 15/37: lib*: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 11/37: hurd: make the protected payload changes less intrusive, Samuel Thibault, 2015/02/09
- [hurd] 23/37: random: fix typo, Samuel Thibault, 2015/02/09
- [hurd] 21/37: procfs: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 25/37: libdiskfs: fix port leak, Samuel Thibault, 2015/02/09
- [hurd] 17/37: console-client: Fix typos in comments, Samuel Thibault, 2015/02/09
- [hurd] 27/37: startup: give the tasks we create a name, Samuel Thibault, 2015/02/09
- [hurd] 33/37: Remove unimplemented -s option, Samuel Thibault, 2015/02/09
- [hurd] 19/37: misc: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 36/37: startup: add more error handling, Samuel Thibault, 2015/02/09
- [hurd] 32/37: utils/rpctrace: fix notification port handling,
Samuel Thibault <=
- [hurd] 16/37: aclocal.m4, configure.ac: Fix typos and grammar in comment (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 37/37: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2015/02/09
- [hurd] 24/37: libfshelp: improve error handling, Samuel Thibault, 2015/02/09
- [hurd] 18/37: console: Fix typos in comments, Samuel Thibault, 2015/02/09
- [hurd] 30/37: proc: call `startup_essential_task' earlier, Samuel Thibault, 2015/02/09
- [hurd] 34/37: Allow dhcp trafic and configuration, Samuel Thibault, 2015/02/09
- [hurd] 01/37: Makeconf: handle the task_notify protocol, Samuel Thibault, 2015/02/09
- [hurd] 02/37: proc: register for new task notifications, Samuel Thibault, 2015/02/09
- [hurd] 07/37: ext2fs: tune the size of the inode cache, Samuel Thibault, 2015/02/09
- [hurd] 26/37: libports: silence pointless error message, Samuel Thibault, 2015/02/09