From 61fefecfd88282e1bb4dfdb4499518e33d18c6d8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 3 Dec 2023 02:06:09 +0100 Subject: Revert "Update hurd code to handle the new ABI for sending inlined port rights." This reverts commit 33c30b4ff76ca22bdedce4aa41d05736a546d86b. --- proc/stubs.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'proc') diff --git a/proc/stubs.c b/proc/stubs.c index 0b4a2cea..dc621ba1 100644 --- a/proc/stubs.c +++ b/proc/stubs.c @@ -37,7 +37,7 @@ struct msg_sig_post_request mach_msg_type_t sigcode_type; natural_t sigcode; mach_msg_type_t refporttype; - mach_port_name_inlined_t refport; + mach_port_t refport; }; /* Send the Mach message indicated by msg_spec. */ @@ -124,16 +124,14 @@ send_signal (mach_port_t msgport, .refporttype = { /* Type descriptor for refport */ .msgt_name = MACH_MSG_TYPE_COPY_SEND, - .msgt_size = 8 * sizeof(mach_port_name_inlined_t), + .msgt_size = 32, .msgt_number = 1, .msgt_inline = TRUE, .msgt_longform = FALSE, .msgt_deallocate = FALSE, .msgt_unused = 0 }, - .refport = { - .name = refport - } + .refport = refport }; err = mach_msg ((mach_msg_header_t *)&message, -- cgit v1.2.3