diff options
author | Miles Bader <miles@gnu.org> | 1996-05-23 02:02:20 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-23 02:02:20 +0000 |
commit | 7deb372b676134d7c3b61433c4c275a11c0b21de (patch) | |
tree | ff54509089e0361d6c86cb6feab1d615c01866d2 /proc/stubs.c | |
parent | 88fef0751bd4d6895092cb790eb80e12f2d3c892 (diff) |
(send_signal): Send sigcode in message.
Diffstat (limited to 'proc/stubs.c')
-rw-r--r-- | proc/stubs.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/proc/stubs.c b/proc/stubs.c index 947eaccc..d43f2ea5 100644 --- a/proc/stubs.c +++ b/proc/stubs.c @@ -1,5 +1,5 @@ /* By-hand stubs for some RPC calls - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -58,6 +58,8 @@ send_signal (mach_port_t msgport, mach_msg_header_t head; mach_msg_type_t signaltype; int signal; + mach_msg_type_t sigcode_type; + natural_t sigcode; mach_msg_type_t refporttype; mach_port_t refport; } @@ -86,6 +88,18 @@ send_signal (mach_port_t msgport, }, /* Signal number */ 0, + /* Type descriptor for sigcode */ + { + MACH_MSG_TYPE_INTEGER_32, /* msgt_name */ + 32, /* msgt_size */ + 1, /* msgt_number */ + 1, /* msgt_inline */ + 0, /* msgt_longform */ + 0, /* msgt_deallocate */ + 0, /* msgt_unused */ + }, + /* Sigcode */ + 0, { /* Type descriptor for refport */ MACH_MSG_TYPE_COPY_SEND, /* msgt_name */ @@ -100,7 +114,6 @@ send_signal (mach_port_t msgport, MACH_PORT_NULL, }; - message.head.msgh_remote_port = msgport; message.signal = signal; message.refport = refport; |