Files
u-boot/include
Heinrich Schuchardt c9f368b597 efi_loader: set IMAGE_DLLCHARACTERISTICS_NX_COMPAT
The IMAGE_DLLCHARACTERISTICS_NX_COMPAT flag marks an EFI binary where
the following conditions are met [1]:

* Executable and writable sections are separated.
* The application does not run self-modifying code.
* The application uses the EFI_MEMORY_ATTRIBUTE_PROTOCOL when loading
  executable code.
* The application does not assume that all memory ranges are usable.
* The stack is not expected to be executable.

The only EFI binaries U-Boot provides that do not fulfill these
requirements are the EFI app and the EFI payload.

Once we have implemented separation of writable and executable memory in
U-Boot we can use the IMAGE_DLLCHARACTERISTICS_NX_COMPAT flag to decide
if we will load an EFI binary.

[1] New UEFI CA memory mitigation requirements for signing
    https://techcommunity.microsoft.com/t5/hardware-dev-center/new-uefi-ca-memory-mitigation-requirements-for-signing/ba-p/3608714

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-02-28 14:37:46 +01:00
..
2024-01-03 09:22:47 -05:00
2022-10-30 20:07:16 +01:00
2023-08-25 13:54:33 -04:00
2023-08-08 10:22:03 -04:00
2023-12-21 08:54:37 -05:00
2023-12-13 11:51:24 -05:00
2024-02-13 15:38:49 -05:00
2024-01-29 22:35:02 -05:00
2022-11-02 08:42:03 +01:00
2023-10-27 13:14:47 +03:00
2023-02-06 13:04:52 -05:00
2023-10-23 17:07:06 +03:00
2023-05-02 14:23:34 -04:00
2023-05-15 10:00:30 +02:00
2023-01-20 12:27:06 -05:00
2023-11-07 14:50:51 -05:00
2024-01-13 18:17:47 +01:00
2023-12-21 08:54:37 -05:00
2023-10-31 09:08:51 +01:00
2023-04-27 13:51:06 -04:00
2023-12-21 11:59:49 -05:00
2023-08-19 04:12:53 +02:00
2023-12-13 11:35:13 -05:00
2022-10-30 20:07:17 +01:00
2023-12-21 08:54:37 -05:00
2023-10-11 15:43:55 -04:00
2023-11-16 12:43:49 -05:00
2023-12-21 08:54:37 -05:00
2023-11-18 10:08:09 +02:00
2023-01-16 18:01:10 +08:00
2023-12-21 08:54:37 -05:00
2023-10-15 12:23:48 +02:00
2023-11-16 13:49:14 -05:00
2023-10-09 15:24:31 -04:00
2023-02-10 07:41:40 -05:00
2023-10-27 13:14:47 +03:00
2022-12-07 16:04:17 -05:00
2022-12-22 10:31:49 -05:00
2023-11-14 20:04:00 -07:00