[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrUNpi1Gc-Qpmu1bJ0BVcSH2xquaY_X+YYhLjbPaQcf0_w@mail.gmail.com>
Date: Tue, 6 Jan 2015 11:51:26 -0800
From: Andy Lutomirski <luto@...capital.net>
To: Andi Kleen <andi@...stfloor.org>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
X86 ML <x86@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
ilya.enkovich@...el.com
Subject: Re: [PATCH 3.19 3/3] x86, mpx: Change the MPX enable/disable API to arch_prctl
On Tue, Jan 6, 2015 at 11:16 AM, Andi Kleen <andi@...stfloor.org> wrote:
> On Tue, Jan 06, 2015 at 10:54:26AM -0800, Dave Hansen wrote:
>> On 01/06/2015 10:41 AM, Andy Lutomirski wrote:
>> > The runtime seems to be here:
>> >
>> > https://software.intel.com/protected-download/267266/144917
>> >
>> > but I'm not going to accept the EULA.
>>
>> That is not the code I'm talking about here.
>
> The MPX run time patch is here (may not be the latest version)
>
> https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01026.html
>
Ah, I see.
Given that it doesn't seen to have been committed yet, I'm not too
worried about compatibility. And "prctl (43)" doesn't actually seem a
whole lot better than "syscall(SYS_arch_prctl, ARCH_ENABLE_MPX, 0)"
(preprocessor macros ftw!). But I don't feel that strongly about this
point.
--Andy
--
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