aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-07-04 23:07:03 +0000
committerRoland McGrath <roland@gnu.org>2001-07-04 23:07:03 +0000
commit90f9eba7d2a0b7bed11978110cce58a9cca5bee4 (patch)
tree91faf502d89b04e4616bac6bde3e65f4f076f40d
parentbc68392b1f5a4dfc2d47718ae611e47e95a1abf4 (diff)
downloadglibc-90f9eba7d2a0b7bed11978110cce58a9cca5bee4.tar
glibc-90f9eba7d2a0b7bed11978110cce58a9cca5bee4.tar.gz
glibc-90f9eba7d2a0b7bed11978110cce58a9cca5bee4.tar.bz2
glibc-90f9eba7d2a0b7bed11978110cce58a9cca5bee4.zip
* hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port rather than doing a mach_port_insert_right call first.
-rw-r--r--ChangeLog6
-rw-r--r--hurd/hurdsig.c6
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 97b9d77bc7..93821bbc30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-04 Roland McGrath <roland@frob.com>
+
+ * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
+ wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
+ rather than doing a mach_port_insert_right call first.
+
2001-06-26 Roland McGrath <roland@frob.com>
* hurd/hurdioctl.c: Include <string.h> for memcpy decl.
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 01a84274d5..adf8e2df19 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -1014,11 +1014,7 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
/* There is a sigsuspend waiting. Tell it to wake up. */
error_t err;
mach_msg_header_t msg;
- err = __mach_port_insert_right (__mach_task_self (),
- ss->suspended, ss->suspended,
- MACH_MSG_TYPE_MAKE_SEND);
- assert_perror (err);
- msg.msgh_bits = MACH_MSGH_BITS (MACH_MSG_TYPE_MOVE_SEND, 0);
+ msg.msgh_bits = MACH_MSGH_BITS (MACH_MSG_TYPE_MAKE_SEND, 0);
msg.msgh_remote_port = ss->suspended;
msg.msgh_local_port = MACH_PORT_NULL;
/* These values do not matter. */