> On 11/04/2020 6:02 PM Mike Rapoport <rppt@xxxxxxxxxx> 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@xxxxxxxx> 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