Remove support setting custom demuxers during signal handling.

We seem to call only into the exception and message server routines.
Message-Id: <Y9dpRZs3QYk2oZm+@jupiter.tail36e24.ts.net>
This commit is contained in:
Flavio Cruz 2023-01-30 01:52:53 -05:00 committed by Samuel Thibault
parent a979b72747
commit fa93858a88

View File

@ -20,18 +20,6 @@
#include <hurd/signal.h>
#include <stddef.h>
struct demux
{
struct demux *next;
boolean_t (*demux) (mach_msg_header_t *inp,
mach_msg_header_t *outp);
};
struct demux *_hurd_msgport_demuxers = NULL;
extern boolean_t __msg_server (mach_msg_header_t *inp,
mach_msg_header_t *outp);
static boolean_t
msgport_server (mach_msg_header_t *inp,
mach_msg_header_t *outp)
@ -40,11 +28,6 @@ msgport_server (mach_msg_header_t *inp,
mach_msg_header_t *outp);
extern boolean_t _S_exc_server (mach_msg_header_t *inp,
mach_msg_header_t *outp);
struct demux *d;
for (d = _hurd_msgport_demuxers; d != NULL; d = d->next)
if ((*d->demux) (inp, outp))
return 1;
return (_S_exc_server (inp, outp)
|| _S_msg_server (inp, outp));