[PATCH] lkdtm: do not depend on CONFIG_BLOCK

Kees Cook keescook at chromium.org
Wed Nov 28 04:03:23 AEDT 2018


On Tue, Nov 27, 2018 at 7:59 AM, Christophe Leroy
<christophe.leroy at c-s.fr> wrote:
>
>
> On 11/27/2018 07:43 AM, Greg Kroah-Hartman wrote:
>>
>> On Fri, Nov 09, 2018 at 07:05:51AM +0000, Christophe Leroy wrote:
>>>
>>> Most parts of lkdtm don't require CONFIG_BLOCK.
>>>
>>> This patch limits dependency to CONFIG_BLOCK in order to give embedded
>>> platforms which don't select CONFIG_BLOCK the opportunity to use LKDTM.
>>>
>>> Fixes: fddd9cf82c9f ("make LKDTM depend on BLOCK")
>>> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

Actually, I don't think any of this is needed, actually. The switch to
kprobes from jprobes meant that the symbols are resolved at runtime
now, so there's no need for the headers at all (nor the Kconfig line).
I'll spin something and send it out...

-- 
Kees Cook


More information about the Linuxppc-dev mailing list