Re: [PATCH v19 12/25] mm: Introduce VM_SHSTK for shadow stack memory
From: Yu, Yu-cheng <hidden>
Date: 2021-02-04 21:50:28
Also in:
linux-arch, linux-doc, linux-mm, lkml
From: Yu, Yu-cheng <hidden>
Date: 2021-02-04 21:50:28
Also in:
linux-arch, linux-doc, linux-mm, lkml
On 2/4/2021 12:46 PM, Cyrill Gorcunov wrote:
On Wed, Feb 03, 2021 at 02:55:34PM -0800, Yu-cheng Yu wrote:quoted
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 602e3a52884d..59623dcd92bb 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c@@ -661,6 +661,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_CET + [ilog2(VM_SHSTK)] = "ss", +#endif };IIRC we've these abbreviations explained in documentaion (proc.rst file). Could you please update it once time permit? I think it can be done on top of the series.
I will add that. Thanks!