Re: [tip: x86/shstk] x86/shstk: Enable shadow stacks for x32

From: Borislav Petkov
Date: Fri Mar 22 2024 - 12:49:57 EST


On Fri, Mar 22, 2024 at 10:59:58AM -0000, tip-bot2 for H.J. Lu wrote:
> The following commit has been merged into the x86/shstk branch of tip:
>
> Commit-ID: 2883f01ec37dd8668e7222dfdb5980c86fdfe277
> Gitweb: https://git.kernel.org/tip/2883f01ec37dd8668e7222dfdb5980c86fdfe277
> Author: H.J. Lu <hjl.tools@xxxxxxxxx>
> AuthorDate: Fri, 15 Mar 2024 07:04:33 -07:00
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitterDate: Fri, 22 Mar 2024 10:17:11 +01:00
>
> x86/shstk: Enable shadow stacks for x32
>
> 1. Add shadow stack support to x32 signal.
> 2. Use the 64-bit map_shadow_stack syscall for x32.
> 3. Set up shadow stack for x32.

Why are we still diddling with x32 and not patching it out instead?

https://lore.kernel.org/all/CALCETrXoRAibsbWa9nfbDrt0iEuebMnCMhSFg-d9W-J2g8mDjw@xxxxxxxxxxxxxx/

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette