
31 Jan
2022
31 Jan
'22
3:53 p.m.
On Mon, Jan 31, 2022 at 10:41:05PM +0800, Zhang Ning wrote:
1, add kaslrseed key word to extlinux.conf 2, check kaslrseed in extlinux boot label 3, generate ramdon number from hw rng 4, add kaslr-seed to fdt chosen
with this patch exlinux.conf boot item looks like
label l0 menu testing linux /boot/vmlinuz-5.15.16-arm initrd /boot/initramfs-5.15.16-arm.img fdtdir /boot/dtbs/5.15.16-arm/ kaslrseed append root=UUID=92ae1e50-eeeb-4c5b-8939-7e1cd6cfb059 ro
Signed-off-by: Zhang Ning zhangn1985@qq.com
So extlinux.conf support is https://systemd.io/BOOT_LOADER_SPECIFICATION/ so please work with upstream there as well to get kaslrseed added and documented. Thanks!
--
Tom