From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2D6B4FC9EC3 for ; Fri, 6 Mar 2026 23:29:17 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4fSN0C4jHQz3cDh; Sat, 07 Mar 2026 10:29:15 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=103.168.172.141 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1772839755; cv=none; b=d3fHXZua9g2yLrrFY7X3TwYVg8rH0087MG8QxEqACDXiGoQ6n0CGi5+pwHoSeA9BgMn0jn9ZGmEA9b4B+GqfvgloZNKTuWqdHyvxGURN9F8lGEcuZLYFCWk0S5F5FchY9h2ycUi2PF4GX6X+4ZUrkGDFlyfXy+9EEWHp+QG+VSNj0svW+iQVtqc6xDGzF3o9jgUZstjzOs8h37h0LyLIFkxRF12rAgOiAQTh2iBja3F/bWKMJmbSrD+ujX62wYRsk7zjF6gR+6QSWteUDPiqvzb2ZXHkOz7ktVQ++I5b9WYjLQ63UriQM/n+LksCRVjInCdqNGPQP4hw2yYcIoMMRg== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1772839755; c=relaxed/relaxed; bh=GETdZGM4YA8yA694WxEZkZM09wEgzGQFz172whB4Qxk=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=cJDJrYd20EYG2wwYixTzXrH6by/9+bSuY8EJa7/0mh6enJH5EN7Iw61oKkCKF6yIdGijuY0SLSol/7ZmyVFCJUQfcIltTYzaB/WWGQFJ3ABAKXJU2TdhFHObTXmdmDib7Kykqdhtj8rtVam55daR5qYQvH0MaxdOvjRUtHYX2EyPlsmFkptQ0wYVgoc3ATGmRTzrHEsE+kY0pCKuzEprVyyHUtg988qtV1rTLWeg8004LKGiOXdzyX5rjniAuLi0sByuEd79vdRgGEM0ndPoB/zJy5nYv+OlBOpRggc2Xphd5FDe/iQWXOOv4+weImsNDvxVrzLMByG/bzyDu3Njcw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=arndb.de; dkim=pass (2048-bit key; unprotected) header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm3 header.b=DZLtQeEa; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=wseMXmnJ; dkim-atps=neutral; spf=pass (client-ip=103.168.172.141; helo=flow-a6-smtp.messagingengine.com; envelope-from=arnd@arndb.de; receiver=lists.ozlabs.org) smtp.mailfrom=arndb.de Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm3 header.b=DZLtQeEa; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=wseMXmnJ; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=arndb.de (client-ip=103.168.172.141; helo=flow-a6-smtp.messagingengine.com; envelope-from=arnd@arndb.de; receiver=lists.ozlabs.org) Received: from flow-a6-smtp.messagingengine.com (flow-a6-smtp.messagingengine.com [103.168.172.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4fSN0832Jtz3cDf for ; Sat, 07 Mar 2026 10:29:11 +1100 (AEDT) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailflow.phl.internal (Postfix) with ESMTP id 468D31380B55; Fri, 6 Mar 2026 18:29:08 -0500 (EST) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-04.internal (MEProxy); Fri, 06 Mar 2026 18:29:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1772839748; x=1772846948; bh=GETdZGM4YA8yA694WxEZkZM09wEgzGQFz172whB4Qxk=; b= DZLtQeEaE1Dg/BQ7D4AeSS6PstNxPQGzBfjmzElVIT2ViU5ATfpUTqv7ybEr9Ht1 oNWpbiqL2pq7dtr+d/nQeWQrsgtFOolMVDDHLGag5CqmqYuNkKJu2fV6pYT4kFal VDcmU/ygQtSSYNKAlWfynduCxhSfxMxJ/q6eqKV67R8jo3kpmDwFf+3Ik4ZFpRP+ kvRibMs1AygZJ5Mt/9LmTVRSM1O1u1satUPynemVwMfrv1RBET+4vzB1y5wKEJxP mNV8qPxnb6oCZhF7tZuLWePLcH4p1BgF4X0Dl+jJZpUQtYR5ZhLhvmsR+wjOQQGx O2oXve4Du80lwmuLrMWrCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1772839748; x= 1772846948; bh=GETdZGM4YA8yA694WxEZkZM09wEgzGQFz172whB4Qxk=; b=w seMXmnJeT7pXctEfb0cuHkhDGFIved/RrLP41GOYSHJZIudzgjXdkCaMKc3/fuOc VZSiKq/sFK46Wv0P1yfi6XTTGcjVcOF4t16lFjNAn0khkeQexoCxqlKk20jAOh5Z 3FXnJc/w+W/aHe8VwOhDWyYQlwq2ziIThwloozu1G1am3J/+FA4JrhkVlv382NxA OLKtCAKtzSbyQfVzIG1J+C+7UP4aLUuKtIeM+0s/AdlXgqDkeRlkd44mZXcj+fa3 w3JdHa4D+s/qlnJKWqICmb+3+32uBHUCjfdPoY02ErP23mAM8KZErJQaJiORqdAK 1b4FEirgnOfR6NSecGlLA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvjedtiedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehrnhgu uceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrthhtvg hrnhephfdthfdvtdefhedukeetgefggffhjeeggeetfefggfevudegudevledvkefhvdei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnh gusegrrhhnuggsrdguvgdpnhgspghrtghpthhtohepfeefpdhmohguvgepshhmthhpohhu thdprhgtphhtthhopehmphgvsegvlhhlvghrmhgrnhdrihgurdgruhdprhgtphhtthhope gumhhithhrhidrkhgrshgrthhkihhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepnhhi tghkrdguvghsrghulhhnihgvrhhsodhlkhhmlhesghhmrghilhdrtghomhdprhgtphhtth hopehnphhighhgihhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepjhhushhtihhnshht ihhtthesghhoohhglhgvrdgtohhmpdhrtghpthhtohepmhhorhgsohesghhoohhglhgvrd gtohhmpdhrtghpthhtohepshgvrhhgvgeshhgrlhhlhihnrdgtohhmpdhrtghpthhtohep rhhosggvrhhtohdrshgrshhsuheshhhurgifvghirdgtohhmpdhrtghpthhtoheprghrug gssehkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 629A3700065; Fri, 6 Mar 2026 18:29:06 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 X-ThreadId: AYSH_HmCkp7N Date: Sat, 07 Mar 2026 00:28:27 +0100 From: "Arnd Bergmann" To: "Nathan Chancellor" , "Arnd Bergmann" Cc: "Madhavan Srinivasan" , "Michael Ellerman" , "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Mimi Zohar" , "Roberto Sassu" , "Dmitry Kasatkin" , "Paul Moore" , "James Morris" , "Serge E. Hallyn" , "Jarkko Sakkinen" , "Ard Biesheuvel" , "Coiby Xu" , "Nicholas Piggin" , "Christophe Leroy" , "Christian Borntraeger" , "Sven Schnelle" , "Eric Snowberg" , "Nick Desaulniers" , "Bill Wendling" , "Justin Stitt" , "Andrew Donnellan" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, Linux-Arch , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, llvm@lists.linux.dev Message-Id: In-Reply-To: <20260306225648.GC2746259@ax162> References: <20260306150421.270124-1-arnd@kernel.org> <20260306225648.GC2746259@ax162> Subject: Re: [PATCH] integrity: avoid using __weak functions Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, Mar 6, 2026, at 23:56, Nathan Chancellor wrote: > On Fri, Mar 06, 2026 at 04:03:24PM +0100, Arnd Bergmann wrote: > > Thanks, I noticed this as well. The version I came up with and have been > locally testing is the following, which is a little bit more compact. > > arch/Kconfig | 3 +++ > arch/powerpc/Kconfig | 1 + > arch/s390/Kconfig | 1 + > arch/s390/kernel/ipl.c | 10 +++++----- > include/linux/secure_boot.h | 4 ++++ > security/integrity/Makefile | 2 +- > security/integrity/secure_boot.c | 16 ---------------- > 7 files changed, 15 insertions(+), 22 deletions(-) > Right, your version looks good to me as well. Arnd