Thread (17 messages) 17 messages, 7 authors, 2022-05-23

Re: [RFC 4/6] mm: swap: Add randomization check for swapon/off calls

From: Andrew Lunn <andrew@lunn.ch>
Date: 2022-05-18 12:28:00
Also in: linux-block, linux-doc, linux-mm, linux-pm, lkml

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help