Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp23966rdb; Wed, 7 Feb 2024 19:35:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX57BCMjgZo9SyBmTD3Ct0UzNVzizlRAyl4wYL4zKhp5AV8ZbIV6yZHr0X5qFoItoNUPwh9WZDCUGBMcNgDf4//GgINSDjVCfsJQtne9Q== X-Google-Smtp-Source: AGHT+IHIfqjEIZ2mXyeGax16eCeMDkSEA2BxLKlhRb37GIki09fT41ptu3431GKlAHowQmgrRPVn X-Received: by 2002:a05:620a:191c:b0:785:a6bb:cbe7 with SMTP id bj28-20020a05620a191c00b00785a6bbcbe7mr951111qkb.49.1707363331549; Wed, 07 Feb 2024 19:35:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707363331; cv=pass; d=google.com; s=arc-20160816; b=aAdcsKjZjTpCrNu5P8y2vCr2/TJKrfBCn2c0osJCfWs9dPsLJsSksP68YkbhmQmw86 up1crRlZTkpLLqlR/2TXoK49zwbHQQAOl8uLfof5FNZIBDIekMQ05dkyHZWYsNRF6AIE UhfNuK1Z8VSSpSt+cGZppSClS/aqM2Daohm0WBgEsfwoyxubvwn7d52QhFuLEuLFLCMz aG5f5lwZJAO+e7XHHJlnVHXf9BiFt/M8q9PDPUUUNSUF+BIEag3aeSBRY+zyw8NX2Hxg iIUhEIlNhuarraVX7/UFWYV/KB42mw01BqxsGviWyBgkph8mn6Edc73PuLF1gxylhvm7 P+Pg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:date:dkim-signature; bh=q3KhjY53aOKiu/8dSgqk45G/A+W+yYQLdqnafjFGGWk=; fh=OMq11sI0s/hd0Imi/GUiX9uvsm/9N9GfmRwX8VNl1/c=; b=jM0qw8aSnEhA8/3jNm/zD7f22kGymM2ADqHL8LAfQzsWd5M4yX3OZp9jwNWvKdjsZK nP2ZN86HeUltrdJCTBFxnHYo+AElNUMdLy3rbzeQU7DSZC7rHKnISsaDfy3+16IGzubC 4geYbiLhC8NCGajqKEICpowP17s8UImG+2lNBL0kvrAMPG1K4rXk81DtMpR5ioQvpsYq d24xa9T3W2tYlC3by1VlhX7WlaCwTXdBUxn8dc9GcOz331oWzmQuvdnQoQYC+V+pUfnG 7HpB2G0/YyHbshqVnISTEKZmFbyU30S+UHIttd27qKDlZKZGrTQ8mF9id3Df6ALpeZn9 CE7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=BbjyjKNh; 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-1853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1853-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; AJvYcCVq/O8r7oLoSYhPW4Lk6v3xUaq1JFHo/yOSI9PTJ3wqxCuy9aoPN9R06mqpQq1Ljc9BCG9Yng2tLwj6qBlExF3DOszp+L/Zi09eC9Bp8w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id br18-20020a05620a461200b00785a638699csi610076qkb.608.2024.02.07.19.35.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:35:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1853-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=BbjyjKNh; 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-1853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1853-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 D64141C24969 for ; Thu, 8 Feb 2024 03:26:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BEB793F9E8; Thu, 8 Feb 2024 03:19:02 +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="BbjyjKNh" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (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 1BCF525779 for ; Thu, 8 Feb 2024 03:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362342; cv=none; b=uATuylc+O4ISYeZ3bvx7f9Cd/cbsiJ4lMVM/fFZL+7fQnRBkowTbDhfkj0UEptxgFNM0/ccvJvAUDlNbt/vjiyYOQIlGBv+cHKzfMV4vn9L3P8DOKI3EaquZT9sqjsp74aELXxfxMXowIy5ME5ku2VvJTiXWBKQI5aiFQ/Y9iXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362342; c=relaxed/simple; bh=+w3nNF6uogpeOgLKn6Je5uKi9bCs3moV2vFFqe7Bbh8=; h=Date:Message-ID:MIME-Version:Content-Type:Content-Disposition: From:To:Cc:Subject:References:In-Reply-To; b=Iox/jTilCtsAArxmx3P/D3Jbn5B++TV0lwkxx8KmlHf/VdtyTGmj+pueaQ4JxQd35doz5lEVFMYi+CXab2yoJBW58Y2EUwv/NYHgJar6nPoW3dj28NK7H9+PR7JlxNX7RVmvABsaVxlsI8ccfDzJcdcHF5MOFCnWGNXU6226oAw= 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=BbjyjKNh; arc=none smtp.client-ip=209.85.160.177 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-qt1-f177.google.com with SMTP id d75a77b69052e-42c1eb66355so11927161cf.2 for ; Wed, 07 Feb 2024 19:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1707362336; x=1707967136; darn=vger.kernel.org; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-disposition:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=q3KhjY53aOKiu/8dSgqk45G/A+W+yYQLdqnafjFGGWk=; b=BbjyjKNhCJDIHDULzdrz3cMP5t5gjTQfPqZ4qw2zZH9jzGH7XOQSUOR+4ShxssiHKv me+rCLneCG5198J8hWoEX4VQPqUVhx8c595aKcRDLEDjPTmKVP02S96nqfzmAq65Y9Ou NWk0pqmz5ccLuh7xWJ3XC+r935s8TGLlGFFu/UCdUNLs6MUBq9aBu/UVPRfNif9MFYO+ Ud5SI1+Ddn49eoyujsW0dy87ayIMqCq+oR5WNwKJGWMF5j2au6g6oej3bhNaqkilum/I WuljElJXHqkwYt/3/JkzU+uFq8N1YguZfoVbvvwlmAs98YaPyryAsFuSPg08Lt7QhSoe vGmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707362336; x=1707967136; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-disposition:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=q3KhjY53aOKiu/8dSgqk45G/A+W+yYQLdqnafjFGGWk=; b=Aqn2xxqJcS4bRxFGXrbaRW1eXhtCYRUDVJ8gBgtgJkICK4C9kKbgU74VNTtjT4bjB5 Trq3isPRfYRnTflNKzAjCMfcNZPMMgw1O2VpfqG38TP4FWJNgoltA+18COg46hkBxIkJ WYyD/I2tEVLCP9Pw33an1lp5EH37bXzPtl5FXpZ1ThVlDz2ivx8P3lrCTZaFp+l6wfaY PHFWTjyOjunh3Bue7LrCpSvSw6fBpizVCSLwp7Dva/lvk5PiAANjlIKdE9OcD67LMVxL BZtKttS2u4ueziOZ0mk3O4lGBo0OPns/ODbdmwsZmr+0FSNaA6NdwJMiD0kMoX39CjZI hQDg== X-Forwarded-Encrypted: i=1; AJvYcCUnA0SSDSpvL2tGJP5+Mk6m2SyE4D8ITtPclc2bOJRRgbNUmkPNKhD7rRGz8ooUXHoD2PeKC86x7bO788Br5Ma5Ddfq+uZK8rYa X-Gm-Message-State: AOJu0YyejqJhes8Fr8B8D2XbwCxZnv4/ToIJ6TTPaAE9kLMa0zJg5nmj DRqKzUTMbClNT2WuisPv2HxdkNiog5ApgJUjxCJh+DhoPXuzDFPih04HUMgbnA== X-Received: by 2002:a05:6214:226f:b0:68c:ae97:5d2d with SMTP id gs15-20020a056214226f00b0068cae975d2dmr8628414qvb.5.1707362336476; Wed, 07 Feb 2024 19:18:56 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCV7SeR66wpk7vEz605tS3+9PYtlauZrG75cpDzlb05xTOauWAwy4Wn9+jXkF75tW5kHvEjbNHcm2b2o1nOyKsggFYVhJDjvQY9NxaQBpQs5Kg4fePQ7MxHNDeAw+cFjuF+jnP/IrX6y8MyLmEI5ql2uwSdwv/bzVN9X2CXtVj2Af3Af2/7TvTJHTpE7RfhLRnq734aBmdJZWm/qCBR9X8n7mxmk7rsml08IdqkvHjvsv8BWXQr2JxNL/brtxVG0nzML+ubCIAi5Hgvl1HD7gxV/vM0xXiVU25XR6Nx2bXihTh9/K1WjFq6GmuBCFZ7G66Nl+DTYytQYUl1c1TxC5fjELwzhqSKkNX5Z/+NC40A+OAFtlnkWwjqsN4x+TbUGQg0Mxd4WiUOeUZo9HN+KnRRKq9Z/GWF3uXcqVVCrUMOifdmDi0YVKYnMPyVdjJ6mY807Z0Om6pTwCqgKeXSVB/BJFuN4nygX0Z2VU+CSAUpLdyOOFA2YDJocOz5QBwP+PuT3ELRMjiGYDobr9fWxvMRbBN/3XhRmnwFVuBz0MY/xngJQyq6vkA9lUjg7j7m8Y4SZlHfZo7P19l1FKdOCliTMUZ6G2IUUKlpVO5ovECcU+eLElDLgGHEa5mNEc/ZAFEd/eiOS3G3g1jq1OX5yNa88vwVjUdEjahb9uPLGXJjiGwUFgt6NLF61zPGLQUIYBbvPxi44m8RonkGQEIYw/DI6Axxcc/0iDVXYf8LXAkS46GNigfwtaX+c4q9upYbjhBYwFZXSGynEW4g80lhxAlXTYsPIxObPfJGGZbZFTC9k/dAH2m2dGt2T0R8fjuWsGq7ITidT963I4doJ2k4E59ecnU8RgTE0bNlNB3zlHRURuP8kgHQa2koxsiBCOkRpx5XFKkPXh/FNtUTQUhPmzjDe78M0bD13cC2NC+Wz3WtHe8uxdY8C Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id mb10-20020a056214550a00b0068cc0b46682sm893264qvb.4.2024.02.07.19.18.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:18:56 -0800 (PST) Date: Wed, 07 Feb 2024 22:18:55 -0500 Message-ID: Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit From: Paul Moore To: Roberto Sassu , 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 Cc: 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 Subject: Re: [PATCH v9 25/25] integrity: Remove LSM References: <20240115181809.885385-26-roberto.sassu@huaweicloud.com> In-Reply-To: <20240115181809.885385-26-roberto.sassu@huaweicloud.com> On Jan 15, 2024 Roberto Sassu wrote: > > Since now IMA and EVM use their own integrity metadata, it is safe to > remove the 'integrity' LSM, with its management of integrity metadata. > > Keep the iint.c file only for loading IMA and EVM keys at boot, and for > creating the integrity directory in securityfs (we need to keep it for > retrocompatibility reasons). > > Signed-off-by: Roberto Sassu > Reviewed-by: Casey Schaufler > --- > include/linux/integrity.h | 14 --- > security/integrity/iint.c | 197 +-------------------------------- > security/integrity/integrity.h | 25 ----- > security/security.c | 2 - > 4 files changed, 2 insertions(+), 236 deletions(-) Acked-by: Paul Moore -- paul-moore.com