aboutsummaryrefslogtreecommitdiff
path: root/ipc/mach_msg.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-28 13:10:35 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-28 13:10:35 +0200
commit4f82ae66628a517585d6bef9465662a45481d024 (patch)
treebfe4affbca50e455b59925b007b19ea096bfb99f /ipc/mach_msg.c
parent30c93547cd14db1ae44ea9e32bf36a2c2b152c07 (diff)
downloadgnumach-4f82ae66628a517585d6bef9465662a45481d024.tar.gz
gnumach-4f82ae66628a517585d6bef9465662a45481d024.tar.bz2
gnumach-4f82ae66628a517585d6bef9465662a45481d024.zip
copyinmsg: Set msgh_size inside copyinmsg rather than the caller
In the 32/64 conversion case it is copyinmsg that will know the eventual size.
Diffstat (limited to 'ipc/mach_msg.c')
-rw-r--r--ipc/mach_msg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c
index 0ae8fe0c..3a75fef6 100644
--- a/ipc/mach_msg.c
+++ b/ipc/mach_msg.c
@@ -464,8 +464,6 @@ mach_msg_trap(
goto slow_get;
}
- kmsg->ikm_header.msgh_size = send_size;
-
fast_copyin:
/*
* optimized ipc_kmsg_copyin/ipc_mqueue_copyin