[PATCH v17 08/10] PM: hibernate: disable when there are active secretmem users

Matthew Garrett mjg59 at srcf.ucam.org
Mon Feb 22 02:34:52 EST 2021


On Mon, Feb 08, 2021 at 10:49:18AM +0200, Mike Rapoport wrote:

> It is unsafe to allow saving of secretmem areas to the hibernation
> snapshot as they would be visible after the resume and this essentially
> will defeat the purpose of secret memory mappings.

Sorry for being a bit late to this - from the point of view of running
processes (and even the kernel once resume is complete), hibernation is
effectively equivalent to suspend to RAM. Why do they need to be handled
differently here?



More information about the linux-arm-kernel mailing list