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]
Date:	Sat, 27 Feb 2010 12:52:22 GMT
From:	tip-bot for Heiko Carstens <heiko.carstens@...ibm.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
	schwidefsky@...ibm.com, lethal@...ux-sh.org, vapier.adi@...il.com,
	davem@...emloft.net, fweisbec@...il.com, rostedt@...dmis.org,
	heiko.carstens@...ibm.com, tglx@...utronix.de, mhiramat@...hat.com
Subject: [tip:tracing/core] tracing/kprobes: Add short documentation for HAVE_REGS_AND_STACK_ACCESS_API

Commit-ID:  e01292b1fd68ff2abe234d584b06e64344d2c1de
Gitweb:     http://git.kernel.org/tip/e01292b1fd68ff2abe234d584b06e64344d2c1de
Author:     Heiko Carstens <heiko.carstens@...ibm.com>
AuthorDate: Thu, 18 Feb 2010 14:25:21 +0100
Committer:  Frederic Weisbecker <fweisbec@...il.com>
CommitDate: Mon, 22 Feb 2010 17:05:51 +0100

tracing/kprobes: Add short documentation for HAVE_REGS_AND_STACK_ACCESS_API

So that arch developers know how to implement it without the
need to dig into changelogs.

Reported-by: Mike Frysinger <vapier.adi@...il.com>
Signed-off-by: Heiko Carstens <heiko.carstens@...ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@...hat.com>
Cc: Martin Schwidefsky <schwidefsky@...ibm.com>
Cc: "David S . Miller" <davem@...emloft.net>
Cc: Paul Mundt <lethal@...ux-sh.org>
Cc: Steven Rostedt <rostedt@...dmis.org>
LKML-Reference: <20100218132521.GB2406@...ris.boeblingen.de.ibm.com>
[added reference to ptrace.h in the config help]
Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
---
 arch/Kconfig |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index 04e3aa7..50877ef 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -123,6 +123,11 @@ config USE_GENERIC_SMP_HELPERS
 
 config HAVE_REGS_AND_STACK_ACCESS_API
 	bool
+	help
+	  This symbol should be selected by an architecure if it supports
+	  the API needed to access registers and stack entries from pt_regs,
+	  declared in asm/ptrace.h
+	  For example the kprobes-based event tracer needs this API.
 
 config HAVE_CLK
 	bool
--
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