lkml.org 
[lkml]   [2021]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ima: Fix undefined arch_ima_get_secureboot() and co
From
Date
Hi Takashi,

On Mon, 2021-12-13 at 17:11 +0100, Takashi Iwai wrote:
> Currently arch_ima_get_secureboot() and arch_get_ima_policy() are
> defined only when CONFIG_IMA is set, and this makes the code calling
> those functions without CONFIG_IMA failing. Although there is no such
> in-tree users, but the out-of-tree users already hit it.
>
> Move the declaration and the dummy definition of those functions
> outside ifdef-CONFIG_IMA block for fixing the undefined symbols.
>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>

Before lockdown was upstreamed, we made sure that IMA and lockdown
could co-exist. This patch makes the stub functions available even
when IMA is not configured. Do the remaining downstream patches
require IMA to be disabled or can IMA co-exist?

thanks,

Mimi

\
 
 \ /
  Last update: 2021-12-14 16:32    [W:0.292 / U:1.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site