Re: [PATCH v6 05/10] nx: add memory attribute get/set API

2024-09-27 Thread Daniel Kiper
On Thu, Sep 19, 2024 at 05:31:59PM +0100, Mate Kukri wrote: > For NX, we need to set the page access permission attributes for write > and execute permissions. > > This patch adds two new primitives, grub_set_mem_attrs() and > grub_clear_mem_attrs(), and associated constant definitions, to be used

[PATCH v6 05/10] nx: add memory attribute get/set API

2024-09-19 Thread Mate Kukri
For NX, we need to set the page access permission attributes for write and execute permissions. This patch adds two new primitives, grub_set_mem_attrs() and grub_clear_mem_attrs(), and associated constant definitions, to be used for that purpose. For most platforms, it adds a dummy implementation