diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-02-09 02:22:30 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-09 23:55:46 +0100 |
commit | 86064b6ea5613e919918e31a992dcb764bca24b5 (patch) | |
tree | b4ff3659a6428cd3af86e5172e42670048ed54e0 /vm | |
parent | c3f68b5938eceb3d4d7823009c9faf3fdcccaf80 (diff) | |
download | gnumach-86064b6ea5613e919918e31a992dcb764bca24b5.tar.gz gnumach-86064b6ea5613e919918e31a992dcb764bca24b5.tar.bz2 gnumach-86064b6ea5613e919918e31a992dcb764bca24b5.zip |
memory_object_create_proxy: avoid casting parameters to 32 bits since the types are correct now
Message-Id: <Y+SfNtIRuwj0Zap1@jupiter.tail36e24.ts.net>
Diffstat (limited to 'vm')
-rw-r--r-- | vm/memory_object_proxy.c | 7 |
1 files changed, 0 insertions, 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; |