Message ID | 20221116131922.25533-1-lukas.bulwahn@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [RESEND] mm: Kconfig: make config SECRETMEM visible with EXPERT | expand |
diff --git a/mm/Kconfig b/mm/Kconfig index c7e06b507965..6a9a7657b470 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -1074,7 +1074,13 @@ config IO_MAPPING bool config SECRETMEM - def_bool ARCH_HAS_SET_DIRECT_MAP && !EMBEDDED + default y + bool "Enable memfd_secret() system call" if EXPERT + depends on ARCH_HAS_SET_DIRECT_MAP + help + Enable the memfd_secret() system call with the ability to create + memory areas visible only in the context of the owning process and + not mapped to other processes and other kernel page tables. config ANON_VMA_NAME bool "Anonymous VMA name support"