This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH 2/N, MPX, x86_64] Intel MPX support in glibc for x86_64


Then I'm going to test attached patch.

Thanks,
Igor

> -----Original Message-----
> From: Richard Henderson [mailto:rth7680@gmail.com] On Behalf Of Richard
> Henderson
> Sent: Thursday, April 10, 2014 5:38 AM
> To: H.J. Lu
> Cc: Zamyatin, Igor; libc-alpha@sourceware.org
> Subject: Re: [PATCH 2/N, MPX, x86_64] Intel MPX support in glibc for x86_64
> 
> On 04/09/2014 05:12 PM, H.J. Lu wrote:
> >> Wouldn't it be just as easy to do
> >>
> >>   .byte 0x66,0x0f,0x1b,0x84,0x24; .long LR_BND_OFFSET
> >>
> >> after all, you know how and where that offset is going to be encoded.
> >
> > Sure.  We can do that after verifying LR_BND_OFFSET >= 0x80.
> 
> No need for that, since the previous bytes have encoded the form that
> expects a 4-byte offset.  The offset can be anything at all within those bytes.
> 
> 
> r~

Attachment: mpx_glibc_bnds_store_restore_2_1.patch
Description: mpx_glibc_bnds_store_restore_2_1.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]