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: <4B829347.1090106@redhat.com>
Date:	Mon, 22 Feb 2010 09:23:03 -0500
From:	Masami Hiramatsu <mhiramat@...hat.com>
To:	Frederic Weisbecker <fweisbec@...il.com>
CC:	Mike Frysinger <vapier.adi@...il.com>,
	Heiko Carstens <heiko.carstens@...ibm.com>,
	Ingo Molnar <mingo@...e.hu>,
	LKML <linux-kernel@...r.kernel.org>,
	Martin Schwidefsky <schwidefsky@...ibm.com>,
	"David S . Miller" <davem@...emloft.net>,
	Paul Mundt <lethal@...ux-sh.org>,
	Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH 2/3] tracing/kprobes: Make Kconfig dependencies generic



Frederic Weisbecker wrote:
> On Thu, Feb 18, 2010 at 11:19:54AM -0500, Masami Hiramatsu wrote:
>>> For now it is stored is asm/ptrace.h, but that might be split in
>>> the future, especially as ptrace has initially nothing related to
>>> that. A documentation that deals with filenames or API enumerations
>>> tend to be incidentally async with API evolutions.
>>
>> yeah, now those APIs depend on pt_regs, so I put it in ptrace.h.
>>
>> Thank you,
> 
> 
> Are you guys fine with the following patch or should I bring
> more details somewhere?

I'm fine with it :-)

Acked-by: Masami Hiramatsu <mhiramat@...hat.com>


> 
> Thanks.
> 
> ---
> commit d3643132cfeac24ee20d2b6cd8cb06d73e6a6da9
> Author: Heiko Carstens <heiko.carstens@...ibm.com>
> Date:   Thu Feb 18 14:25:21 2010 +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>
>     Cc: 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>
> 
> 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
> 
> 

-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division

e-mail: mhiramat@...hat.com

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