From: Namhyung Kim <namhyung.kim@lge.com>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>,
linux-kernel@vger.kernel.org, Hyeoncheol Lee <cheol.lee@lge.com>
Subject: Re: [QUESTION] Kprobes as a module?
Date: Tue, 15 May 2012 17:34:44 +0900 [thread overview]
Message-ID: <87vcjxzvtn.fsf@sejong.aot.lge.com> (raw)
In-Reply-To: <4FB2146E.20101@gmail.com> (Cong Wang's message of "Tue, 15 May 2012 16:31:42 +0800")
Hi,
On Tue, 15 May 2012 16:31:42 +0800, Cong Wang wrote:
> On 05/15/2012 04:24 PM, Namhyung Kim wrote:
>> Hi,
>>
>> Probably a dumb question :).
>> What prevents the kprobes from being built as a module? We want to use
>> the kprobes on our systems, but some guys worried about potential
>> security problems. So it'd be great if we can enable/load kprobes as
>> needed and then disable/unload after using it. Is it a possible senario?
>>
>
> Kconfig prevents that:
>
> config KPROBES
> bool "Kprobes"
> depends on MODULES
> depends on HAVE_KPROBES
> select KALLSYMS
>
>
> so you can have either CONFIG_KPROBES=y or CONFIG_KPROBES=n, but not =m.
Sorry for an inaccurate question, my point was "Can I change it from
'bool' to 'tristate'"?
Thanks,
Namhyung
next prev parent reply other threads:[~2012-05-15 8:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 8:24 Namhyung Kim
2012-05-15 8:31 ` Cong Wang
2012-05-15 8:34 ` Namhyung Kim [this message]
2012-05-15 12:18 ` Masami Hiramatsu
2012-05-16 1:44 ` Namhyung Kim
2012-05-15 19:52 ` valdis.kletnieks
2012-05-16 1:48 ` Namhyung Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vcjxzvtn.fsf@sejong.aot.lge.com \
--to=namhyung.kim@lge.com \
--cc=cheol.lee@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome