[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mach branch, master, updated. v1.8-596-gdac167f0

From: Samuel Thibault
Subject: [SCM] GNU Mach branch, master, updated. v1.8-596-gdac167f0
Date: Mon, 27 Feb 2023 17:20:41 -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  dac167f036465e9d7cca10c52d8345773d2e6c3f (commit)
      from  d2880baef19991270cbcdbdb22622e91815faadc (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 dac167f036465e9d7cca10c52d8345773d2e6c3f
Author: Flavio Cruz <>
Date:   Sun Feb 19 18:06:51 2023 -0500

    Support alignment requirements for a 64 bit kernel.
    We introduce both a user alignment and a kernel alignment. These are
    separate requirements since for 64 bit with a 32 bit kernel we need to
    ensure the kernel can consume messages that are 8-byte aligned. This
    change removes any possibility of undefined behavior and also allows the
    kernel to support 64 bit RPCs for the userland.
    A lot of the code that performs alignment was simplified under the
    assumption that the message headers are well aligned. To enforce that
    going forward, a few static assertions were added.
    Message-Id: <Y/>


Summary of changes:
 include/mach/message.h |  34 ++++++++----
 ipc/ipc_kmsg.c         | 144 +++++++++++++++++++------------------------------
 x86_64/copy_user.c     |  36 ++++++++-----
 3 files changed, 101 insertions(+), 113 deletions(-)

GNU Mach

reply via email to

[Prev in Thread] Current Thread [Next in Thread]