From: Nayna <nayna@linux.vnet.ibm.com>
To: Arnd Bergmann <arnd@kernel.org>, Mimi Zohar <zohar@linux.ibm.com>,
Dmitry Kasatkin <dmitry.kasatkin@gmail.com>,
James Morris <jmorris@namei.org>,
"Serge E. Hallyn" <serge@hallyn.com>,
Stefan Berger <stefanb@linux.ibm.com>,
Nayna Jain <nayna@linux.ibm.com>,
Randy Dunlap <rdunlap@infradead.org>,
Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Arnd Bergmann <arnd@arndb.de>,
John Johansen <john.johansen@canonical.com>,
Tyler Hicks <tyhicks@linux.microsoft.com>,
Bruno Meneguele <bmeneg@redhat.com>,
"Alexander A. Klimov" <grandmaster@al2klimov.de>,
linux-integrity@vger.kernel.org,
linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ima: require CONFIG_MODULES for IMA_APPRAISE_MODSIG
Date: Thu, 22 Apr 2021 13:23:31 -0400 [thread overview]
Message-ID: <2fd688d8-9f39-5839-2262-fb703d19d4c3@linux.vnet.ibm.com> (raw)
In-Reply-To: <20210422132956.1628059-1-arnd@kernel.org>
On 4/22/21 9:29 AM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> When module support is disabled, CONFIG_MODULE_SIG_HASH cannot
> be set either, so the build process fails with an error
>
> certs/Makefile:52: *** Could not determine digest type to use from kernel config. Stop.
>
> when IMA_APPRAISE_MODSIG is set but modules are not.
>
> Add a Kconfig dependency to prevent this configuration.
>
> Fixes: 0165f4ca223b ("ima: enable signing of modules with build time generated key")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks Arnd !!
This fix solves the config issue, but adds an unnecessary MODULES
dependency on APPRAISE_MODSIG. APPRAISE_MODSIG can be used for kernel
image(appended signature) as well as for kernel modules.
I am working on the fix. I am sorry for the delay, I got stuck with some
urgent issues early this week.
Thanks & Regards,
- Nayna
prev parent reply other threads:[~2021-04-22 17:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-22 13:29 [PATCH] ima: require CONFIG_MODULES for IMA_APPRAISE_MODSIG Arnd Bergmann
2021-04-22 17:23 ` Nayna [this message]
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=2fd688d8-9f39-5839-2262-fb703d19d4c3@linux.vnet.ibm.com \
--to=nayna@linux.vnet.ibm.com \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=bmeneg@redhat.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=grandmaster@al2klimov.de \
--cc=jmorris@namei.org \
--cc=john.johansen@canonical.com \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=nayna@linux.ibm.com \
--cc=rdunlap@infradead.org \
--cc=serge@hallyn.com \
--cc=sfr@canb.auug.org.au \
--cc=stefanb@linux.ibm.com \
--cc=tyhicks@linux.microsoft.com \
--cc=zohar@linux.ibm.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;
as well as URLs for NNTP newsgroup(s).