|
From: | Dr. Tilmann Bubeck |
Subject: | Idea: Improve ext2 to allow for embedding |
Date: | Wed, 13 Mar 2024 11:21:42 +0100 |
It will be realized using the ioctl(EXT4_IOC_SWAP_BOOT) introduced into Linux 3.10 in 2013. This ioctl basically swaps the data blocks of the associated file with the EXT2_BOOT_LOADER_INO inode. After using the ioctl the code of core.img is stored in the BOOT_LOADER incode of the filesystem and it is not accessible to file system tools anymore. This ensures, that the boot code is safe and installation into a partition is possible.
What would you think about this proposal. Are you willing to integrate this, if I develop this for GRUB?
Changes will be done mainly in setup.c and ext2.c Kind regards Tilmann Bubeck
[Prev in Thread] | Current Thread | [Next in Thread] |