From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jla7L-0003yw-AB for kexec@lists.infradead.org; Wed, 17 Jun 2020 15:36:48 +0000 Date: Wed, 17 Jun 2020 17:36:39 +0200 From: Greg Kroah-Hartman Subject: Re: [PATCH v2 1/1] fs: move kernel_read_file* to its own include file Message-ID: <20200617153639.GA2702068@kroah.com> References: <20200617151710.16613-1-scott.branden@broadcom.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200617151710.16613-1-scott.branden@broadcom.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Scott Branden Cc: linux-security-module@vger.kernel.org, Kees Cook , "Rafael J . Wysocki" , selinux@vger.kernel.org, Dmitry Kasatkin , Stephen Smalley , kexec@lists.infradead.org, James Morris , Mimi Zohar , linux-kernel@vger.kernel.org, Paul Moore , Luis Chamberlain , BCM Kernel Feedback , Eric Biederman , Jessica Yu , linux-fsdevel@vger.kernel.org, Eric Paris , linux-integrity@vger.kernel.org, "Serge E . Hallyn" , Christoph Hellwig , Alexander Viro On Wed, Jun 17, 2020 at 08:17:10AM -0700, Scott Branden wrote: > Move kernel_read_file* out of linux/fs.h to its own linux/kernel_read_file.h > include file. That header gets pulled in just about everywhere > and doesn't really need functions not related to the general fs interface. > > Suggested-by: Christoph Hellwig > Signed-off-by: Scott Branden > --- > drivers/base/firmware_loader/main.c | 1 + > fs/exec.c | 1 + > include/linux/fs.h | 39 ---------------------- > include/linux/ima.h | 1 + > include/linux/kernel_read_file.h | 52 +++++++++++++++++++++++++++++ > include/linux/security.h | 1 + > kernel/kexec_file.c | 1 + > kernel/module.c | 1 + > security/integrity/digsig.c | 1 + > security/integrity/ima/ima_fs.c | 1 + > security/integrity/ima/ima_main.c | 1 + > security/integrity/ima/ima_policy.c | 1 + > security/loadpin/loadpin.c | 1 + > security/security.c | 1 + > security/selinux/hooks.c | 1 + > 15 files changed, 65 insertions(+), 39 deletions(-) > create mode 100644 include/linux/kernel_read_file.h What changed from v1? Always put that below the --- line. thanks, greg k-h _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec