From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mimi Zohar Subject: Re: [RFC] IMA: New IMA measurements for dm-crypt and selinux Date: Mon, 13 Apr 2020 21:11:19 -0400 Message-ID: <1586826679.7311.174.camel@linux.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Sender: owner-linux-security-module@vger.kernel.org To: "Lev R. Oshvang ." , Stephen Smalley Cc: Tushar Sugandhi , linux-integrity@vger.kernel.org, LSM List , SELinux , dm-devel@redhat.com, James Morris , chpebeni@linux.microsoft.com, nramas@linux.microsoft.com, balajib@microsoft.com, sashal@kernel.org, suredd@microsoft.com List-Id: dm-devel.ids On Sun, 2020-04-12 at 11:15 +0300, Lev R. Oshvang . wrote: > On Sat, Apr 11, 2020 at 10:07 PM Stephen Smalley > It sees to me that LKRG (kernel run time guard) takes the role of > measuring kernel structures. Perhaps you need to consult with LKRG > guys. There definitely sounds like there is some overlap.  LKRG seems to be measuring kernel structures for enforcing local integrity.  In the context of IMA, measurements are included in the IMA measurement list and used to extend a TPM PCR so that it can be quoted. A generic method for measuring structures and including them in the IMA measurement list sounds interesting. Mimi