lkml.org 
[lkml]   [2015]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [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@firstfloor.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


    \
     
     \ /
      Last update: 2015-01-06 21:01    [W:5.258 / U:0.736 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site