Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp18756rdb; Wed, 7 Feb 2024 19:19:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1BUto8n78wK6RPCBpCheQeKXL02Ye9tZbnC988GVqkXsyeX5CjsOWnkEJasKnvhgQmSkC X-Received: by 2002:a17:907:7893:b0:a38:66ef:14d3 with SMTP id ku19-20020a170907789300b00a3866ef14d3mr2766075ejc.13.1707362395569; Wed, 07 Feb 2024 19:19:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707362395; cv=pass; d=google.com; s=arc-20160816; b=lEbupErshjkwlcT22sZzwG+TBOZfIEqPag5WSJ60u9HEEq3s4aNIqDvJz3Nf2jTvvQ RQfilp+1U6tYu++TwxkZzBzZ6IcPjEAgtdQjKviY8TZDDVQR9DZV64FHnxewi2C9tmzX NteaNt33hQ6uUz4HxnPK9Vqi2Lz64wKrh5djN9yv/FGnheFpKjM5o4XoWdmkcAON67Mf vwbNHVVnSVdAwCqsIy9YHgbZzR7qoPsyi44f81AzrAdySapeLljDMVjMSURwKcwjP22J Yrs4cSw5+52ESjGO+hJZkuFOoGZyJDVgVOcAN6qzNiVVTo8wgQvehj9lSBl+sJdFe32c NDdQ== 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=nO7UrhjaK7P/nNKI6L71283PDb2e05jXUgYDmT8EbmU=; fh=fwf+M0olNS+4RYw3mG2qy2r+u1vpV1d4zSwf4dAtFyw=; b=zs2Fo9XVQ2sXggn6eW6Nmut0Gt3KzpGniFvFigZHM6aG1M/yzL0QMMB/2FnDKrWe5o OOknxWs8abs3rlZeL/b8vSQctWyE6GmYTNsaMq+DI8LHnTGOI3zil/o710cFo5ka3soG kIDsKo92XDS1YzTGFQ79UFcStM5uN8i8AoCc6nQcEoAow1Qcl0yEKZlHQ0PkfCkyFJGP oquVgV2+NUhaIankJPddrvXvApAFFKqvInz1Mfuw/paeP7VxFQpViQlz9t9APKhOUD4G wTpkBw//CD83VEEgzJPJlGaVkRLIAhnSlDXEMDfF0sYKHXvdEPpjIvkxuVu0GD8V2oMa JZNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=VoI+KP46; 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-1834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1834-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; AJvYcCX7rs50t0hDt2lUzR/1EktIjVHvmlCb0WsfN+YU9XvxP69p4P1s00NIk9yxMBMmZ8GpC/U8TLU5kQY0dWjFr/jIpbl9SX5S2ji7Yl6xnA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kb1-20020a1709070f8100b00a383eda77b5si1712324ejc.1023.2024.02.07.19.19.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:19:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=VoI+KP46; 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-1834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1834-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 276CA1F23457 for ; Thu, 8 Feb 2024 03:19:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1676525639; Thu, 8 Feb 2024 03:18:41 +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="VoI+KP46" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (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 B7AB0200C0 for ; Thu, 8 Feb 2024 03:18:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362320; cv=none; b=OzbC8paBi4fqVjl4A4iZXIjlsZzBiLdrhFqCpCHOfXuPYdWjk9H8s+nqdWxYMZJc1JA1vY5j2jwtNt6Y+t1HaDK7W8f1mBDoILAFg5bwNVVlgywLRqyBtB6v3zSo1QEUh65mK3cpakf5RWMwLYSbUyXSJFHl3tK+/s00AneGAe4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362320; c=relaxed/simple; bh=t5byIeFBT0qwzSHCE93UPeYMt9b3B4zzyhQWcZO/s9M=; h=Date:Message-ID:MIME-Version:Content-Type:Content-Disposition: From:To:Cc:Subject:References:In-Reply-To; b=gIgyDvM8hm2nQHRhxPSSI48Q8lG+o6NOQne0/0Pw/1lWgOdMF+n71kdpV0SwxrYPrzRpDUFLVZmE1bv7+ECAklLGONIXzWzSzVMWHkPkQjIfVGaopK03Z2PHOXcPCLlykTjQWEFfdFkHBBB3Mglk9cqNOB/6aN7moxngSt79G7M= 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=VoI+KP46; arc=none smtp.client-ip=209.85.222.175 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-f175.google.com with SMTP id af79cd13be357-783d84ecb13so84014585a.0 for ; Wed, 07 Feb 2024 19:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1707362316; x=1707967116; 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=nO7UrhjaK7P/nNKI6L71283PDb2e05jXUgYDmT8EbmU=; b=VoI+KP46kOWR459cuqrVwOQK5gJDVQcNsa0MNueTVdm4oRz2zoLxGrIMaz7MEpTaEM LHXhH8nevo1IKNC64pftBtB8u+L8Qq+6oy0aRdF5VpyBTxng0xLq9aYLG7G6/50DGFTm luKPVcuh3cpYwO42NLI+ONFuqc09ZeRQ1YLLGUeef/Wh4Ll20MkTOlndR4avYXCxf2a+ bco+f+dZVXODadrzr/1e3wt7LdGyytlEfzSqnoqTyb+20SrVWx4APfk0TG+rfqiaUWha g9WcMWSGmTZUnh3asw7d5HqAFCmvszzdRF/4l9WTL7aGb7DsIyPeeEl5yQ3rmzxJtoOo E1Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707362316; x=1707967116; 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=nO7UrhjaK7P/nNKI6L71283PDb2e05jXUgYDmT8EbmU=; b=koIJzeRYJg751Eob/STqbjnzt64HYclcvvL87rjDfW7WycIyHB3TRxYf3Y4mUOnhRy Ln+GOcL/i6sBFDnuy0eJTSvDIKot+KZ04qBaWNXUSg5OkI6Ljgfdp1a1XRi4d4/jowxu 8YOBQ0RRdSz3pUQHzArLwx7l5sOPEY16aNbu59vWcMiGWn37HnY+VWo/UqVjzwCXlK8W 00CD1JN+IxAVJLIK0/y7q9PMtQBr3M1QoJ8NgPjjGZS9MmBGJeUKNtyhrnVv22CvtkkH /u6LpRze1Tx/0GCntgv3gLnbllPZO4valkklJ/ywNAuRmpZy1V+Xlrn+PT20KY5/pbgE gCZA== X-Gm-Message-State: AOJu0YxvzX/ASW+qpeuHPjVPuOKrO2eqojREVAVqmy3C//dKugcA6Dml Rgkvy77juRF+2Q7HPdmw46KFl9vrJ25k8mnR2C8OSzDS1LiZIldwZIoPQqpFNQ== X-Received: by 2002:a05:620a:29c7:b0:785:a786:94be with SMTP id s7-20020a05620a29c700b00785a78694bemr527690qkp.31.1707362316365; Wed, 07 Feb 2024 19:18:36 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVUqiSJqUbw/1zwiZ559Fwo9aoc1UXvOinRKuYHx3xAKZyoqDvhR8y7989+/X8pIVNcZjCt+UMln5Bpq20HBpsB4IH5JYo/wx5+Yb7iTA3WCwCy8SaemT1lb7M1T59sqTonRRvKE16srh0XwE4m6xtjylp+qCZ2w8BSUr3HJoyDaMj4LJTJTWWxTKV9rBMQysjgbf2bzpEyCQxjD+/wSvFmRjr0BlDLuoSr+wdWVifE/1bVDSM6vgwNfEHsYvYjeoembbxg22FdKJ3c7Soy/psxh/tl+JJj/QrJVT9oJQt/k4cdWF/fDGAXHtsSCOr0g9y+5mmBVpk5i5bmiO8bqrS+XlbBj8L6kX8rS/X3cTCsn+dKo8Q+Y7nCsFSQG7DWH9akfngvOvw+2uP3OvezR/aqz7RQ8rYBCWDutL4TtsVmgRQcWil7NG3G7+o3cA2yJvyfu0XzD9BjHS2z/yC8q8dyM93GUz5J2uvlA8WX7jEoBfm4Zg5MtRJ5/gq/fUKOo9mby2/KMKPsegmU+SzCsEbGcrq+qpS9kcntV/XN6gUxRpHFf3XbNRXifIwzzXIYE7v7B7hm+ROPmH/wbf970xkTxdKZdm2ueuWoSPDI2FXt/6fYsAVvTBUpiF5oRZ1QNCXG7cuEfUGeYhsy+bl6i9pPa9ql893keKoCgkp7uJjoS+fUErmoBPswaNAwO+0BBNHh94jfDFLFMFJYWXeYYdUQv+KXEmwDpTVBw1aKOduAHFQm72ivo0eRwNhrNxO7/Pkim0ItGBbiDC0YcQ5/lTqJibfYFuiR6HxuOWMb/LJOGDyyGwVGo70bAiEQ+hFPND7/D5PNw3Z6unxt19UMWVZk7nlKHhQJ5ab6Gsd9A1WYWeNzytrRi7e6x/Y5Zc6fPh7okHVmNHnRWMp+zLuVemT3KCNAMtm2eaUk6gCRbMpI7QmyF6k5EL/3x+U7rP+/2PcUWI RMgmwoiADLC5c= Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id m21-20020a05620a24d500b007840a08a097sm1065081qkn.76.2024.02.07.19.18.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:18:36 -0800 (PST) Date: Wed, 07 Feb 2024 22:18:35 -0500 Message-ID: <573a5abb794790bc6b76327f09ffb391@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 4/25] ima: Align ima_inode_removexattr() definition with LSM infrastructure References: <20240115181809.885385-5-roberto.sassu@huaweicloud.com> In-Reply-To: <20240115181809.885385-5-roberto.sassu@huaweicloud.com> On Jan 15, 2024 Roberto Sassu wrote: > > Change ima_inode_removexattr() definition, so that it can be registered as > implementation of the inode_removexattr hook. > > Signed-off-by: Roberto Sassu > Reviewed-by: Stefan Berger > Reviewed-by: Casey Schaufler > Reviewed-by: Mimi Zohar > --- > include/linux/ima.h | 7 +++++-- > security/integrity/ima/ima_appraise.c | 3 ++- > security/security.c | 2 +- > 3 files changed, 8 insertions(+), 4 deletions(-) Acked-by: Paul Moore -- paul-moore.com