Re: [PATCH 04/17] x86, mpx: trace entry to bounds exception paths

From: Borislav Petkov
Date: Fri Mar 27 2015 - 08:04:14 EST


On Thu, Mar 26, 2015 at 11:33:38AM -0700, Dave Hansen wrote:
>
> From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
>
> There are two basic things that can happen as the result of
> a bounds exception (#BR):
>
> 1. We allocate a new bounds table
> 2. We pass up a bounds exception to userspace.
>
> This patch adds a trace points for the case where we are

a tracepoint

> passing the exception up to userspace with a signal.
>
> We are also explicit that we're printing out the inverse of
> the 'upper' that we encounter. If you want to filter, for
> instance, you need to ~ the value first.

negate
>
> Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> ---
>
> b/arch/x86/include/asm/trace/mpx.h | 25 +++++++++++++++++++++++++
> b/arch/x86/mm/mpx.c | 2 ++
> 2 files changed, 27 insertions(+)

...

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
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/