Re: Re: Re: Re: Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL()and general cleaning of kprobe blacklist

From: Masami Hiramatsu
Date: Sat Nov 30 2013 - 21:17:06 EST


(2013/11/30 22:46), Ingo Molnar wrote:
>>>> Anyway, to fix all of them, I think we need file-based blacklist
>>>> especially for assembler symbols.
>>>
>>> assembler symbols shouldn't be particular hard either, just put them
>>> into the noprobes section.
>>
>> Would you mean .kprobes.text? Hmm, I hope not to use it anymore, but
>> yeah, bugfix is more important. Agreed.
>
> No, why not put the symbol address into the 'blacklist' section,
> within the asm file? We fill out exception table entries in .S files
> as well, see the _ASM_EXTABLE() macro, it's possible to do all that.

Oh! I got it. Thank you for the pointer! :)

>
> It needs not a CPP macro but an assembly macro.

OK, I'll try that.

Thanks again,

--
Masami HIRAMATSU
IT Management Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/