Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1163201rdg; Wed, 11 Oct 2023 17:09:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFFTqz80ngCHlDPvIA23dQkTg7oYZ/MCq0xL9hP440murkWXZi1AIgjbNnpl/yKnL9yjq2B X-Received: by 2002:a17:902:e749:b0:1b8:76ce:9d91 with SMTP id p9-20020a170902e74900b001b876ce9d91mr28768176plf.1.1697069347921; Wed, 11 Oct 2023 17:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697069347; cv=none; d=google.com; s=arc-20160816; b=1GGdhOn5hWRPFqtUeGgIsVcRIyf8UaqInQM7i6NFvkBLx2fRuttq675YBOP4JK9vxz W3M1TEFXq1aNrWjNx36Ye/mKtuuyZis4y/Qa+hFIlX9RMe+vmnrd/t9rLhABI+E9dEXC 39/FAJAiJtUd56PtiVRZeZqYFV2C+qIShGt0CRmstKOm5dIV5iNLKoh4TSq2ZsXPl1VO KSMz3R4jUazIgw1kUF9KYscQOOLSvunodDg90TuMykSQzKj9tmIH14XB2YzBJF/UHnNY FADOhCZ4EjnmsWesXVv74WP5BqZcV1/+Fk0Po85rdP8UA+g76il+VSKWFHcUyUEo8JvN Mwng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=wHZ9LLNSDUQ8Ytx9R6wBhip/mO543PZlnyG+Rebf0Qo=; fh=mxqxpCwm2x7wg2ewO7f3esbJEJ4c37M7WiCIdk+12k8=; b=DKeCLnj1B8FAI86DgWMwdy1F8i46+7JKmftfedhV6DITHwkQIHZhvhWHmCkBc1fDpU Va1cRNbpvg5H3AhBeYOmOAIAo/S+oCl7PAAPHSBjuEpbXq9/uymbK/8BsA3aXvqWR8dz 9g9QiukT42Jb0umFs8O88huUuhTG98llJL1uK15x2l7ieEYXIefOLh7j22UUIwdBmwRo j2Mt2enuIwaluM0dovro16TXzhODyhlKJiCP2i2NYSj2UbBmkuMvamtXz5WcasBTKEYe yisHj75tV0uK3McQjyH2yAIjFmEgG6W8JPU1ipPClnMId6UukNm2Nqx3BXqQ3q1kS/e/ 6Nzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=oFos6gMI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id a12-20020a170902ee8c00b001c9af5305dasi788401pld.126.2023.10.11.17.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 17:09:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=oFos6gMI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 742678042D0D; Wed, 11 Oct 2023 17:09:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235254AbjJLAI6 (ORCPT + 99 others); Wed, 11 Oct 2023 20:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233885AbjJLAI4 (ORCPT ); Wed, 11 Oct 2023 20:08:56 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 072C794; Wed, 11 Oct 2023 17:08:55 -0700 (PDT) Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39BNo0SK028771; Thu, 12 Oct 2023 00:08:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=wHZ9LLNSDUQ8Ytx9R6wBhip/mO543PZlnyG+Rebf0Qo=; b=oFos6gMICUP7q6yA+uofS5sFNDtVsgOTIu+EcTKoyRaNLtiAZxTVsaAQKsLCM4eDK0Iv R20Rdcqf+1TyeaKGcYsdtccQBtkKJ/sYjrNxxKWSGSpC+SX4xvFu8u5c8wRC+KOjLIdp pe4s3yrFDARhhDUjOU0g8e+QbwGTXKQ2XloIrRhldeq0BNfbGO//ksqwO9YmGZuA5cJX T4NiELwBsSJ5Tx7OWcpzsyF3sANy1iUcf/fqiCRwuQPtg56A2yn6LuuZ5jDKJq5d3uZV e6AhAO8r+WKB7/cq34h1DThfdXqUh6i/PZXP429jDIaoXfF5tYGIQt36R2rjSfAUzdU/ FA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tp5qkrd74-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 00:08:23 +0000 Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39BNoGnw030140; Thu, 12 Oct 2023 00:08:22 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tp5qkrd6k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 00:08:22 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 39BN8Dj1001148; Thu, 12 Oct 2023 00:08:21 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3tkkvk3f6b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 00:08:21 +0000 Received: from smtpav01.wdc07v.mail.ibm.com (smtpav01.wdc07v.mail.ibm.com [10.39.53.228]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 39C08Krn31785598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2023 00:08:20 GMT Received: from smtpav01.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BF4FA5805B; Thu, 12 Oct 2023 00:08:20 +0000 (GMT) Received: from smtpav01.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5CE3658066; Thu, 12 Oct 2023 00:08:18 +0000 (GMT) Received: from li-f45666cc-3089-11b2-a85c-c57d1a57929f.ibm.com (unknown [9.61.14.38]) by smtpav01.wdc07v.mail.ibm.com (Postfix) with ESMTP; Thu, 12 Oct 2023 00:08:18 +0000 (GMT) Message-ID: Subject: Re: [PATCH v3 11/25] security: Align inode_setattr hook definition with EVM From: Mimi Zohar 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, dmitry.kasatkin@gmail.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, dhowells@redhat.com, jarkko@kernel.org, stephen.smalley.work@gmail.com, eparis@parisplace.org, casey@schaufler-ca.com Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, selinux@vger.kernel.org, Roberto Sassu , Stefan Berger Date: Wed, 11 Oct 2023 20:08:17 -0400 In-Reply-To: <20230904133415.1799503-12-roberto.sassu@huaweicloud.com> References: <20230904133415.1799503-1-roberto.sassu@huaweicloud.com> <20230904133415.1799503-12-roberto.sassu@huaweicloud.com> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.28.5 (3.28.5-22.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 7mdV88iSURbaj26H_JUAXnRg0kS4EETs X-Proofpoint-GUID: 2vkJVfKlIv6BqFbb-niFqe8y5vcWlSLM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-11_18,2023-10-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=835 lowpriorityscore=0 spamscore=0 priorityscore=1501 adultscore=0 phishscore=0 mlxscore=0 suspectscore=0 impostorscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310110213 X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 11 Oct 2023 17:09:05 -0700 (PDT) X-Spam-Level: ** On Mon, 2023-09-04 at 15:34 +0200, Roberto Sassu wrote: > From: Roberto Sassu > > Add the idmap parameter to the definition, so that evm_inode_setattr() can > be registered as this hook implementation. > > Signed-off-by: Roberto Sassu > Reviewed-by: Stefan Berger > Acked-by: Casey Schaufler Reviewed-by: Mimi Zohar