From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E793C433DB for ; Tue, 16 Mar 2021 11:55:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5465365027 for ; Tue, 16 Mar 2021 11:55:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237521AbhCPLym (ORCPT ); Tue, 16 Mar 2021 07:54:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:59302 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbhCPLyK (ORCPT ); Tue, 16 Mar 2021 07:54:10 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6DC8BAD74; Tue, 16 Mar 2021 11:54:09 +0000 (UTC) Date: Tue, 16 Mar 2021 12:54:07 +0100 From: Petr Vorel To: Lakshmi Ramasubramanian Cc: zohar@linux.ibm.com, paul@paul-moore.com, stephen.smalley.work@gmail.com, tusharsu@linux.microsoft.com, ltp@lists.linux.it, linux-integrity@vger.kernel.org, selinux@vger.kernel.org Subject: Re: [PATCH] IMA: Add test for selinux measurement Message-ID: Reply-To: Petr Vorel References: <20210222023805.12846-1-nramas@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210222023805.12846-1-nramas@linux.microsoft.com> Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org Hi Lakshmi, Mimi, > New functionality has been added in IMA to measure data that is > critical to the integrity of the system. SELinux uses this feature > to measure the hash of the SELinux policy loaded in kernel memory, > and the current state of various SELinux configuration. This new > functionality needs test automation in LTP. > Add test cases which verify that the IMA subsystem correctly > measures the data provided by SELinux. I finally merged this patchset, noted both kernel commits. Thanks for this test! Kind regards, Petr * fdd1ffe8a812 ("selinux: include a consumer of the new IMA critical data hook") (v5.12-rc1-dontuse) * 2554a48f4437 ("selinux: measure state and policy capabilities") (to be in v5.13 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Tue, 16 Mar 2021 12:54:07 +0100 Subject: [LTP] [PATCH] IMA: Add test for selinux measurement In-Reply-To: <20210222023805.12846-1-nramas@linux.microsoft.com> References: <20210222023805.12846-1-nramas@linux.microsoft.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Lakshmi, Mimi, > New functionality has been added in IMA to measure data that is > critical to the integrity of the system. SELinux uses this feature > to measure the hash of the SELinux policy loaded in kernel memory, > and the current state of various SELinux configuration. This new > functionality needs test automation in LTP. > Add test cases which verify that the IMA subsystem correctly > measures the data provided by SELinux. I finally merged this patchset, noted both kernel commits. Thanks for this test! Kind regards, Petr * fdd1ffe8a812 ("selinux: include a consumer of the new IMA critical data hook") (v5.12-rc1-dontuse) * 2554a48f4437 ("selinux: measure state and policy capabilities") (to be in v5.13