Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp18965rdb; Wed, 7 Feb 2024 19:20:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVgJP11ibLH4XU5EeY5U6YlbVez6SaOsC9cJPZaobcVwWKvS35yfSqLOSP8hMeOUlBoOKzhnrwd7YoQMA6sftSBDOuBptjI3CqBiR9PlA== X-Google-Smtp-Source: AGHT+IHQVMYFT6JSZvXLC4rU9P8ExR9mLQrin0TiFPUxVRIgO0zSP2B4b3eiysPP4fPZI4kSvp6j X-Received: by 2002:a05:6808:648b:b0:3be:a15d:15af with SMTP id fh11-20020a056808648b00b003bea15d15afmr8417308oib.58.1707362435886; Wed, 07 Feb 2024 19:20:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707362435; cv=pass; d=google.com; s=arc-20160816; b=xLynLzsjpL4MimcW2uUpy4dFB1NxHgDqL3BoP0ck6VKzF0nqplM/fYHGx5JcUSj8Tv d7D2xk0EM9Xo+r9Ev/rluxq3rWDOOb+gbsSozgG05r/mc+zVJFs/gbGbTLwv63lWMt4b KZ4r5+bMAAk0qgqoohYpuQQa4e6+U+mX2+LPWRp3GCxDQLXGmYd6x4yc9F5DrzFX0Rm6 11pWWCcMzALh2GDpRGF+t2mWSWdWw2lM6affVaCj7jC8aWcDuZiSQSH3MemYYTst4G2W 9TFAEyhJOLQFU43meqtJjXoqEeSN3XUhACXb+OHNGiPXBkfAWx6y7iafmkMjz+QyHk6v 1aXA== 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=iGhBKZfymtW/GJZMXD0cDxEYezGwj2g+N6EhP9MakuU=; fh=jjYRDKn6kbfTb1D1vivNmBq2A9KYzxCN/BGY9lUUEqk=; b=SQdY96XHB3myLSgDiDl39n/y3pFeQ4ppY2i5THt7lh24chVjwCMSF+7eT7Ebu11v1t CrOQm2P9whLHEXTyPWnEtFgTVs4rU34RBXKRPkzPxS7mOcUKwiXInRNyJtimf9sPw/p2 XDkbrEzGrNER5tRDDNA5J8ewS9v1l6mc46flF6M8mXNYVgYVqNrnD3GzsiUfoR9pNujm q4JwGXMBsu1El3mytIc/Mqm9srqwASaKmXA3ZyoRvSJ6linwH9IdyNBPbQlax8fqEvsn q+OdGm8Wc/X2auu48Yue2UHxQ2E4GNYR6GBi6tty0c7QTv9Kws2NtlHrQ27WweYCwBPt /QHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=LZnu8tNa; 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-1836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1836-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; AJvYcCXOW+BOLbYd3Gw9se90l9Lzg6u1UT1Xuuhcl/5duLsQBDIaNRsRS1wkRz5ot/UfQzDAnu6QwRF/UK1hr46dKCR+AxfGL/MKl53M14qLtQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c6-20020a056a00008600b006e03e373076si2911281pfj.25.2024.02.07.19.20.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:20:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=LZnu8tNa; 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-1836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1836-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5638E281D3B for ; Thu, 8 Feb 2024 03:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF46D2C6AA; Thu, 8 Feb 2024 03:18:43 +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="LZnu8tNa" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (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 F0FCB1DA44 for ; Thu, 8 Feb 2024 03:18:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362323; cv=none; b=nUM0CQeCTjWYF8wE/MK4X8nvyFpJvzevcIYNy78x8lXesIA/6sl8mrmerTcFwAA3y38ZoGXq5FqOMrJlVh4129LTrvL3dL6Y8r2MN62PbaAwER2Na+x2VDW9m8srWkqy24FUa979Xv0eWHaSyP5VvP0W6BCzuBFBHNl3yI/malY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362323; c=relaxed/simple; bh=cLWclghEYe/SobXj7ek2TNURXsYLQRe2DX0GBHQN0JE=; h=Date:Message-ID:MIME-Version:Content-Type:Content-Disposition: From:To:Cc:Subject:References:In-Reply-To; b=iThRbXTP0A/QPloW8zkANCt8ziCZrYu49vu8zP+766kj0lXUsJF0Muhg/HwBblW9M5Z2/ckf0wmccz8GYIfCeBBSSAggfzDtnGI1katLpKa5azSHjQDAnwKHyq/Q4Un1oaxsQDTxlSfxKF1UkimRmGNz6BNH2ZFUTzwj8/a8DTo= 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=LZnu8tNa; arc=none smtp.client-ip=209.85.222.176 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-qk1-f176.google.com with SMTP id af79cd13be357-7857bc09456so48716785a.3 for ; Wed, 07 Feb 2024 19:18:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1707362318; x=1707967118; 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=iGhBKZfymtW/GJZMXD0cDxEYezGwj2g+N6EhP9MakuU=; b=LZnu8tNa4B9QxXmzt23dce3YZcjlfa8u2tgd++ucG8XCxKNZH/ys3krK04p1+ibY9E Pz/dD94/aBeNQcTI7AEWFMJP9cNWywy0BxSu/VxfpmPvHO2gXg4pUXAmBkZSjxToMSCx oIYE1BNZqzdGM/KOOxHL8thF2HJWG3jgfWkWEO39P+gVHtlS/1ZUdSDy9gXjNzigDPPy gUoXsXJMhlQ7ZM/2amVcX5htTNb1irq2sauWEboHSOHPL9gEwN0o210/F9XSqc7QdREP hZDZqCiX+IJkH0GvPC3HX8t7QsbmIBZGb0ellcqSFywypc6TStN82IFb2cfcm0dfiPQS q4SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707362318; x=1707967118; 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=iGhBKZfymtW/GJZMXD0cDxEYezGwj2g+N6EhP9MakuU=; b=f6o9cgbn3cUWygF3pltrhS1eMfxeVXrecmSHjKvAT4Gw+EhDL6X8gOh/1sgsbfhdIT X52XT1tMFvDS0gTJyNhdOjdNLUAxkm0i7P8yAQmtQ++r9Kux7HFV6TMhzbnMZe67fLnS nHiU2mz+4g+VrLOULDDIkRgEaTtLE3eOpK8BEXb7bZIN2193uHhXkaowBL7/pUWxuzL+ XGNA4fvwACtt8YYKmoT9NGzygBcTtEEP0ljpv5+2fKuKgxwvvzqPcf0nodwH6ALKiAWR H+3XlaW9CE6k+n3OkSP2XM+OoYtP0EXyKmZMG+Yu9Qhs9ZnNZwgZZrnT4rXONQyYJpNQ lAuA== X-Forwarded-Encrypted: i=1; AJvYcCX6VzP+CfbE5ZAcZ/30J8ED1D91HjfYGQvYK71xntMEAJQOQtPn+YYWuvMHRevt85XgEy2jkeY/u90tuhyi4FY+RjOqdJj040ij X-Gm-Message-State: AOJu0Yw0m3iFlltRx2FK3uRWo3GZWOIrkvi+cf3WFtTveT+Y9ln2S4JS ooKwLoiZa7iTZhJsJv1znG8q8I6RBe2G0QBti0dABSdecL9y3q4bx1w8DzFFWw== X-Received: by 2002:a05:620a:1787:b0:785:9046:f66c with SMTP id ay7-20020a05620a178700b007859046f66cmr8253337qkb.75.1707362318469; Wed, 07 Feb 2024 19:18:38 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWWU/6/SBJRb+VACUYCQK0U1De0vdZ3zw0RRmRKiaVjA8RwkS1x2YP4BzNe6CAqn674YoHHSCiVXIyCNBtKp68Ty2Z4F0B5cGWl4fs++jkEpp0CvDmBpQacpfIDOwDUbrUUhM+xD9XbbeC7Siq4zwJGl1FEvh+cGJxa9uAIhbXnk9SibSavc4WUKVvf/Lrsn5exAYiZOd50Emok5BclC0RaBqp551AmgN0rsa6mJLoHxuPVUn8eBha3htL8jV7ESUBsMTekuxyCifiDEJWDpz0/rbrnxh4I0EMfA4QoVKV89qWL3FnvabaGolulVI1Anq70GR/V/QQPa+Mca8rhQ9mc6RWaZsFJk0Uv8NNnqqOyxMHZ4/GVc+UVHAaI6MoOhTNPMqwWuNrW38P7/r3B0RPBRe2xjU1K44pN0+gwLQxIpmW96GDqkld0GHWxpyO56Q8chQv3vW7JyKIKIAzk9EHVbFx4Jg8npOF1kSWVWgvEdVeCNT50/XMG+GZy8vMxzcN+yQYGIRW16QATvYm4f++AiWz/ZS7suhjhRuQsgeYmKdT9ywU4XkS6S92phILAxNBRKKUfRMoFLiDGeXKc7yfyRA0mdDpq1DhV96Pmok0Tbm6xpwNoE4KTyhxSNyXjYMDLZZOmob5dRU5c6J1wobNNXBUW1VrH96BGIKXwKZ77cLPDUPDTRMZbUSx+i3ddcf9BvMPW/Ri6vLMGmF+05YTPyHBSODVDFL2oni+iCRG7NeFDnk+2jVSOvrC9XmB0+nuw+gZb+ECRZYH6S9zXU3D4IMEB3wF4XC8pmi1tIxxaVdS6AfTgd3f9qRKLBYlnVM59cSozeIclqTTQg+xok9xTZHxWSBA0z+B2KddElQIP0gN5QOtGWMNi8ZNy919b5E/NkiANVZvmfPO9oyhfkMmoIi5wNzp820R28nE7Bu7iXYj1RmvzlVNYfv4Le/gJB8R3vB CSi04GOdhdvgc= Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id m16-20020ae9e010000000b00783feb25669sm1067754qkk.116.2024.02.07.19.18.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:18:38 -0800 (PST) Date: Wed, 07 Feb 2024 22:18:37 -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 , Stefan Berger Subject: Re: [PATCH v9 6/25] evm: Align evm_inode_post_setattr() definition with LSM infrastructure References: <20240115181809.885385-7-roberto.sassu@huaweicloud.com> In-Reply-To: <20240115181809.885385-7-roberto.sassu@huaweicloud.com> On Jan 15, 2024 Roberto Sassu wrote: > > Change evm_inode_post_setattr() definition, so that it can be registered as > implementation of the inode_post_setattr hook (to be introduced). > > Signed-off-by: Roberto Sassu > Reviewed-by: Stefan Berger > Reviewed-by: Casey Schaufler > Reviewed-by: Mimi Zohar > --- > fs/attr.c | 2 +- > include/linux/evm.h | 6 ++++-- > security/integrity/evm/evm_main.c | 4 +++- > 3 files changed, 8 insertions(+), 4 deletions(-) Reviewed-by: Paul Moore -- paul-moore.com