[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.8-482-g8ddf8e99
From: |
Samuel Thibault |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.8-482-g8ddf8e99 |
Date: |
Tue, 17 Jan 2023 20:22:06 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via 8ddf8e991c0d271d2681627fab08e6730ae73ae0 (commit)
via cc05ed085b731232a2436efcaf03aa1e92ad20be (commit)
from c17cb87cc97f817f9705ef932fe2da6d23a1d01a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8ddf8e991c0d271d2681627fab08e6730ae73ae0
Author: Luca Dariz <luca@orpolo.org>
Date: Mon Jan 16 11:58:52 2023 +0100
x86_64: expand and shrink messages in copy{in, out}msg routines
* i386/i386/copy_user.h: new file to handle 32/64 bit differences
- add msg_usize() to recontruct the user-space message size
- add copyin/copyout helpers for addresses and ports
* include/mach/message.h: add msg alignment macros
* ipc/ipc_kmsg.c:
- copyin/out ports names instead of using pointer magic
* ipc/ipc_mqueue.c: use msg_usize() to check if we can actually
receive the message
* ipc/mach_msg.c: Likewise for continuations in receive path
* x86_64/Makefrag.am: add x86_64/copy_user.c
* x86_64/copy_user.c: new file to handle message expansion and
shrinking during copyinmsg/copyoutmsg for 64 bit kernels.
- port names -> port pointers on all 64-bit builds
- 32-bit pointer -> 64 bit pointer when using 32-bit userspace
* x86_64/locore.S: remove copyinmsg() and copyoutmsg()
Message-Id: <20230116105857.240210-3-luca@orpolo.org>
commit cc05ed085b731232a2436efcaf03aa1e92ad20be
Author: Luca Dariz <luca@orpolo.org>
Date: Mon Jan 16 11:58:51 2023 +0100
add msg_user_header_t for user-side msg structure
* include/mach/message.h: use mach_msg_user_header_t only in KERNEL,
and define it as mach_msh_header_t for user space
* ipc/ipc_kmsg.c: use mach_msg_user_header_t where appropriate
* ipc/ipc_kmsg.h: Likewise
* ipc/mach_msg.c: Likewise
* ipc/mach_msg.h: Likewise
* kern/thread.h: Likewise
Message-Id: <20230116105857.240210-2-luca@orpolo.org>
-----------------------------------------------------------------------
Summary of changes:
i386/i386/copy_user.h | 102 ++++++++++++++
include/mach/message.h | 31 ++++-
ipc/ipc_kmsg.c | 53 +++++---
ipc/ipc_kmsg.h | 4 +-
ipc/ipc_mqueue.c | 5 +-
ipc/mach_msg.c | 27 ++--
ipc/mach_msg.h | 4 +-
kern/thread.h | 2 +-
x86_64/Makefrag.am | 1 +
x86_64/copy_user.c | 362 +++++++++++++++++++++++++++++++++++++++++++++++++
x86_64/locore.S | 81 -----------
11 files changed, 551 insertions(+), 121 deletions(-)
create mode 100644 i386/i386/copy_user.h
create mode 100644 x86_64/copy_user.c
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.8-482-g8ddf8e99,
Samuel Thibault <=