[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH gnumach] memory_object_create_proxy: avoid casting parameters
From: |
Samuel Thibault |
Subject: |
Re: [PATCH gnumach] memory_object_create_proxy: avoid casting parameters to 32 bits since the types are correct now |
Date: |
Thu, 9 Feb 2023 23:56:15 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Flavio Cruz, le jeu. 09 févr. 2023 02:22:30 -0500, a ecrit:
> ---
> vm/memory_object_proxy.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/vm/memory_object_proxy.c b/vm/memory_object_proxy.c
> index 0f1e75e5..57243497 100644
> --- a/vm/memory_object_proxy.c
> +++ b/vm/memory_object_proxy.c
> @@ -155,13 +155,6 @@ memory_object_create_proxy (ipc_space_t space, vm_prot_t
> max_protection,
> if (!IP_VALID(object[0]))
> return KERN_INVALID_NAME;
>
> -#ifdef USER32
> - /* FIXME: simplify RPC, fix mig, or add a new VM data type in message.h */
> - *offset &= 0xFFFFFFFFU;
> - *start &= 0xFFFFFFFFU;
> - *len &= 0xFFFFFFFFU;
> -#endif
> -
> /* FIXME: Support a different offset from 0. */
> if (offset[0] != 0)
> return KERN_INVALID_ARGUMENT;
> --
> 2.39.0
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.