Re: [PATCH 0/2] Clean up x86_32 stackprotector

From: Peter Zijlstra
Date: Tue Oct 06 2020 - 04:32:33 EST


On Mon, Oct 05, 2020 at 07:10:39PM -0400, Brian Gerst wrote:
> On Mon, Oct 5, 2020 at 3:30 PM Andy Lutomirski <luto@xxxxxxxxxx> wrote:
> >
> > x86_32 stackprotector is a maintenance nightmare. Clean it up. This
> > disables stackprotector on x86_32 on GCC 8.1 and on all clang
> > versions -- I'll file a bug for the latter.
>
> This should be doable on 64-bit too. All that would need to be done
> is to remove the zero-base of the percpu segment (which would simplify
> alot of other code).

Like what?

I don't think it'd be hard to do, but I really don't see it doing
anything other than make things confusing as heck.