Re: [PATCH v19 12/25] mm: Introduce VM_SHSTK for shadow stack memory

From: Cyrill Gorcunov
Date: Thu Feb 04 2021 - 15:47:32 EST


On Wed, Feb 03, 2021 at 02:55:34PM -0800, Yu-cheng Yu wrote:
>
> 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.