[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH gnumach] memory_object_create_proxy: avoid casting parameters to
From: |
Flavio Cruz |
Subject: |
[PATCH gnumach] memory_object_create_proxy: avoid casting parameters to 32 bits since the types are correct now |
Date: |
Thu, 9 Feb 2023 02:22:30 -0500 |
---
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
- [PATCH gnumach] memory_object_create_proxy: avoid casting parameters to 32 bits since the types are correct now,
Flavio Cruz <=