Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1434269pxa; Sun, 2 Aug 2020 07:32:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkxymYBiJlolqzDF1keCC2UZ1wCqDGcZzsycw/SHcCVtofmDPfUjPlWnoql4IAe6/gPYr2 X-Received: by 2002:a17:907:204e:: with SMTP id pg14mr13135425ejb.324.1596378746906; Sun, 02 Aug 2020 07:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596378746; cv=none; d=google.com; s=arc-20160816; b=PJUUJkYxWi6o2nhGTT1qM1P3BqeArslO4oe5Q2hImOQqaBKrwJmgRH66BwDtgN6v+Y LavoWZGtbnLj9h3lBq78A4kDxIFiv2VAbI2W12JIYWRg6nWp6b3S/w5ql3AMDKb1nEoP a7Te2fwXMlYGeY70XyI8HHvNvkUoGvhvWuRm3LdAaHpu7WhwF3hvf7hXmcyW55gdHZV1 iox7PfHSKOjasOt4N7lytqdbhfl+Ygy0w2GC67aQ09lqBqGIWHe8C5uWbiajAC0xI1vH 8scxw6wmeH7fUIeOag8R05R/05Y1yzDm8adp02NTdIodfWZEZNFqJA5uXAOHaIWX5Dao nfRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Zp8cdRxTvdVJj3q3LGjDFIbSNSTi/SH+vmBIQSo9nHU=; b=vj5/tHyhHesh1aqP83s3m8qirejBqG29LqNkm4F5pxC+E/tkY2WUfIz3QIq75zMVJn G2vO6WsLnpgmNSAhOw0iv5nKl3i1BnIi7v/wRMUwWspku7ewJU9FK8XcZ6oYYe06o8IP CVuXk4DvhTYWNoRLDeGIGEHrCdcm5rji2sjIJI8lizSyqaCedrpa06xXIRF/ulHUFXOE lUnx1CknCZguTqcz08BqOup5eErD6Ay0yWS45jdofzGn2nsgxgjcgeUxt5/TL1ERXVMm VIQ1XjL/0OW0zKVQUkucG3COGU81gCV5w3ZHPmmhYE5M5lFoUdP40kxrNqzzbyJfcxBd f3vQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h23si8480240ejj.573.2020.08.02.07.32.04; Sun, 02 Aug 2020 07:32:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726197AbgHBObr (ORCPT + 99 others); Sun, 2 Aug 2020 10:31:47 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:60476 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725840AbgHBObr (ORCPT ); Sun, 2 Aug 2020 10:31:47 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 127351C0BD4; Sun, 2 Aug 2020 16:31:44 +0200 (CEST) Date: Sun, 2 Aug 2020 16:31:43 +0200 From: Pavel Machek To: Sasha Levin Cc: Deven Bowers , agk@redhat.com, axboe@kernel.dk, snitzer@redhat.com, jmorris@namei.org, serge@hallyn.com, zohar@linux.ibm.com, viro@zeniv.linux.org.uk, paul@paul-moore.com, eparis@redhat.com, jannh@google.com, dm-devel@redhat.com, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-audit@redhat.com, tyhicks@linux.microsoft.com, linux-kernel@vger.kernel.org, corbet@lwn.net, jaskarankhurana@linux.microsoft.com, mdsakib@microsoft.com, nramas@linux.microsoft.com, pasha.tatashin@soleen.com Subject: Re: [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE) Message-ID: <20200802143143.GB20261@amd> References: <20200728213614.586312-1-deven.desai@linux.microsoft.com> <20200802115545.GA1162@bug> <20200802140300.GA2975990@sasha-vm> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s/l3CgOIzMHHjg/5" Content-Disposition: inline In-Reply-To: <20200802140300.GA2975990@sasha-vm> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --s/l3CgOIzMHHjg/5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2020-08-02 10:03:00, Sasha Levin wrote: > On Sun, Aug 02, 2020 at 01:55:45PM +0200, Pavel Machek wrote: > >Hi! > > > >>IPE is a Linux Security Module which allows for a configurable > >>policy to enforce integrity requirements on the whole system. It > >>attempts to solve the issue of Code Integrity: that any code being > >>executed (or files being read), are identical to the version that > >>was built by a trusted source. > > > >How is that different from security/integrity/ima? >=20 > Maybe if you would have read the cover letter all the way down to the > 5th paragraph which explains how IPE is different from IMA we could > avoided this mail exchange... " IPE differs from other LSMs which provide integrity checking (for instance, IMA), as it has no dependency on the filesystem metadata itself. The attributes that IPE checks are deterministic properties that exist solely in the kernel. Additionally, IPE provides no additional mechanisms of verifying these files (e.g. IMA Signatures) - all of the attributes of verifying files are existing features within the kernel, such as dm-verity or fsverity. " That is not really helpful. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --s/l3CgOIzMHHjg/5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl8mzk8ACgkQMOfwapXb+vLIbgCaA3csU541jz7eEPNddFWHs7h3 kiUAn0UO6AiyKqQwqSNgE+2r+SZ3D4bn =xwpV -----END PGP SIGNATURE----- --s/l3CgOIzMHHjg/5--