From 7deb372b676134d7c3b61433c4c275a11c0b21de Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 23 May 1996 02:02:20 +0000 Subject: (send_signal): Send sigcode in message. --- proc/stubs.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'proc/stubs.c') 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; -- cgit v1.2.3