Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp701328lqh; Thu, 28 Mar 2024 13:39:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6fcUrzEEE/KQ/DWURCSzh0BTGv6Q+OciczkhROUWBPv0A0a5wyEaLCH5OBRAkEB3qmodzpXKxlFrtQNm0mzhvFNRctIyVi6gmMLzITg== X-Google-Smtp-Source: AGHT+IEkQ9LxaX56/iVR885MgYJLOJmiigwyyaCQmpK6mndbAD8BRPjF3RaPhHPd9PQyXPKCtT7O X-Received: by 2002:a05:622a:4e0b:b0:432:b41a:17da with SMTP id dh11-20020a05622a4e0b00b00432b41a17damr4499414qtb.34.1711658354056; Thu, 28 Mar 2024 13:39:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711658354; cv=pass; d=google.com; s=arc-20160816; b=wOAOjj0BMOqYPqEXYIqjkcLBG3DVMkBtk0Vj/C+RaL7Xw3mjHlWtuLUJ7gDNy4WDTB koebWZr3P7cr3oYXUzUbc3pdgP2XNPoxRwB39ZI+qnAVSsiOUtsj4aauOyer36c+788c NvNE5khAEQiCo/JU9Iye/PHoDRLnzU+8CSwV+WFqe6RpBcE7L3KM9ZNxx/3sgSmQ/nq/ oFswwSYxozMXgsFgfxxkSTOWSy/ifEkkvG/reqnHB/cU3WsAZ+iW8EDgATCfiD4ViNGE HeD2yzkkYeWaxBfHCkdVSsB1pP+6r7oYnfjsqNcGg457jZ3qd7bK9cjflt5M1F2Lpl4a Bz7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=DJTHg9zmbvKR66JW2/gFAuYFDwjvLNmN3ruepKv+qkc=; fh=8whbVDgkHw+SeQBCWuDjLWRc9nkxIBHm2JB0OUgUkk0=; b=ekWjjhvkH0MQNArXJ5I7ZnJP8kwOfuzM//Z260ITQABYUzrWYndfJnHzuTtKmLSp0w MGKa+i4E81GoCHOTb+/jFFpF8x4Mx8NWNSjEIjwio0uuqc0GrOOXAWrFEpr2d6LmOeNf iLCe4ETtjV8PFLXqtK/UB0i9DGGXVuWpJeilxgsBzwmY6OSFMBLdiiXF8+sXOpDWJQzn wR5LS8gRC+81GjOlizHHVN7Fz6CuFAO9ssZGGYbZ10LVi+4Zmv2mlfN7UJtN0DcCE0vG o+yzzolHvI7OjzHjXMMdrAsUiBFe7WCUOKFRtawH+5gF5y19Eru3tqWLBzsMzYDcV5GT Ds6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=isUQcFeO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123594-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o13-20020a05622a138d00b0043138a47101si2203341qtk.588.2024.03.28.13.39.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 13:39:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123594-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=@kernel.org header.s=k20201202 header.b=isUQcFeO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123594-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 C1DC51C2F49F for ; Thu, 28 Mar 2024 20:39:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC01913A250; Thu, 28 Mar 2024 20:38:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="isUQcFeO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD20D4436B; Thu, 28 Mar 2024 20:38:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658315; cv=none; b=jIw5exNBeojK6fpMtwQxFHDwCBioiT3V9QRufI/NDi9UgO3VuMyQx/sLjhzngMyVRKPQ97cAOCjw8mwZTSUOXAvySdSykwS2VMafRIJSSu1ZLH/B6JrPmwf8VSU3CNxcYQF8CPy7wu+miQsrHJTUqPK/rfJS2QZ+mBZ/YVd9iOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711658315; c=relaxed/simple; bh=//UHZ5wlfdBrGcEXtCNieykr9XzbKv3rHPqzSEhgiFk=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=Wr76bmhLhFCeWCSQVi5I5ufUw4lrzXhkVnSqtksN2ZkXx/D1nJmry3YpwYoAROCiHdsrv/BTiCbIv6tLSmMcgRxrfpOHq8ny4lMWnwyEYnErcMyG/zoThpLYqkL+xJ9YYcWLBTdBERQ2Z1zSZGMqrYk6Epca26U9nmzUlDtXQFo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=isUQcFeO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0626CC433C7; Thu, 28 Mar 2024 20:38:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711658315; bh=//UHZ5wlfdBrGcEXtCNieykr9XzbKv3rHPqzSEhgiFk=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=isUQcFeODmd1cT+v2ZNaKD1vpflYBGQ5Se9fuVidaCEfht+qiRhDtNMKFw/x3wUMg QzWyjN4zRPBUdyjD8niUMVDPdfQGEXB1RspiOL+NZsLHkkRKYalf1+zlMGuoga2UdY yoChbYqvN6EG76w2sGhRW/WgQGB5ZCKXd95RXrr1PjAVbaq3g6B8ktk2B9RuXFb4GE zXUmVY9eG97XipAfQc1jlIbVfeSjbtxOEwaVY6wawkWTm2t/JD2jeODs54RtYJGfit yJW32QAZK1zsLbQ31IKmWLBJmrptoujj8OFVzH0XUUwzaqLrgAgDcoqbYMfkMaADtj PmPM/7qsa2lMQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 28 Mar 2024 22:38:29 +0200 Message-Id: Cc: , , , , , , , Subject: Re: [PATCH v16 00/20] Integrity Policy Enforcement LSM (IPE) From: "Jarkko Sakkinen" To: "Jarkko Sakkinen" , "Fan Wu" , , , , , , , , , , , X-Mailer: aerc 0.17.0 References: <1711657047-10526-1-git-send-email-wufan@linux.microsoft.com> In-Reply-To: On Thu Mar 28, 2024 at 10:36 PM EET, Jarkko Sakkinen wrote: > On Thu Mar 28, 2024 at 10:17 PM EET, Fan Wu wrote: > > Overview: > > --------- > > s/:// > > It is already a heading. > > > > > IPE is a Linux Security Module which takes a complimentary approach to > =20 > Integrity Policy Enforcement (IPE) is a ... > > > 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. > > What is "a immutable property of the system component", or even, > what is "a immutable property" and what is "a system component". > > These should be defined per context of use as there is no unambiguous > definitions of these "properties". > > So can you add a paragraph before this defining these concepts? > Otherwise, it would be pretty hard to review any of this. > > I.e. I have to make my own imaginary definitions of them and possibly > make completely false conclusions what was meant. This might sound like nitpicking but often in security patch sets people get their own ideas and that leads to useless iterations etc. so I think it is useful to be pretty formal with definitions so that we dont end up shadow boxing... I have ton of experience with this with SGX patches in the past. BR, Jarkko