diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-03-10 14:15:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-30 13:51:34 +0300 |
commit | b065b01e32a0f5481534b1fd5a97f37e8c2ed90f (patch) | |
tree | c328a6337d55a1bb888e5874cf78da6fa6f23a65 /lib/timerqueue.c | |
parent | 02ea037abee5201ab961d5435ee1b919466a60bd (diff) | |
download | linux-b065b01e32a0f5481534b1fd5a97f37e8c2ed90f.tar.xz |
efi/libstub: zboot: Mark zboot EFI application as NX compatible
commit c7d9e628b8ff4d52a365a441bdacb3209ee83c81 upstream.
Now that the zboot loader will invoke the EFI memory attributes protocol
to remap the decompressed code and rodata as read-only/executable, we
can set the PE/COFF header flag that indicates to the firmware that the
application does not rely on writable memory being executable at the
same time.
Cc: <stable@vger.kernel.org> # v6.2+
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions