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

From
Matthew Garrett <mjg59@srcf.ucam.org>
Date
2021-02-22 07:46:33
Also in
linux-arch, linux-arm-kernel, linux-fsdevel, linux-kselftest, linux-mm, linux-riscv, lkml, nvdimm
Reply to
Mike Rapoport, 2021-02-08
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?
Thread (73 messages) 73 messages, 7 authors, last reply 2021-02-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help