Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp70799lqz; Fri, 29 Mar 2024 08:52:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/IdOd91OOPUa+R4cT56163IairfK9LmMbEVzeU90ewYuEtVhRczZRvs8He//ydmrrjnpXNIdfQ2hi/ZPTUeEUG3q6oAq8w6RDXIKAMg== X-Google-Smtp-Source: AGHT+IGs8yYSeidoqz4QitNmemMT4x6ai1em3eoSUjnibkkdJ7dHjOkor2Crz0+eQmaprvDat2a3 X-Received: by 2002:a17:902:8341:b0:1de:fd12:1929 with SMTP id z1-20020a170902834100b001defd121929mr2491814pln.55.1711727560034; Fri, 29 Mar 2024 08:52:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711727560; cv=pass; d=google.com; s=arc-20160816; b=Y5RvpGco/7IGO7hGaoDtoCNT50bJYkMVL8RKUkbKWvFij6jwu2oAURjakIJuNG5uKO zQdDiXFSH5sIYDRaPWG8eV4jPPlpmPfQet668M2+vMeJ6h0qzFepCLbyUQDv1+oQD9qZ +9rNf9pVch/Q3W3KgbMwe+LjTbrf5Y3q9MC5wnTk2cxooaZIFweO1ag8cODxWmuStXSC xx0qCDI3GbiAt8lHBH2DJwvjKwLWHDPADQ/15eDpHAftQhJbCSP4daUramECJ74l5z6D GYuGWx1AGYMMqdl0b2JPmlr/u5Ub9A8v4JPUNLbaCUKqteROpQBbuIn1IBVOSIwT5pyc 6Hrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=xKqb49aLiqfIagQXhAp4QnthHitt5DumKP+zdA38ioA=; fh=H6FPBidXzOt1TYp35/pA+nnDcLIUYGfRUdyAmgKfcbQ=; b=Ih/1UIyiE4UfhpcZe1J1k0IOSGRxx0aMXSdRerL3ZAi/6micUFJpBRthCF6sZnRKfv QpLgLPlXzOoZr1z48sDI+tOd26/+nv+YVBSLjBPmJ+9Mam0xaT6qAX+xeco//7k3p9Ah 9qlM7Qes5Fq6evt+YP+itD1VVbnPz7zziTmS4W1zFP7EFMhmfBIeoYHtgsatXcWiaxnF ja4xIibaxvDA6tLDhTAsUvKm8u1R3y3DuKvgNAc/6dX70H9HQ+meUjrChhtjFAWK02t0 ak+8wooRzLPV2uhTtyNyPCt0NcW5Y5ogu8YjnwUsSSm9uu9N2qWQj88ZsS4Cgb9VnyVN 1LJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=mmy0jBkr; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-125118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y16-20020a17090322d000b001ddc978e9afsi3954835plg.565.2024.03.29.08.52.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 08:52:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=mmy0jBkr; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-125118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.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 D7B71B389AA for ; Fri, 29 Mar 2024 15:23:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FBAA85627; Fri, 29 Mar 2024 15:17:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="mmy0jBkr" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24AE779ED; Fri, 29 Mar 2024 15:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711725423; cv=none; b=fz6cl97F1U75Pui0ncB0zE1F5Vo2PmS1vgPCN5Jy3eS6yRoI19kNCJ4yzCEIBDJcxSfsE0KDutZd3YRxJdDRbDjcDsJ7OHyTllkSy39Lb69SG68uqKwCpjNpwPf45XU1yJMDj3piMSfLV+prYnvomo5KL6SiQcQdTrb3ZpjnhBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711725423; c=relaxed/simple; bh=cxV2h94CytkTe3yX+PhAfUA/WzzS7dvZRyGc6Wy0fVI=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=JWw7dBRClM9+gAFMG6Kytkdqt17+KDZNjcVq/a88ImIMfpxgW7a/+MAUC821rUmXp26NEuqyUAtEniSlQaGwtEAjzgelXVy9URmHDm7lNqU/7xMLrtDYV42zASDbOrjbi17ltH2KSbz6LG9Y74DCT8Y82rVWgxtWZdXDAC+OB94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=mmy0jBkr; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 42TF84lj013445; Fri, 29 Mar 2024 15:16:34 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 : content-transfer-encoding : mime-version; s=pp1; bh=xKqb49aLiqfIagQXhAp4QnthHitt5DumKP+zdA38ioA=; b=mmy0jBkrNsti65WwbRVPmGhkXCBUxZE1TaFO0FYPMDa3uFrsSubTBtOj2pcbdzFYXqwS oPp1OgmL2TSus6YPk65DJvhtHjMlc1yRst60OndW78vjzRH6gvd1+mpIFyaUF8NpR8lJ MdFxItB1H4H5IaIIxgEBAljCzigI55Dr1e33zMg+AwEENsqeqtmiZOjJWKlfgj8CtVsP iySN4IJr1PhOrJC78EQA8Kwhmd6C61QD/CiVXAYoDaMgC43d/O+NfO6dRWlAwxfFuf9B 51izz7zbQRU+F7Qwp5PsdaYVUATiBBbbKDGC04WBRFuoPaUmi71G/RyQZzQxBfS04RbZ Iw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3x600nr0fa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 15:16:33 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 42TFGXKd025192; Fri, 29 Mar 2024 15:16:33 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3x600nr0ev-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 15:16:33 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 42TCAw6H016605; Fri, 29 Mar 2024 15:16:12 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3x29dun1yq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 15:16:12 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 42TFG9lT13435594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Mar 2024 15:16:11 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5213B58067; Fri, 29 Mar 2024 15:16:09 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4E58158056; Fri, 29 Mar 2024 15:16:08 +0000 (GMT) Received: from li-5cd3c5cc-21f9-11b2-a85c-a4381f30c2f3.ibm.com (unknown [9.61.126.92]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 29 Mar 2024 15:16:08 +0000 (GMT) Message-ID: Subject: Re: [PATCH 2/2] ima: evm: Rename *_post_path_mknod() to *_path_post_mknod() From: Mimi Zohar To: Roberto Sassu , dmitry.kasatkin@gmail.com, eric.snowberg@oracle.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-cifs@vger.kernel.org, viro@zeniv.linux.org.uk, pc@manguebit.com, christian@brauner.io, Roberto Sassu , stable@vger.kernel.org Date: Fri, 29 Mar 2024 11:16:07 -0400 In-Reply-To: <20240329105609.1566309-2-roberto.sassu@huaweicloud.com> References: <20240329105609.1566309-1-roberto.sassu@huaweicloud.com> <20240329105609.1566309-2-roberto.sassu@huaweicloud.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-23.el8_9) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 5F0O-khqSzUeEqVZ1ma7nq3NsjZ5mjbW X-Proofpoint-ORIG-GUID: 9nZZvu_OYfi8h2ylkCJkt-4RNTrNm77r Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-29_13,2024-03-28_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 mlxscore=0 bulkscore=0 clxscore=1015 spamscore=0 mlxlogscore=825 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2403210000 definitions=main-2403290135 On Fri, 2024-03-29 at 11:56 +0100, Roberto Sassu wrote: > From: Roberto Sassu > > Rename ima_post_path_mknod() and evm_post_path_mknod() respectively to > ima_path_post_mknod() and evm_path_post_mknod(), to facilitate finding > users of the path_post_mknod LSM hook. > > Cc: stable@vger.kernel.org # 6.8.x Since commit cd3cec0a02c7 ("ima: Move to LSM infrastructure") was upstreamed in this open window. This change does not need to be packported and should be limited to IMA and EVM full fledge LSMs. > Reported-by: Christian Brauner > Closes: > https://lore.kernel.org/linux-kernel/20240328-raushalten-krass-cb040068bde9@brauner/ > Fixes: 05d1a717ec04 ("ima: add support for creating files using the mknodat > syscall") "Fixes: 05d1a717ec04" should be removed. > Fixes: cd3cec0a02c7 ("ima: Move to LSM infrastructure") > Signed-off-by: Roberto Sassu Acked-by: Mimi Zohar