Thread (71 messages) 71 messages, 11 authors, 2018-10-16

Re: [RFC PATCH v4 18/27] x86/cet/shstk: User-mode shadow stack support

From: Eugene Syromiatnikov <hidden>
Date: 2018-10-03 15:07:46
Also in: linux-arch, linux-doc, linux-mm, lkml

On Fri, Sep 21, 2018 at 08:03:42AM -0700, Yu-cheng Yu wrote:
quoted hunk ↗ jump to hunk
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 5ea1d64cb0b4..b20450dde5b7 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -652,6 +652,9 @@ static void show_smap_vma_flags(struct seq_file *m, struct vm_area_struct *vma)
 		[ilog2(VM_PKEY_BIT4)]	= "",
 #endif
 #endif /* CONFIG_ARCH_HAS_PKEYS */
+#ifdef CONFIG_X86_INTEL_SHADOW_STACK_USER
+		[ilog2(VM_SHSTK)]	= "ss"
+#endif
It's probably makes sense to have this hunk as a part of "x86/cet/shstk:
Add Kconfig option for user-mode shadow stack", where VM_SHSTK was
initially introduced.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help