commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.9.git20230520-21-g7abafc25


From: Samuel Thibault
Subject: [SCM] Hurd branch, master, updated. v0.9.git20230520-21-g7abafc25
Date: Mon, 3 Jul 2023 07:52:20 -0400 (EDT)

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 "Hurd".

The branch, master has been updated
       via  7abafc25f97897fd61762c45f8729fa952aa822c (commit)
      from  c3b3053b9e8ac3c9f70cbe12f884ab8ca69dd991 (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 7abafc25f97897fd61762c45f8729fa952aa822c
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Mon Jun 26 02:11:37 2023 +0300

    exec: Properly preallocate address space
    
    The existing code mapped the first PT_LOAD segment using anywhere=1,
    letting Mach pick an arbitrary location, and then uses anywhere=0 for
    all the remaining segments to place them next to the first one, as
    expected by the program.
    
    This, however, runs into many issues, primarily because of conflicts
    between interpreter and executable mappings. Some of those the existing
    code tried to work around. Instead, do it the way it's implemented in
    glibc: calculate upfront how much space the overall mapping will need,
    and ask Mach to preallocate this much address space. Then we deallocate
    it back, and instead map the program segments onto this very same place.
    Message-Id: <20230625231137.403096-4-bugaevc@gmail.com>

-----------------------------------------------------------------------

Summary of changes:
 exec/exec.c | 168 ++++++++++++++++++++++++------------------------------------
 1 file changed, 67 insertions(+), 101 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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