git: DragonFly_RELEASE_6_4 loader: Allocate the EFI trampoline as executable memory

Aaron LI aly at crater.dragonflybsd.org
Thu Oct 1 18:44:59 PDT 2026


commit 673727e7ca5fb858211d403f4320dfcbdf67f025
Author: David Bidner <david at crap.solutions>
Date:   Thu Oct 1 05:04:52 2026 +0200

    loader: Allocate the EFI trampoline as executable memory
    
    The trampoline contains code, but EfiLoaderData allocations may be mapped
    non-executable. Allocate its page as EfiLoaderCode.
    
    Adapted from Ed Maste's FreeBSD commit:
    https://github.com/freebsd/freebsd-src/commit/2b1df6149e8a2d50a09d13c64d1574dad91e10b1
    FreeBSD review: https://reviews.freebsd.org/D58383
    
    Bug: https://bugs.dragonflybsd.org/issues/3427

Summary of changes:
 stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/673727e7ca5fb858211d403f4320dfcbdf67f025


-- 
DragonFly BSD source repository


More information about the Commits mailing list