Re: [RFC PATCH v2 1/8] mseal: Add mseal(2) syscall.

2023-10-17 Thread Randy Dunlap
nit: On 10/17/23 02:08, jef...@chromium.org wrote: | diff --git a/mm/Kconfig b/mm/Kconfig | index 264a2df5ecf5..db8a567cb4d3 100644 | --- a/mm/Kconfig | +++ b/mm/Kconfig | @@ -1258,6 +1258,14 @@ config LOCK_MM_AND_FIND_VMA | bool | depends on !STACK_GROWSUP | | +config MSEAL | +

[RFC PATCH v2 1/8] mseal: Add mseal(2) syscall.

2023-10-17 Thread jeffxu
From: Jeff Xu This patchset proposes a new mseal() syscall for the Linux kernel. Modern CPUs support memory permissions such as RW and NX bits. Linux has supported NX since the release of kernel version 2.6.8 in August 2004 [1]. The memory permission feature improves security stance on memory co