Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp934992lqc; Fri, 8 Mar 2024 17:14:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXGYcOTvP3XwqyNHRQ+9aYhsXay16KzApbE96UjpWmqaWfLAhS1wdDw/rtRorP2EMTdMY46RacZaB8HY7nZv2ebcsV5yIS1imw48eENRw== X-Google-Smtp-Source: AGHT+IHEE1QhNiNBmikOTmeeC+yAenbWpMhBN2l76hYDxGaePW4aGy8M9zpwAOqo8WPV2Y5LL+0C X-Received: by 2002:a05:622a:5cf:b0:42e:b70a:1e4a with SMTP id d15-20020a05622a05cf00b0042eb70a1e4amr1092502qtb.25.1709946888701; Fri, 08 Mar 2024 17:14:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709946888; cv=pass; d=google.com; s=arc-20160816; b=aD+WZ/04vlSoR+JyFSf1mPId+877v8GmiYqgLGlCwowc0kQCAOpz+EcSeLZaIkxLaU SHohIMMe39v6zqV0J4oqqVG3ZpZPReIcepb/aoi+2G0TV37cn0g14pbDPfP9fu2agJ2X 5ujIq+EPkGfNThmQfSa4/rluGwUbVqlFTZyk2brHrKMN/B9YmVjXmuiQ5ok09+Bf4lTt Jbt01FWO/8LlBSsAr2Qlju9gXpagSLK3bqPRQMyHnqs+gTUXccCMIqLcy0hKSKQJ5HZb zIX9+U9lVtixdnGE9SEFBVQa97lCLCGjJS55VyKTnUq/F1A0uN7FGw7/nG+xEvLiecdR jJmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=KPz2z6DvnJxq/mvZY2AzEM7nepXgQps0sd3FnWYy8AY=; fh=iS8qGDLQkzpVsvCt1uMSV92OE5fDUF1t1U/b3glRbWg=; b=xeSQqMJMaBygKk3NlQLShzN+xGKoq4sAR6n9L12t5NEyMvlxV1V5wHIE0G0oP67T4e BxWVLj2Ven5hxLABuXm1+oEE60OdNvW5TvFK39cmwrYoJcM60JlShojGdQ5ldwJuc9g7 MCOiZO9QPDf1fCYnFdLrEc7CvTA0gvHQATTDF46Qy0Fh25xUULLWi5dmNvjvTi17ubXU RkrqXH2MlFXwBYltTYfdVQHnpAvDrqkvpvsze+RaHgWbmjI1hOO7nkMNrPRRzR8xHpQG qlhBSvI8CIrR+S3+2QXA2R8HovLkpG7GOnHxYjN+MS8D1g629DHHLyrqlTFHhtVS8r7O R9zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=Y1ZITEOE; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-97724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o1-20020ac85a41000000b0042e6e396cb6si741984qta.373.2024.03.08.17.14.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 17:14:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=Y1ZITEOE; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-97724-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6C60D1C21066 for ; Sat, 9 Mar 2024 01:14:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4D0320F1; Sat, 9 Mar 2024 01:14:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="Y1ZITEOE" Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53DF9101C8 for ; Sat, 9 Mar 2024 01:14:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709946871; cv=none; b=JORirTV2axqJa5YbTxdSynJ2CLOhOa80Zpatfay7VPD1Ai7tHopkA0WHmYnweyb4tXB5ZgboZeuz5l2IBToEuqa7zJyJmY6nB/2wUSN4eqFFlgw/Ym02k3djZ9SlC59CiQvf44Ek5TGQU2WPVA/ci9VluT8ap0G/6R2O9w+P5z0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709946871; c=relaxed/simple; bh=PVSSW/TRZScbGAXptUtzNMhjOI0JAjP3o2LHf4YtFlE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ufZyJZWL/E8Tu+Y7TOfR3POfg4Z1BJh5pv5KpjavKrUSVf1zpgrfueCRsQhj7gboE1uXJEe071keJWfjo8BKsxyXIazCxWhtUFQuNi8Q3c1nYHIKPi9MuptStJezqSLmhJMOy0fcwYo4iAr22NnKANlIsb+M4ouifCYb4ZvvY18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com; spf=pass smtp.mailfrom=paul-moore.com; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b=Y1ZITEOE; arc=none smtp.client-ip=209.85.219.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paul-moore.com Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-dd10ebcd702so2437928276.2 for ; Fri, 08 Mar 2024 17:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1709946868; x=1710551668; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KPz2z6DvnJxq/mvZY2AzEM7nepXgQps0sd3FnWYy8AY=; b=Y1ZITEOEQMcPGo0IG+gwiGch8CnQXfEH4HEZKP2VNMxLUEtC0/XKnlmtFb01oTOAoM bUlhF//VTz39WdyQJ4aNxBCGDXS2HHz8fRKSaeXfnzQg/WmzaJdmlHo4tS+0cUaCQBMS pUqke+3r86nVSAScKNFYk/sFgex4OoZh72SHtjI0gIV2MIR72aHwQcSQLpNqlG92Vp3L cdKjHiDqA44uJNzOECaQdtY14Z5kBvXFj6Q7wfZWgwbuYjW9o3QX6cQSt3btbzM7Tak3 mE7eNvUokKYai8U35gAQ+n09p7inXwVrvXZLcL7JCci6k5+Q2SDk1+MZ8k25c8zXXXre CZHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709946868; x=1710551668; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KPz2z6DvnJxq/mvZY2AzEM7nepXgQps0sd3FnWYy8AY=; b=bsm5Ear78ucn6t2s08O+P1iN2vCt7oIf9x8QNGHw7nvUFSrpwppdF6vYtAxhj6lbT4 pmgZA+f4evHdiVYFhrTc//YQsuYx0aE/+ojtv3FJS83BI5ncOGPV6huvXsRbFzz0Vdio +F+vNDZGM7HRm+0lywHgGA4IWrLYP4WreiauBOtAiE9ixwQs3cfvO42rUPFIy77HNZf8 5b0J0x3mJs6pxGIl2j8doHZBJFq1GaecN7e+QuiMZdqS+hxLtCqRHAcCXjl03X2MZzI1 ZW7aByNIvbI6XcZGQrBFOUk3qcZKbZaz5olk54wThl6yEYvm3J1qGutNmQTnG+5i06/X ekRw== X-Forwarded-Encrypted: i=1; AJvYcCVAyZuNEHn35r8LRQNct2fNyOw4b+63i8ZPrHHcelAD8tM8t8y4YzB1v9IKA4Ws3i+H3+hIGBKWGhmrYfrlia0Msofo9AZxQ5DCsHjz X-Gm-Message-State: AOJu0Yy8pnW6LsoyGF8Tb9ckcDo5uw/6wGcLjkoc8OC+fH8Xc6YMDI6i uhPha4EuFLf4RqrWmzTA1cObWubT/jMP/VArJvUD4enMCp9a/m1/LDs8hM2d96UQL0gvsJiMAld eVJ7TgsToiDYFCOzl0+akRaXG7UYXIUg3yTiD X-Received: by 2002:a25:b227:0:b0:dcd:1043:23c with SMTP id i39-20020a25b227000000b00dcd1043023cmr780907ybj.1.1709946868255; Fri, 08 Mar 2024 17:14:28 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1709768084-22539-1-git-send-email-wufan@linux.microsoft.com> In-Reply-To: <1709768084-22539-1-git-send-email-wufan@linux.microsoft.com> From: Paul Moore Date: Fri, 8 Mar 2024 20:14:17 -0500 Message-ID: Subject: Re: [RFC PATCH v14 00/19] Integrity Policy Enforcement LSM (IPE) To: Fan Wu Cc: corbet@lwn.net, zohar@linux.ibm.com, jmorris@namei.org, serge@hallyn.com, tytso@mit.edu, ebiggers@kernel.org, axboe@kernel.dk, agk@redhat.com, snitzer@kernel.org, eparis@redhat.com, linux-doc@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-block@vger.kernel.org, dm-devel@lists.linux.dev, audit@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 6, 2024 at 6:34=E2=80=AFPM Fan Wu w= rote: > > Overview: > --------- > > IPE is a Linux Security Module which takes a complimentary approach to > access control. Whereas existing mandatory access control mechanisms > base their decisions on labels and paths, IPE instead determines > whether or not an operation should be allowed based on immutable > security properties of the system component the operation is being > performed on. > > IPE itself does not mandate how the security property should be > evaluated, but relies on an extensible set of external property providers > to evaluate the component. IPE makes its decision based on reference > values for the selected properties, specified in the IPE policy. > > The reference values represent the value that the policy writer and the > local system administrator (based on the policy signature) trust for the > system to accomplish the desired tasks. > > One such provider is for example dm-verity, which is able to represent > the integrity property of a partition (its immutable state) with a digest= . > > IPE is compiled under CONFIG_SECURITY_IPE. All of this looks reasonable to me, I see there have been some minor spelling/grammar corrections made, but nothing too serious. If we can get ACKs from the fsverity and device-mapper folks I can merge this once the upcoming merge window closes in a few weeks. --=20 paul-moore.com