x86_64 hurd: ensure we have a large enough buffer to receive exception_raise requests.

Message-ID: <gtxd6s4s7fi7hdrlb7zayq3akij7x6jqawwq3zfl3v4nqspulo@euucuzeonrl6>
This commit is contained in:
Flavio Cruz 2024-07-30 00:51:20 -04:00 committed by Samuel Thibault
parent f6ba993e0c
commit 11ad033e1c

View File

@ -121,7 +121,14 @@ faulted (void)
struct struct
{ {
mach_msg_header_t head; mach_msg_header_t head;
/* This is the size of the exception_raise request
* including mach_msg_header_t.
* See generated code in faultexc_server.c. */
#ifdef __LP64__
char buf[112];
#else
char buf[64]; char buf[64];
#endif
} request; } request;
mig_reply_header_t reply; mig_reply_header_t reply;
extern int _hurdsig_fault_exc_server (mach_msg_header_t *, extern int _hurdsig_fault_exc_server (mach_msg_header_t *,