Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp293327rdb; Thu, 8 Feb 2024 06:17:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUxPK1sNt9y1/0Q//dPB672C0Xm7AnE5fizNEl21ll8mB9Yc90oUaUn6ZupHMrin4bBNEdWSu6HerTjo5vUihxF5ouSm2iVk4neXlgdQw== X-Google-Smtp-Source: AGHT+IGH8rkr4q6s6BhFerktYkfeoadSoAviXczlbS534DuBNl7CbKUG12xivIoUhrhFlA2rIXRL X-Received: by 2002:a05:6214:f0b:b0:682:bfd0:d79e with SMTP id gw11-20020a0562140f0b00b00682bfd0d79emr5665107qvb.27.1707401830334; Thu, 08 Feb 2024 06:17:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707401830; cv=pass; d=google.com; s=arc-20160816; b=y8A2j+coSyLKF297X5ia/qWMnJ7kXaj7uwlBHHCp2pqDXuECF+uqqHDKo/iyg9YZrD Y0H4sNLexi/6BSLWlkw2F/A+mGXOt1EW3pU/Jj6gg+YgUA4bNOJRWsrRVCUXiTSgxYI3 rbESpIqsOpyQMpqgL14BJw5DY+sXeHSNEVKoTzJEesixEesJyr11jFuLrF4FpIv1goMf rkgTi5d1GptaW1xxYGMEp1wVFgQ2WkLTKujzY9hqPSc3fH220DzevF3iTQnFPfUZpqkk 3k5YIRl8jK4PgjZaWj7Wsc5vfz9ZfL788wiZ6YQdtFq/+X0Zcoh+XvpBsL/cvfX/X/Bu 86Ag== 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=5rHe4xV1s4X4NVlAmyq1Fqck0kWWWvVIv4qB+Ky5Oo4=; fh=zGfGseNmzXOFVXWVZLRnPABHZRd7f3o/dqqXQfdMHIA=; b=rscY/NP25oZ2kLsENj/OmHpXTUvE+onJAophXu9eIQFj0PdYwxVsY81NpqVPr+gamY jiWe2fw9cmL4Oslq0QEG5TtUsJgWNC5HzXcmpIm1OwgnXyVS3G1QIK2jyMhaCKqmmznl oWLGPkSflW7YusK1zTGzyOJebEwHk3NszZmpkrSvLngDWKRDEDqW0urP3nKwtJzTl2oi lYte8Yj9pLlNfmU7OCa7bxb4IdVwBA2zSMqBHiSqHlTJjpQuAT4d68M6RPOkUGFhHVWL acM11g4rvWeYXl5ThOY3L8rfy9ypd8BRm31HsIZnK/IG6sqMOxn8DTq/gbz7fBISqEi8 DZyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=cpIHrnvw; 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-nfs+bounces-1858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com X-Forwarded-Encrypted: i=2; AJvYcCUhb+4f/XA0liJRbLXfI3omvTMnrqfLt9RDvgYKh7Emeo+xvvCpvo+qd6upMay1RGXDvnW4AV2wJlSPC7meYTbjZJwQFnqCLyC5mbT32g== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e14-20020a0562140d8e00b006846c97c980si70625qve.579.2024.02.08.06.17.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 06:17:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=cpIHrnvw; 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-nfs+bounces-1858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1858-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 19FB71C23CA6 for ; Thu, 8 Feb 2024 14:17:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FA7E78696; Thu, 8 Feb 2024 14:17:03 +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="cpIHrnvw" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (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 8086476908 for ; Thu, 8 Feb 2024 14:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707401823; cv=none; b=sg+NGzx1aSnLmsDPSxfBF7y78i+fTGpQx2EcUCOmk+HWsAZiUWuEi6hf36VsspetgFf+LHwr/lACctFc1DFY6eirdhPdG3nRjBwvw8UG73sjziQe8i94n+/EVGXOuKT1gjgtWYMxyEwEJxDRFyVKRGpi+pU9rXBj2YpiMfPXQeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707401823; c=relaxed/simple; bh=ujj/RLFDfuqS7PIZP68+3l/KZkd1KHttxlgRuGySCOs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=RPyEUhMrnMaU/PzhU6zxxx2CCRt2xYdUTnvXfjcCbhcqhO6iYdofknFotR/olgs0rPKQl/5vUSW9ONOtcwudoqfKPaj1w6TPRRo4So+HlVSPWc3whXcUleGSUD2M4tlKS5oYqWY3hEad0O5xdsxWaAAHJ67n/JzgoTy7YppfdFs= 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=cpIHrnvw; arc=none smtp.client-ip=209.85.219.179 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-f179.google.com with SMTP id 3f1490d57ef6-dc6d8f31930so790238276.0 for ; Thu, 08 Feb 2024 06:17:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1707401819; x=1708006619; 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=5rHe4xV1s4X4NVlAmyq1Fqck0kWWWvVIv4qB+Ky5Oo4=; b=cpIHrnvwduqrSfAbUDvwcTPVwb8rM5uk1zLq3xwzi1+jkLLXKNesv/zHRV50VOFZaB mjlVz2xq0Xc8wRbbScpCr3Wh5pqRY9CZuD3kTn2yTGmzl+o8rE0z/xm05jjVGkOWGawM Xxxv8E2Gc9w3bLvEcWitgQLLWHaZUaDvduZSg9GuLo7L3cKhJ5uJxf6emmisiriIiips pdVU8EKnp07svFd9da5oSFwwvxUFKN4N4Lb4ISOGhVuRuy+FWj1WfqwXv6Nb3t+CYuAw QNYIU7wJoFpclTxaQAF4DVT9S3X15ml/BEDGJMv/ATW8HrjwHnYfPjXqKrRyICCe0GOf InRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707401819; x=1708006619; 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=5rHe4xV1s4X4NVlAmyq1Fqck0kWWWvVIv4qB+Ky5Oo4=; b=bvCDQGx7VNu90bbFHeseud03NfpwYvu6ugZxfvkOXtf7j3yi8GkErm3TkBRqzwaiLX vjJwhxoKU5LhFdr5pVVMJyVm/9PBeyGAhDp2LthpuAYTp5c/LzS9rpAPQka7NDaLKUbC 42JK2mOFNfFKqG44iCdB6qoPf+/wgBeLFrYrThDf4oFtOhCzh3iVJLnkh9a/ZgS3xPir yXI4g2agje8Ecdj8YqpGsZSF48vTkS5SLJS5pa7IxYLHc/FOEPZgGkUd5ScfLfV7ZZVB 0xogUs2DwyK3OblSkJQ39EM3IA8xxw5fs77NkhjMaFNxQHLmsCPJj9eYvGoplaBTttVb gYxQ== X-Forwarded-Encrypted: i=1; AJvYcCW2d8wZwdxPygMZa6JnzXncq34Esb8DJ/areYFKIifK0w/CBuQQb3H2NHMpNLj2NIKfqZWW6eY6qQf+akgGWPt+OzQOB/QQBSZR X-Gm-Message-State: AOJu0Yw2pLGOzuMD39ZM/JbL8XqK7xLQHNSKwy1loNmInSv+nMnuXoxd JK+G82o6IkAME34i2z8SpZ9MwahvS9pLkUmiERrqQPOfv6/bANkYBnnxryeAwT+IECN0K4Scr9j 9MxO7Lw5Dd/XGJPDdObaR09tRkf5i330Dqf+K X-Received: by 2002:a25:7483:0:b0:dc6:c2ec:ff4c with SMTP id p125-20020a257483000000b00dc6c2ecff4cmr1925355ybc.6.1707401819151; Thu, 08 Feb 2024 06:16:59 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240115181809.885385-1-roberto.sassu@huaweicloud.com> In-Reply-To: From: Paul Moore Date: Thu, 8 Feb 2024 09:16:48 -0500 Message-ID: Subject: Re: [PATCH v9 0/25] security: Move IMA and EVM to the LSM infrastructure To: Roberto Sassu Cc: viro@zeniv.linux.org.uk, brauner@kernel.org, chuck.lever@oracle.com, jlayton@kernel.org, neilb@suse.de, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com, jmorris@namei.org, serge@hallyn.com, zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, eric.snowberg@oracle.com, dhowells@redhat.com, jarkko@kernel.org, stephen.smalley.work@gmail.com, eparis@parisplace.org, casey@schaufler-ca.com, shuah@kernel.org, mic@digikod.net, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-security-module@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, selinux@vger.kernel.org, linux-kselftest@vger.kernel.org, Roberto Sassu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 8, 2024 at 3:06=E2=80=AFAM Roberto Sassu wrote: > On Wed, 2024-02-07 at 22:18 -0500, Paul Moore wrote: ... > > I had some pretty minor comments but I think the only thing I saw that > > I think needs a change/addition is a comment in the Makefile regarding > > the IMA/EVM ordering; take a look and let me know what you think. > > Oh, I remember well, it is there but difficult to spot... > > --- a/security/integrity/Makefile > +++ b/security/integrity/Makefile > @@ -18,5 +18,6 @@ integrity-$(CONFIG_LOAD_IPL_KEYS) +=3D platform_certs/l= oad_ipl_s390.o > integrity-$(CONFIG_LOAD_PPC_KEYS) +=3D platform_certs/efi_parser.o \ > platform_certs/load_powerpc.o \ > platform_certs/keyring_handler.o > +# The relative order of the 'ima' and 'evm' LSMs depends on the order be= low. > obj-$(CONFIG_IMA) +=3D ima/ > obj-$(CONFIG_EVM) +=3D evm/ Great, thanks for that. Not sure how I missed that ... ? > > Once you add a Makefile commane and we sort out the IMA/EVM approval > > process I think we're good to get this into linux-next. A while back > > Mimi and I had a chat offline and if I recall everything correctly she > > preferred that I take this patchset via the LSM tree. I don't have a > > problem with that, and to be honest I would probably prefer > > that too, but I wanted to check with everyone that is still the case. > > Just in case, I've added my ACKs/reviews to this patchset in case this > > needs to be merged via the integrity tree. > > Ok, given that there is the comment in the Makefile, the last thing to > do from your side is to remove the vague comment in the file_release > patch. > > Other than that, I think Mimi wanted to give a last look. If that is > ok, then the patches should be ready for your repo and linux-next. If Mimi is okay with the patchset as-is, and both of you would prefer this to in via the LSM tree, don't worry about the file_release comment, I'll just remove that when merging. --=20 paul-moore.com