Re: [PATCH v23 13/28] mm: Introduce VM_SHSTK for shadow stack memory

From
Kirill A. Shutemov <hidden>
Date
2021-03-22 11:34:22
Also in
linux-api, linux-arch, linux-mm, lkml
Reply to
Yu-cheng Yu, 2021-03-16
On Tue, Mar 16, 2021 at 08:10:39AM -0700, Yu-cheng Yu wrote:
quoted hunk ↗ jump to hunk
+#ifdef CONFIG_X86_CET
+# define VM_SHSTK	VM_HIGH_ARCH_5
+#else
+# define VM_SHSTK	VM_NONE
+#endif
+
Why not VM_SHADOW_STACK? Random reader may think SH stands for SHARED or
something.

-- 
 Kirill A. Shutemov
Thread (66 messages) 66 messages, 5 authors, last reply 2021-03-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help