Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp19768rdb; Wed, 7 Feb 2024 19:23:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9iyOtgc1yWrrSX0UH2HkPTgOqp54yIkMJ5O7HwA61ZFNc6bpa/kwICf1of5NL+EB3/TjN X-Received: by 2002:a05:6870:bac6:b0:219:7eed:aee2 with SMTP id js6-20020a056870bac600b002197eedaee2mr8885591oab.3.1707362594453; Wed, 07 Feb 2024 19:23:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707362594; cv=pass; d=google.com; s=arc-20160816; b=vT8ivJW1H85kzZbEimDVNwaGmG1acAXjT/RucI/1OvYaK4QjlfG+qvAi/hg83XChmh Az0y0zXtbkGbAKghvWrnNQs2HOOjQfUtILWpRIu2C+nKnTZhaPncJq2O+2t0HdLJj5Sh Tmdho8KPTZavRLdEo1CYw0b3GIcjv96bBTzU6Hz+SlwkrDzQevozUPyu5roeUua4oduj jWFI9DD9wKFIyYngc1xNrpIW6jfA2wE3JTBRCgDqQXVdyKDlfZyRUHBljay9XJBqU8+W sYgBNzw22FFlTUrZInoZE/d2hZRjkkzjN6KUAPYzbgKKc0lVvL8PTjgHiE/dqLjkUwlN lD9A== 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=UIE1KqS+DFaPo+w+SIvDjHcTCcgNUuxxYztbzhygZA0=; fh=VoDF9K18SCnCeFVqb7Y/08JuCcYtR8dyqgEHwRmMVGA=; b=fCKdlBtCusQd9gBTRVf7lVwlK1T6vCcoCjIecfFjvI5ndpoj63CPbKjqSKoul+OoGk FH8qCLAS4jnLQFIV59EAutYvH+PU4sgsVygktQDulNNWW5aP0uUOVh3tEV+2RJ/zD3Vk FuNcGnz13P7vqedgWbAfTZdHCuQv1Hf3SvWnPqH3Z3T2UrfdDH+qP283gekZxYIu3MyG nbJU+DTPxqKSUGr3xcVZ+7ZklAxTQ08N8MJh8tXdRJrgG4hjKDNw1q3vKjfjVh2ff8Pz pZguZuOaMd+oLJ1lCSjPpiP1IP5Q53mXqGty4NRH5mO41bRFzBBW6gstlRpzwkAkSTy6 MErw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=CwOBYXWY; 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-1837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1837-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; AJvYcCVLqimoVj4knOpbAUIWv8bWvVlkNx6I1UyXdDXJynPej6ug3F6k1XiWF9Zj3c/ndjku0btp4cbcZlv1C3XwI7pgL7CgTytfVMEbgCTHNA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id o19-20020a637313000000b005d8bce9b04dsi2959036pgc.681.2024.02.07.19.23.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:23:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=CwOBYXWY; 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-1837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1837-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3AD67B23F76 for ; Thu, 8 Feb 2024 03:20:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D1122E415; Thu, 8 Feb 2024 03:18:45 +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="CwOBYXWY" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 21DC32563F for ; Thu, 8 Feb 2024 03:18:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362324; cv=none; b=uSmaQf51HCunnin597GBMJb9cJXxkKuA3YwjPFGrgRIYlRZttGby8WnlMmffPJfILUYQp4uoru0To7MdaXmvxWnEjNGhqvHlCsERA7jqp6ZrX9H1HJIs2MguHhNBRswXTCf4BUWkigOzfLMFSlI8cPc/DQXYrstQLQbqMKK7PBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362324; c=relaxed/simple; bh=6dQGPNZAgQk3XqwfbdpS8WaIUWpphTPHXuoWY2kkp00=; h=Date:Message-ID:MIME-Version:Content-Type:Content-Disposition: From:To:Cc:Subject:References:In-Reply-To; b=U6vx3WsVaN/VD8mBssKmv/LeHdgExPRY1SgzmC+z2Yfw5+FZB1BrRzCgWSEc0EtyGOkp3uOUIsiChz/MOfhrw7tK3ju8fcMhUIbWvGQ5454y1D5g8vcdGElwayvUe+aTbgTYDRLl/IeEyW1cxIKK+FXmDgqsAOYwpXRSIHeC5hI= 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=CwOBYXWY; arc=none smtp.client-ip=209.85.160.173 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-f173.google.com with SMTP id d75a77b69052e-42c3925edebso11343291cf.0 for ; Wed, 07 Feb 2024 19:18:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1707362319; x=1707967119; 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=UIE1KqS+DFaPo+w+SIvDjHcTCcgNUuxxYztbzhygZA0=; b=CwOBYXWYNQ8tEceluNkWygdecyKi9mGchAydIkqn1I4ollSJEyyEL5lwcNOh8ORbS7 QmNWczi2MC2HXxQamFDMS+d1YsTGF1hBiNRggOriXcHIYZxgJsVCG8dM5BSi6A6Pa9s5 9mcBMJ2TYohc4+Os8yzZyjki74Av7Bn3wEucnOcK+3IeoAeUb0Yjr8g+HdSitl7GKfpI AFKIM/JgDKDMFqWyMl9hE5k/0Z+6L03EK017mud6L8Q9ugUW/CPKxMROkasur3lvoRhv bsAMTaxZqZTfKe00FWeuG2c6MaGbGppW8npUQtzzuETEPClcz82T6MM6UcIw5Rrmo7dv ypIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707362319; x=1707967119; 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=UIE1KqS+DFaPo+w+SIvDjHcTCcgNUuxxYztbzhygZA0=; b=EIjVe+OldbL3ltliO3a0NJTrdH8nQ7ZDEEcNAscRqShM2lQ+jOe6srtUABBLBpv8GC yTNZaOHtlVsh0GzZyE0OBiUZNDEK9gNaW3bQKbP93eAlLlrtrd0EiOf4Xtl0d53Dp6np qVE7zlZq87LGTvpK0qr/ifl6Ye0f66sjnjDmCiIxyhU3hjMcY1WQE8vjb+if1EQYIuWz zpkjgGUIJi5eBWWsbd+rtxggrIzo8hY3RbDYW7xy4tOIwk3CKznlRsB2dIZ2hLR8XlGJ qy6W6wnXSVOg+cDiRJtF8VKW8CyHpJPHx3TYW2UEiUeRWdm0ocoDPyLt4wMIgoS9V2Cs 0urg== X-Gm-Message-State: AOJu0YzeqEfLCjRZtS49YRnttR3nbNF6bo+zVSYb+gtfoQO44Bcxrujo AYLjppW3sjTsat93vJNGxeBgyLlPZnBhKX3f0MjogZjrE14v7kUWB389DxHCcQ== X-Received: by 2002:ac8:5c83:0:b0:42c:11a1:8fe4 with SMTP id r3-20020ac85c83000000b0042c11a18fe4mr8112819qta.3.1707362319505; Wed, 07 Feb 2024 19:18:39 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWEUxIofwW74PGyoJ8FY1IJnu1uB/xuv29qq7GOkQQ3bLxYm6RvZoEXg7eMOUuEMPvUG5hgf/Z4umMIn2eFgTmQZn8yda4w1M8/17yTq6fnUACj2eYNw56eZEtcXkKZ2KfL1mvTqpMQIVqEzBLXWG+dRTYb+4C+jXEo2D5enqPxWWSl2r7nTeKLB76/JaB7COL/nbG9Mgt4xUPYeTZi3Fg3q8ZTTM7u1VU8+FqFwLIWiwk7mQp9lcmu5VTnmutOGLNLhzLqVR4jwJIimhBQ5jUW752kH/qa4/8piifOWpCIHcglw0kY2h1t/vHw27NOAgYmtoq6+uCacw2hwrZA9rNBzd1l3hdoz3TVcWC/fi6ZmVkOuEoxmMMChkikmvGIE/xBPSa11JP8nO8blMM4dwelWjXGk27aF7VAUC1eegwOaM2Q/WhnN/TZ+57QNdZceQlk2E94WzI4jJ+i8oPs8oAB4+BssO7wZhtT9VNOosqWWeEdP+jXQLQzZtJAooAZoTX0fN9/JKGxclSQDqlaYd/zA9aSU3T0TroTKAokjQE7G88Ru7REBI1ei/DVQzkGguzKGJbw7Y881w0hRSyFF85ZVkIovYPfLzc1ryq+CpoQHPdqZq5JsyNOyTla/EWZfMkScefkhtHeCEHBpEBP56q8ZzxFfU4+GFu/oVu5wuUG8EWyqvTiSw16BwDzNe8pXNnE+7L9qXrvNFijBuSdA00fTzhSZJR3eWHGn1BZm3mRyGiE71/GKzhvg9TuEDcZKZNBo4f+R9u9UPFDRlRPUp/9x9EXNER6kMYupk9+d/3bAAmBi+LPwnHXoeCuraN6jkzE5qzQpHIB89/lHNzf7xE34j7HF74znCHnsEZ/hgK/rvXFhvrACLk9XHJC6kVC0wHFuTos+lE+2UWtJiqGlTSk64WreLBTTtTa5ptAnIAkrIAzDWuffq7vNvEI7k7rsnI6DD 49/ehc07WXbTQ= Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id ir8-20020a05622a6dc800b0042a6e6792basm1051838qtb.69.2024.02.07.19.18.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:18:39 -0800 (PST) Date: Wed, 07 Feb 2024 22:18:38 -0500 Message-ID: <9f9fc3a959c74bbe51660656b632ba25@paul-moore.com> 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 , Stefan Berger Subject: Re: [PATCH v9 7/25] evm: Align evm_inode_setxattr() definition with LSM infrastructure References: <20240115181809.885385-8-roberto.sassu@huaweicloud.com> In-Reply-To: <20240115181809.885385-8-roberto.sassu@huaweicloud.com> On Jan 15, 2024 Roberto Sassu wrote: > > Change evm_inode_setxattr() definition, so that it can be registered as > implementation of the inode_setxattr hook. > > Signed-off-by: Roberto Sassu > Reviewed-by: Stefan Berger > Reviewed-by: Mimi Zohar > Reviewed-by: Casey Schaufler > --- > include/linux/evm.h | 4 ++-- > security/integrity/evm/evm_main.c | 3 ++- > security/security.c | 2 +- > 3 files changed, 5 insertions(+), 4 deletions(-) Acked-by: Paul Moore -- paul-moore.com