[Bug dynamic-link/26988] aarch64: BTI mprotect address is not page aligned

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Dec 11 15:19:16 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=26988

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Szabolcs Nagy <nsz@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b8f616e6a594b91d0afb152384bf2a9f72b7288

commit 8b8f616e6a594b91d0afb152384bf2a9f72b7288
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Tue Dec 1 10:12:32 2020 +0000

    aarch64: align address for BTI protection [BZ #26988]

    Handle unaligned executable load segments (the bfd linker is not
    expected to produce such binaries, but other linkers may).

    Computing the mapping bounds follows _dl_map_object_from_fd more
    closely now.

    Fixes bug 26988.

    Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list