[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.21.1812210500010.29474@namei.org>
Date: Fri, 21 Dec 2018 05:00:43 +1100 (AEDT)
From: James Morris <jmorris@...ei.org>
To: Paul Gortmaker <paul.gortmaker@...driver.com>
cc: Mimi Zohar <zohar@...ux.ibm.com>,
Randy Dunlap <rdunlap@...radead.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-integrity@...r.kernel.org
Subject: Re: linux-next: Tree for Dec 14 (security/integrity/ima/)
On Fri, 14 Dec 2018, Paul Gortmaker wrote:
> >From 31081a8b46e84d64e2fbda8d0d82ba26d56cc468 Mon Sep 17 00:00:00 2001
> From: Paul Gortmaker <paul.gortmaker@...driver.com>
> Date: Fri, 14 Dec 2018 16:48:07 -0500
> Subject: [PATCH] security: integrity: partial revert of make ima_main
> explicitly non-modular
>
> In commit 4f83d5ea643a ("security: integrity: make ima_main explicitly
> non-modular") I'd removed <linux/module.h> after assuming that the
> function is_module_sig_enforced() was an LSM function and not a core
> kernel module function.
>
> Unfortunately the typical .config selections used in build testing
> provide an implicit <linux/module.h> presence, and so normal/typical
> build testing did not immediately reveal my incorrect assumption.
>
> Cc: Mimi Zohar <zohar@...ux.vnet.ibm.com>
> Cc: Dmitry Kasatkin <dmitry.kasatkin@...il.com>
> Cc: James Morris <james.l.morris@...cle.com>
> Cc: "Serge E. Hallyn" <serge@...lyn.com>
> Cc: linux-ima-devel@...ts.sourceforge.net
> Cc: linux-security-module@...r.kernel.org
> Reported-by: Randy Dunlap <rdunlap@...radead.org>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.com>
>
> diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c
> index adaf96932237..616a88f95b92 100644
> --- a/security/integrity/ima/ima_main.c
> +++ b/security/integrity/ima/ima_main.c
> @@ -21,7 +21,7 @@
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> -#include <linux/init.h>
> +#include <linux/module.h>
> #include <linux/file.h>
> #include <linux/binfmts.h>
> #include <linux/mount.h>
>
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general
and next-testing
--
James Morris
<jmorris@...ei.org>
Powered by blists - more mailing lists