Re: [PATCH v5 06/10] nx: set page permissions for loaded modules.

2024-08-21 Thread Daniel Kiper
On Thu, Aug 15, 2024 at 10:51:31AM +0100, Mate Kukri wrote: > For NX, we need to set write and executable permissions on the sections > of grub modules when we load them. > > On sections with SHF_ALLOC set, which is typically everything except > .modname and the symbol and string tables, this patch

Re: [PATCH v5 04/10] modules: load module sections at page-aligned addresses

2024-08-21 Thread Daniel Kiper
On Thu, Aug 15, 2024 at 10:51:29AM +0100, Mate Kukri wrote: > Currently we load module sections at whatever alignment gcc+ld happened > to dump into the ELF section header, which is often less then the page > size. Since NX protections are page based, this alignment must be > rounded up to page siz

[PATCH] ieee1275: support added for multiple nvme bootpaths

2024-08-21 Thread Avnish Chouhan
This patch sets mupltiple NVMe boot-devices for more robust boot. Scenario where NVMe multipaths are available, all the available bootpaths (Max 5) will be added as the boot-device. Signed-off-by: Avnish Chouhan --- grub-core/osdep/unix/platform.c | 66 +