[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87vcjxzvtn.fsf@sejong.aot.lge.com>
Date: Tue, 15 May 2012 17:34:44 +0900
From: Namhyung Kim <namhyung.kim@....com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
linux-kernel@...r.kernel.org, Hyeoncheol Lee <cheol.lee@....com>
Subject: Re: [QUESTION] Kprobes as a module?
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
--
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