Re: [PATCH v2 02/39] x86/cet/shstk: Add Kconfig option for Shadow Stack
From: Borislav Petkov
Date: Wed Oct 12 2022 - 16:04:25 EST
On Thu, Sep 29, 2022 at 03:28:59PM -0700, Rick Edgecombe wrote:
> From: Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx>
> Subject: Re: [PATCH v2 02/39] x86/cet/shstk: Add Kconfig option for Shadow Stack
Please remove all "CET", "cet", etc strings from the text as that is
confusing. We should use either shadow stack or IBT and not CET.
> +config ARCH_HAS_SHADOW_STACK
Do I see it correctly that this thing is needed only once in
show_smap_vma_flags()?
If so, can we do a arch_show_smap_vma_flags(), call it at the end of
former function and avoid adding yet another Kconfig symbol?
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette