Re: [PATCH v9 01/26] mm: helper `is_shadow_stack_vma` to check shadow stack vma

From: Deepak Gupta
Date: Fri Feb 07 2025 - 17:45:05 EST


On Fri, Feb 07, 2025 at 08:06:59PM +0000, Mark Brown wrote:
On Fri, Feb 07, 2025 at 10:27:10AM +0100, Vlastimil Babka wrote:
On 2/5/25 02:21, Deepak Gupta wrote:
> VM_SHADOW_STACK (alias to VM_HIGH_ARCH_5) is used to encode shadow stack

I see that arm GCS uses VM_HIGH_ARCH_6.

That'll be bitrot in the changelog, it was originally VM_HIGH_ARCH_5 on
arm64 as well but we had to renumber due to the addition of
VM_MTE_ALLOWED while the GCS series was on the list. The changelog just
shouldn't mention VM_HIGH_ARCH_x, it's not particularly relevant here.

Yeah noted. Thanks.