From: Tushar Sugandhi Subject: Re: [RFC] IMA: New IMA measurements for dm-crypt and selinux Date: Thu, 16 Apr 2020 17:53:54 -0700 Message-ID: <96c53a34-315c-946d-3264-e6e2cd19f583@linux.microsoft.com> References: <1586826679.7311.174.camel@linux.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <1586826679.7311.174.camel@linux.ibm.com> Content-Language: en-US Sender: owner-linux-security-module@vger.kernel.org To: Mimi Zohar , "Lev R. Oshvang ." , Stephen Smalley Cc: 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 2020-04-13 6:11 p.m., Mimi Zohar wrote: > 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. Thanks for the feedback Mimi. We were also thinking along the same lines of generic method for measuring structures. We will take this feedback into account while implementing. > > Mimi >