Re: [PATCH RFT v6 3/9] mm: Introduce ARCH_HAS_USER_SHADOW_STACK

2024-07-15 Thread Thiago Jung Bauermann
Hello, > diff --git a/mm/Kconfig b/mm/Kconfig > index b4cb45255a54..45416916dec1 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -1249,6 +1249,12 @@ config IOMMU_MM_DATA > config EXECMEM > bool > > +config ARCH_HAS_USER_SHADOW_STACK > + bool > + help > + The architecture

[PATCH RFT v6 3/9] mm: Introduce ARCH_HAS_USER_SHADOW_STACK

2024-06-23 Thread Mark Brown
Since multiple architectures have support for shadow stacks and we need to select support for this feature in several places in the generic code provide a generic config option that the architectures can select. Suggested-by: David Hildenbrand Acked-by: David Hildenbrand Reviewed-by: Deepak Gupt