From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:35602 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727405AbeGPOUW (ORCPT ); Mon, 16 Jul 2018 10:20:22 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6GDn0xM141151 for ; Mon, 16 Jul 2018 09:52:48 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2k8vbegrsw-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 16 Jul 2018 09:52:48 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 16 Jul 2018 14:52:46 +0100 Subject: Re: [PATCH v6 7/8] module: replace the existing LSM hook in init_module From: Mimi Zohar To: Kees Cook , Mimi Zohar Cc: linux-integrity , linux-security-module , LKML , "Luis R . Rodriguez" , Eric Biederman , Kexec Mailing List , Andres Rodriguez , Greg Kroah-Hartman , Jeff Vander Stoep , Casey Schaufler Date: Mon, 16 Jul 2018 09:52:28 -0400 In-Reply-To: References: <1531505163-20227-1-git-send-email-zohar@linux.vnet.ibm.com> <1531505163-20227-8-git-send-email-zohar@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Message-Id: <1531749148.3380.2.camel@linux.ibm.com> Sender: linux-integrity-owner@vger.kernel.org List-ID: On Sat, 2018-07-14 at 19:30 -0700, Kees Cook wrote: > On Fri, Jul 13, 2018 at 11:06 AM, Mimi Zohar wrote: > > Both the init_module and finit_module syscalls call either directly > > or indirectly the security_kernel_read_file LSM hook. This patch > > replaces the direct call in init_module with a call to the new > > security_kernel_load_data hook and makes the corresponding changes > > in SELinux, LoadPin, and IMA. > > > > Signed-off-by: Mimi Zohar > > Cc: Jeff Vander Stoep > > Cc: Casey Schaufler > > Cc: Kees Cook > > Acked-by: Jessica Yu > > Acked-by: Paul Moore > > Acked-by: Kees Cook > > Thanks! Thank you for reviewing/ack'ing all the patches, not just this one. Mimi