Re: [PATCHv3] x86/mm: set x32 syscall bit in SET_PERSONALITY()

From: Dmitry Safonov
Date: Tue Mar 28 2017 - 07:40:59 EST


On 03/22/2017 01:21 AM, Thomas Gleixner wrote:
On Tue, 21 Mar 2017, Dmitry Safonov wrote:
v3:
- clear x32 syscall flag during x32 -> x86-64 exec() (thanks, HPA).

For correctness sake, this wants to be cleared in the IA32 path as
well. It's not causing any harm, but ....

I'll amend the patch.

So, just a gentle reminder about this problem.
Should I resend v4 with clearing x32 bit in ia32 path?
Or should I resend with this fixup:
https://lkml.org/lkml/2017/3/22/343

The fixup doesn't look as simple as clearing x32 syscall bit, but I may
be wrong.

--
Dmitry