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 958686efa2175abe3f7044890c2c2370e29147f2 (commit) via 0afd533bfef628d0ef8476bbaaab78c6a1336873 (commit) from 411be477d8cc87b0700fda70c050e1447a262c84 (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 958686efa2175abe3f7044890c2c2370e29147f2 Author: Flavio Cruz <flavioc...@gmail.com> Date: Wed Nov 30 02:14:20 2022 -0500 Update ipc/ directory to use mach_port_name_t Make it explicit where we use port names versus actual ports. For the 64 bit kernel, port names and ports are of different size so this corrects the syscall arguments and internal structs to have the right size. This patch also uncovered several issues we need to solve to make GNUMach work well on 64 bits. First, the mach_msg call will receive 4 byte port names while the kernel "thinks" they are 8 bytes, which will be a problem. Also, when we send a message, the kernel translates the port names into port pointers in the message copied from user space. This also won't work on 64 bits. In this patch, I added several TODOs to fix the issues later. Message-Id: <Y4cCzNmc6vC4bjsX@viriathus> commit 0afd533bfef628d0ef8476bbaaab78c6a1336873 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Tue Nov 29 16:10:21 2022 +0100 Add missing gitignore rules ----------------------------------------------------------------------- Summary of changes: include/mach/message.h | 8 ++--- include/mach/mig_support.h | 2 +- ipc/.gitignore | 2 ++ ipc/ipc_entry.c | 11 +++---- ipc/ipc_entry.h | 10 +++--- ipc/ipc_kmsg.c | 58 +++++++++++++++++++++------------- ipc/ipc_kmsg.h | 10 +++--- ipc/ipc_marequest.c | 18 +++++------ ipc/ipc_marequest.h | 8 ++--- ipc/ipc_mqueue.c | 2 +- ipc/ipc_mqueue.h | 2 +- ipc/ipc_notify.c | 18 +++++------ ipc/ipc_notify.h | 6 ++-- ipc/ipc_object.c | 28 ++++++++--------- ipc/ipc_object.h | 20 ++++++------ ipc/ipc_port.c | 28 ++++++++--------- ipc/ipc_port.h | 16 +++++----- ipc/ipc_pset.c | 7 ++--- ipc/ipc_pset.h | 4 +-- ipc/ipc_right.c | 74 ++++++++++++++++++++++---------------------- ipc/ipc_right.h | 36 +++++++++++----------- ipc/ipc_space.c | 2 +- ipc/ipc_space.h | 8 ++--- ipc/ipc_target.c | 2 +- ipc/ipc_target.h | 4 +-- ipc/mach_debug.c | 4 +-- ipc/mach_msg.c | 24 +++++++-------- ipc/mach_msg.h | 6 ++-- ipc/mach_port.c | 74 ++++++++++++++++++++++---------------------- ipc/mach_port.h | 12 ++++---- ipc/mach_rpc.c | 4 +-- kern/.gitignore | 2 ++ kern/exception.c | 8 +++-- kern/ipc_mig.c | 77 +++++++++++++++++++++++----------------------- kern/ipc_mig.h | 62 ++++++++++++++++++------------------- kern/ipc_tt.c | 4 +-- kern/ipc_tt.h | 2 +- kern/thread.h | 4 +-- 38 files changed, 343 insertions(+), 324 deletions(-) create mode 100644 ipc/.gitignore create mode 100644 kern/.gitignore hooks/post-receive -- GNU Mach