lkml.org 
[lkml]   [2021]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v19 12/25] mm: Introduce VM_SHSTK for shadow stack memory
From
Date
On 2/4/2021 12:46 PM, Cyrill Gorcunov wrote:
> 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.
>

I will add that. Thanks!

\
 
 \ /
  Last update: 2021-02-04 22:51    [W:0.115 / U:7.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site