# Re: \[PATCH v19 12/25\] mm: Introduce VM\_SHSTK for shadow stack memory

- From: Cyrill Gorcunov \<hidden\>
- Date: 2021-02-04 20:47:43 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/02/6259184
- Thread: https://ratatoskr.run/linux-doc/2021/02/6257763/t.md

```text
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.
```
