public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Samuel Thibault <sthibaul@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] Remove support setting custom demuxers during signal handling.
Date: Wed,  1 Feb 2023 22:39:15 +0000 (GMT)	[thread overview]
Message-ID: <20230201223915.F026B3858D3C@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fa93858a88b109a19656931e68b48d06eedff5b5

commit fa93858a88b109a19656931e68b48d06eedff5b5
Author: Flavio Cruz <flaviocruz@gmail.com>
Date:   Mon Jan 30 01:52:53 2023 -0500

    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>

Diff:
---
 hurd/msgportdemux.c | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/hurd/msgportdemux.c b/hurd/msgportdemux.c
index 7587beda43..676e2e5008 100644
--- a/hurd/msgportdemux.c
+++ b/hurd/msgportdemux.c
@@ -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));

                 reply	other threads:[~2023-02-01 22:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230201223915.F026B3858D3C@sourceware.org \
    --to=sthibaul@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).