Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp19075rdb; Wed, 7 Feb 2024 19:20:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9eLBJ99wZ3zN8Ae7qEVSYOD3MShJJCEajYoYpPCNpEii9uydBAm4uc4uSYy7U2aGzl3m0Bxn9eSSIwVdnBcdviGye9DF6kif1Fgf1rQ== X-Google-Smtp-Source: AGHT+IHsA2gjwJEc8GTOpUP8CIcvozWdFq1L1HYYgihzg4AlxHYCSVzMqjF7AHn2DupnNl0z9Z8p X-Received: by 2002:a25:d84f:0:b0:dc6:b9f4:a4c2 with SMTP id p76-20020a25d84f000000b00dc6b9f4a4c2mr7469359ybg.57.1707362458064; Wed, 07 Feb 2024 19:20:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707362458; cv=pass; d=google.com; s=arc-20160816; b=edeOxyWcGWiHEMp1eW8QRrtpUcRDWpx0iy3WDAOWCUntfJR6J/7dAoEXaAtBDIYF6q U9+1JFYk951pZ5yP2h4EhXkH5/wif+n+qiGEkjjUxjlpRQNNb3vHo9dgn5Cmwf/4dhaO 6YXWevgaREhwKBhKCooZy+uQCeuSFKdmgH6bnQKIjOxr/a8PglOx//ot/o5BJHT+n3GB ZQHRED0lf8N/V3LEXGhV3NQ+LC9o5tfOCyXDrJ6wTnInXu/fCLLDjNu3rCBDpAOKhrRR pmkbp9d9ISgeUdy2j3NsB5UXFpDFJT+sacuUI1ti3F6Ew3a4MZEGrBuBdvH7WzZ8mB5/ O7Ig== 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=f9a68xK47oRXllyR+mnjvXvrpcakKcNUJFmQMtWCIHE=; fh=L3Y1FX4gRH0RvW9ioVicjEp1nZKOG6lYCLTabYWyEs4=; b=06qRsAVBlQyUdBrWhGk18Q8c76teGLaD7i4u45bEp+E1ZhQiHrLDS3DgqglK6lWrvW Bb60HEPzsdnGDKRG/phhAhrlJiaWPoyLDPaouyGiBGqYG2BzKGiB+73Qv/MjsKnYyAnC ylP7S9lKKPB0DUn0pC5mMuuDvzrl80bOLoMiMZkNdNZKSndIAn1BEcWTZAMXdDODfz0Y USYc6SadUYtNyuewbwn85zsLKpWgnrPL4PevsC4Ht4zxXhzxfM7PzlNo9HXbMJH+3KAJ XbjC/TzyqBEuXpkLCjiXI8xTe7Y+4JeOEHMP098/Up+1Urz5c5uosu6jFg0vU9y+PIBU qyjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=YNYLQOie; 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-1838-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1838-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; AJvYcCUgXXlScQW0DXUj1nmyknZ9+MvnkGYnnYQbQfbwIuYUF6UBJEnHkoqHxFIhVhQ0U0K+Saq8AJo6EfkQp6XvHm405EcY6HgeHw3S9hjsjA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o21-20020a637315000000b005dbf3f364f1si3062715pgc.347.2024.02.07.19.20.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:20:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1838-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=YNYLQOie; 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-1838-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1838-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 AD4ED283401 for ; Thu, 8 Feb 2024 03:20:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BCC82E62E; Thu, 8 Feb 2024 03:18:46 +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="YNYLQOie" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (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 4289E28DAE for ; Thu, 8 Feb 2024 03:18:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362325; cv=none; b=mhC5xzsDI3FuFj6eirx7NqgKbqfusgpC8JrkqcTQ8Yo332XlqFVvJ/QiJxbp3/5HyU+3zkUMlQkhOz6oVuf1gEFFEastJyJAVkXItZUmXpQMKYz+9xGLDpJDP+IrMLClqYK5f7zLH9pfCIEVoI3Gf96lzPKl7aoSOKTU7F7h9CM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362325; c=relaxed/simple; bh=geS3uhgfJdunV4nVLQ/ITMCCZg/0OQfPAT1tmDfbG+A=; h=Date:Message-ID:MIME-Version:Content-Type:Content-Disposition: From:To:Cc:Subject:References:In-Reply-To; b=Oms5DSYaLU6wnN4CrfB/5MT+toNC3nmdj7rCiuUaBT2ISwqJc7vCVMUvojbhwR1JLwqrbDiLVPywMnEL6krfVNHFQcnGNfIo2Vb594B44SW89Pn7FVuIKp8fkGRuj/Twc99C03NJvsTa3d99cWCJaEVX25fHDlFKyYcz1dqPEU4= 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=YNYLQOie; arc=none smtp.client-ip=209.85.160.182 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-f182.google.com with SMTP id d75a77b69052e-42bf5d7869eso7708291cf.0 for ; Wed, 07 Feb 2024 19:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1707362320; x=1707967120; 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=f9a68xK47oRXllyR+mnjvXvrpcakKcNUJFmQMtWCIHE=; b=YNYLQOiejdFvFk2r1ZV1UXTZJC0D2e3KmDA5v4fUdMu/iJIX0QkTonk6MIIrdWUGoc GsRkjN2M8F7TVEy6Q7wZcGQZl1CuNhz2R0y6HjuWqS8zH1CvVsn4WqtzsQP7cBkvHQ5V 0tntwDzzKK4HraWdZjVpj/8K21gHw/tBcnP4dlW08EDWLsLxtk0QcAkgVE/kI1UCaH7R pxVykKF+92VKMViIpE+3fQr57P7McuNqXBGcEuTQ7PyBMT221n3RX/srs7lXYS/R2G2i 62+m/gwVlxxpFEwqr7yP3fdzt1nqfwa6sE9lTaEXDGAnRqMwU26GNjmzTt3FzrjQDdLE Wy9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707362320; x=1707967120; 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=f9a68xK47oRXllyR+mnjvXvrpcakKcNUJFmQMtWCIHE=; b=jbjf2Qi8e4tvBu2hODKwHjNdmwsLGh0c5q9moa6JF8JJ9hwQ3W10WYl8GVYMR+w5tt v2z5QF6pa3aVui/WisdQd7whDI9kuVtpGkEvPqA01Iqv+0aPJgWe10jJIk3LZDpJrz7A DO7q+aNAPTILCspZUouFf6bBYSgYb7SL+PBZeOWRmT5+MsdgZ9P2Dse4k2/iE1hT23nZ 8ULd8hkuKXz9FloMX+aUmOPScnQiWNKBenA294enGd6WxAgat/HgWTF5RLECWoGl6vPl 1TRcfiOBAvfVdy05urKJiOYMoVw4KHVr9oRZdqOVsM6bbHTwxlIUqmI6ZTxDdJdTpllm bYWg== X-Forwarded-Encrypted: i=1; AJvYcCViZqtPjdCfBMYGEaCg4a+/kWBW1OIMh41EtQoGidOtGFyP5aFO4H34Kj2u/vWX0CYtgkG6gg8WrFLbvTPxl0PApuP53o8XUqHa X-Gm-Message-State: AOJu0YxbszsItgLfX0Ko0I58pVIHIV6LA87aXu/13yvxALXnuRHoQXNz sMKBvgaOf8Ipkd3GhgbUgJ025BuSFUtyq5LdUKJOfsbEd6aahnmTw5ZpIo8gmw== X-Received: by 2002:ac8:7e95:0:b0:42c:4773:c3d2 with SMTP id w21-20020ac87e95000000b0042c4773c3d2mr2492941qtj.53.1707362320520; Wed, 07 Feb 2024 19:18:40 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWPPJ6qzORQCQTgdORb/FnmueS5tjB7vy2+mLdqZ77tLfgybSlSS9yDsKniHR7D5+wO64pv0YJTfh/l6GmEJi06dqeAc71+snxZp0f12Iun94nsZMnkitEUqBs8qw0sNQgFZUuYtfGqfWJxi9bpIQT/k3vGTHtZomQZGRaUZzz6akTP1r3cVqUpgOeo5ao+07a33CqUTaOfGwpHozMe/gxMc1uEwzbEdxKbNsPEUQPq8bHtTnU3F2Jk4TjlF5etWt1Xiql0VC1euGwjehOJvSqVttoDOYNQnQx76iHnuv9b63gUfccs/eU5PnP/Ax9Jcs2pkgAo5t/RgeEro7W6+Me6Ye3vkLvZPt/jJjUmPZXIyaxd+4MaM6xRCMxP0il6EySpoxhYPK8pLu+0cRaOcr2E2y7aFcdIpjf7R0tygmwUA0Cxc9M+wzDQs2AcP84r0TyU+zvQnxlB86/KAEbAXw7VFj4GJt5yAud2RKqSxj5Nki+cmpbchQeqc5sK0bdsOK0IP+MsEEQbfGYAHOAkExncGr5AbUoCf/sdFmbdHf5MaOQ7fC/uOdmWAsIUM7ycaMbc/PO6xxKBZK5zQTyjBAAbh1BqIlphdpdgk4INDpKlO1GtAdQPGlRRIMMHnFqEMiaA65w9fW1vg38h3NOCrJxLC13gwYLRbFzlfqTfdwmFGBFpkY8SdGvbGHx3LEGt08fvZ4mwns8zWr+asBuIApOyhmFDwRZRwBGcNF9nRkcqzD6UyFmG+eCqWTGqQ9xXHQ0G8gP/0fRAxgC67VXuYIXpnmpIg5nHMKnwJVEm4nY+8RrNQQhSsgrtr/CQQyB9gA/oYst7KHrh4Oql7Sxdprxq8NKtsO5zwOG2jshafYhlTHiL1hoXsp9QTHkWH0MYkI6LNOP1/9bIF5UXcRGVuf7pAtVX7qd4Xh7TP1Benu/oXB5CwgC13yAfSW6ri5aog6MO4A NLdA3ncI/3kzs= Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id f19-20020ac859d3000000b0042ab4a129easm1065675qtf.73.2024.02.07.19.18.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:18:40 -0800 (PST) Date: Wed, 07 Feb 2024 22:18:39 -0500 Message-ID: <79289275487c2513371bd8dac5565d68@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 8/25] evm: Align evm_inode_post_setxattr() definition with LSM infrastructure References: <20240115181809.885385-9-roberto.sassu@huaweicloud.com> In-Reply-To: <20240115181809.885385-9-roberto.sassu@huaweicloud.com> On Jan 15, 2024 Roberto Sassu wrote: > > Change evm_inode_post_setxattr() definition, so that it can be registered > as implementation of the inode_post_setxattr hook. > > Signed-off-by: Roberto Sassu > Reviewed-by: Stefan Berger > Reviewed-by: Mimi Zohar > Reviewed-by: Casey Schaufler > --- > include/linux/evm.h | 8 +++++--- > security/integrity/evm/evm_main.c | 4 +++- > security/security.c | 2 +- > 3 files changed, 9 insertions(+), 5 deletions(-) Acked-by: Paul Moore -- paul-moore.com