Re: [PATCH 2/5] x86, mpx: hook #BR exception handler to allocatebound tables

From: Borislav Petkov
Date: Fri Jan 17 2014 - 13:23:35 EST


On Fri, Jan 17, 2014 at 09:30:45AM -0800, H. Peter Anvin wrote:
> Yes. It would take some serious effort to get BOUND or MPX
> instructions into the kernel -- you'd have to put them in inline
> assembly, and BOUND doesn't even exist in 64-bit mode.

Which reminds me - we will have to explicitly turn off any compiler
switches that utilize MPX insns so that they don't get issued when
building the kernel. Provided there will be compiler support, that is.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/