[PATCH v6 0/6] mm: introduce memfd_secret system call to create "secret" memory areas

Hagen Paul Pfeifer hagen at jauu.net
Mon Nov 9 05:41:59 EST 2020


> On 11/04/2020 6:02 PM Mike Rapoport <rppt at kernel.org> wrote:
> 
> Yes, this will work. The processes that share the memfd_secret file
> descriptor will have access to the same memory pages, pretty much like
> with shared memory.

Perfect!

Acked-by: Hagen Paul Pfeifer <hagen at jauu.net>

Thank you for the effort Mike, if zeroize feature will also included it will
be great! The memset-all-pages after use is just overkill, a dedicated flag for
memfd_secret (or mmap) would be superior.

Hagen



More information about the linux-riscv mailing list