[OS-BUILD PATCHv2 0/4] efi: x86: Set the NX-compatibility flag in the PE header

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

 



From: Justin M. Forbes on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1771

Following Baskov Evgeniy's "Handle UEFI NX-restricted page tables"
patches, it's safe to set this compatibility flag to let loaders know
they don't need to make special accommodations for kernel to load if
pre-boot NX is enabled.

This MR includes the "Handle UEFI NX-restricted page tables" patches as well
as the patch to actually set the flag in the header. They are queued for the
5.19 merge window [1], but will be needed in 5.18 for a shim build.


[1] https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git/log/

---
 arch/x86/boot/header.S                                          |    4 +
 arch/x86/include/asm/efi.h                                      |    5 +
 drivers/firmware/efi/libstub/efistub.h                          |   74 ++++++
 drivers/firmware/efi/libstub/x86-stub.c                         |  119 +++++++++-
 drivers/firmware/efi/Kconfig                                    |   12 +
 include/linux/efi.h                                             |    2 +
 redhat/configs/common/generic/x86/CONFIG_EFI_DXE_MEM_ATTRIBUTES |    1 +
 7 files changed, 212 insertions(+), 5 deletions(-)
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux