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] [day] [month] [year] [list]
Message-ID: <20080828075023.GI21875@elte.hu>
Date:	Thu, 28 Aug 2008 09:50:26 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Steven Rostedt <rostedt@...dmis.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] ftrace: remove direct reference to mcount in trace code


* Steven Rostedt <rostedt@...dmis.org> wrote:

> The mcount record method of ftrace scans objdump for references to 
> mcount. Using mcount as the reference to test if the calls to mcount 
> being replaced are indeed calls to mcount, this use of mcount was also 
> caught as a location to change. Using a variable that points to the 
> mcount address moves this reference into the data section that is not 
> scanned, and we do not use a false location to try and modify.
> 
> The warn on code was what was used to detect this bug.
> 
> Signed-off-by: Steven Rostedt <srostedt@...hat.com>

applied to tip/tracing/ftrace - thanks Steve!

	Ingo
--
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