Messages in this thread | | | Date | Wed, 18 May 2022 14:27:05 +0200 | From | Andrew Lunn <> | Subject | Re: [RFC 4/6] mm: swap: Add randomization check for swapon/off calls |
| |
On Wed, May 18, 2022 at 01:18:39PM +0530, Vivek Kumar wrote: > Add addtional check on swapon/swapoff sycalls to disable > randomization of swap offsets if GENHD_FL_NO_RANDOMIZE > flag is passed.
Is there already a flag in the image header which tells you if the image is randomozied or not? I assume the bootloader needs to know, doing a linear read of a randomized image is not going to end well.
Andrew
| |