bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Remove support setting custom demuxers during signal handlin


From: Samuel Thibault
Subject: Re: [PATCH] Remove support setting custom demuxers during signal handling.
Date: Wed, 1 Feb 2023 23:37:45 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!

Flavio Cruz, le lun. 30 janv. 2023 01:52:53 -0500, a ecrit:
> We seem to call only into the exception and message server routines.
> ---
>  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));
> -- 
> 2.39.0
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]