[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54987D4F.3000908@sr71.net>
Date: Mon, 22 Dec 2014 12:21:35 -0800
From: Dave Hansen <dave@...1.net>
To: Andy Lutomirski <luto@...capital.net>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>, X86 ML <x86@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>
Subject: Re: [PATCH 1/2] x86, mpx: explicitly disable 32-bit MPX support on
64-bit kernels
On 12/22/2014 12:17 PM, Andy Lutomirski wrote:
>> > /*
>> > + * 32-bit binaries on 64-bit kernels are currently
>> > + * unsupported.
>> > + */
>> > + if (IS_ENABLED(CONFIG_X86_64) && test_thread_flag(TIF_IA32))
>> > + return MPX_INVALID_BOUNDS_DIR;
> Should this check mm->ia32_compat instead?
set_personality_64bit/ia32() seem to make that and TIF_IA32 awfully
equivalent. Is there a specific reason for wanting it done this way?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists