lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5519C12A.8080904@sr71.net>
Date:	Mon, 30 Mar 2015 14:33:30 -0700
From:	Dave Hansen <dave@...1.net>
To:	Steven Rostedt <rostedt@...dmis.org>
CC:	linux-kernel@...r.kernel.org, x86@...nel.org, tglx@...utronix.de,
	dave.hansen@...ux.intel.com
Subject: Re: [PATCH 03/17] x86, mpx: trace #BR exceptions

On 03/30/2015 02:25 PM, Steven Rostedt wrote:
...
>> > +#ifdef CONFIG_X86_INTEL_MPX
>> > +
>> > +TRACE_EVENT(bounds_exception_mpx,
...
>> > +	TP_printk("bndcfgu:0x%llx bndstatus:0x%llx",
>> > +		__entry->bndcfgu,
>> > +		__entry->bndstatus)
>> > +);
>> > +
>> > +#else
>> > +
>> > +/*
>> > + * This gets used outside of MPX-specific code, so we need a stub.
>> > + */
> I'm a bit confused by this. What exactly is used outside of MPX-specific code?
> Does it break the build without this?

It gets used in arch/x86/kernel/traps.c.  There's a point when we've
decided that the #BR exception is an MPX-specific one and that's where
we'd like the tracepoint to be.

Yes, it breaks the build without this.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ