Re: [PATCH v3 3/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-08-06 Thread Mike Rapoport
On Thu, Aug 06, 2020 at 01:27:57PM +0300, Kirill A. Shutemov wrote: > On Tue, Aug 04, 2020 at 12:50:32PM +0300, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Introduce "memfd_secret" system call with the ability to create memory > > areas visible only in the context of the owning process

Re: [PATCH v3 3/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-08-06 Thread Mike Rapoport
On Wed, Aug 05, 2020 at 06:05:18AM -0700, Randy Dunlap wrote: > On 8/4/20 2:50 AM, Mike Rapoport wrote: > > diff --git a/mm/Kconfig b/mm/Kconfig > > index f2104cc0d35c..8378175e72a4 100644 > > --- a/mm/Kconfig > > +++ b/mm/Kconfig > > @@ -872,4 +872,8 @@ config ARCH_HAS_HUGEPD > > config

Re: [PATCH v3 3/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-08-06 Thread Kirill A. Shutemov
On Tue, Aug 04, 2020 at 12:50:32PM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > Introduce "memfd_secret" system call with the ability to create memory > areas visible only in the context of the owning process and not mapped not > only to other processes but in the kernel page tables as

Re: [PATCH v3 3/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-08-05 Thread Randy Dunlap
On 8/4/20 2:50 AM, Mike Rapoport wrote: > diff --git a/mm/Kconfig b/mm/Kconfig > index f2104cc0d35c..8378175e72a4 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -872,4 +872,8 @@ config ARCH_HAS_HUGEPD > config MAPPING_DIRTY_HELPERS > bool > > +config SECRETMEM > +def_bool

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

2020-08-04 Thread Mike Rapoport
From: Mike Rapoport Introduce "memfd_secret" system call with the ability to create memory areas visible only in the context of the owning process and not mapped not only to other processes but in the kernel page tables as well. The user will create a file descriptor using the memfd_secret()