Re: [PATCH] x86/uaccess: Use pointer masking to limit uaccess speculation
From: Christoph Hellwig
Date: Tue Sep 01 2020 - 10:46:58 EST
On Tue, Sep 01, 2020 at 03:02:08PM +0100, Mark Rutland wrote:
> One thing to consider is whether you need a speculation barrier after
> set_fs(). Otherwise for code like:
FYI, at least for x86 and powerpc I have a pending series to kill
set_fs(). I'd love to see someone help with the arm/arm64 side, otherwise
I'll try to get to it eventually.