From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3F94606A32C for ; Thu, 3 Dec 2026 10:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=op845pmd; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=UqsxdKD3 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=Vuzz8IiX1UxtyH4NHkmyiq+dkItxCvqjfrBuDL4PpWc=; b=op845pmdHgqL7MDmxvXug5v44F kuYtzyTQvUFM9CtcA06VHR+PNLK6QDvBuUbzBT59IngKBrktm84JL8cw9gVTY0afWxu2zeXgzC0gS My98u8Q9xObrTQ9O+9rucrVv2/7f7UJc9H0rj/LBtqLNx7U81+9zg4KUPuWXoLbZe66xvM+4mS7rv Ioc8JZfOiCyjz7f7RUq6NdkWKU7aZ9hqIBXHKOoDayfROUEOice7/xlzizEm56b9TRCzR8JwsfCmt NRdQ1j5nHDYy8ovTK+fw969EmGuOWYlvYiiedKT5hrmMY40ypWz5mypIK14/2nFQaGDrublA/X73a 9KbOwpWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ4WN-0000000EKFM-2Oiu; Thu, 03 Dec 2026 10:58:39 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ4WI-0000000EKD7-2ic0; Thu, 03 Dec 2026 10:58:34 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id B08A2438B1; Thu, 3 Dec 2026 10:58:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9023D1F00919; Thu, 3 Dec 2026 10:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796295513; bh=FbBYx5GudjkagPzpqCU3v9vt+WQeOyRioP3hGoQ+pNE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=UqsxdKD3BMulCjOVrQiBp21wesb3YIhyW/dViA7EWg5YRk4ZlXTOV6OBsWQYOiy2V 2gbBwjCz4XHxGmsH3x+GU885UPCQ3Mn6y0U5/UlkaGMLAte+ONo6UGXloQbBQCSGnE 9jHcwbE0soztDu8KfmuUP3kfWXU4aXWxaRWpDIggrigP7xzRUZ4Dv25I505FbKhCR+ 3jkvx8/qbSiICDc9GzkvfohJhgoxuEFtR5TffpfQD2BoUbRG1FgYGfY0P7Y3fyRa9Y +8YDuFSaISURb0qkulPIpcKv2bDllr8itd/8IMFd7fKokdDA3qnCxLAsNyGr7GCnBw GfR5MMDACo2OQ== From: Pratyush Yadav To: Christoph Hellwig Cc: David Matlack , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org, Albert Ou , Alexandre Ghiti , Alex Williamson , Bjorn Helgaas , Jacob Pan , Jason Gunthorpe , Josh Hilke , Lukas Wunner , Mike Rapoport , Palmer Dabbelt , Parav Pandit , Pasha Tatashin , Paul Walmsley , Pranjal Shrivastava , Pratyush Yadav , Samiullah Khawaja , Shuah Khan , Vipin Sharma , kexec Subject: Re: [PATCH 01/18] liveupdate: Export symbols needed by modules In-Reply-To: (Christoph Hellwig's message of "Wed, 2 Dec 2026 23:53:38 -0800") References: <20261202003955.3607156-1-dmatlack@google.com> <20261202003955.3607156-2-dmatlack@google.com> Date: Thu, 03 Dec 2026 10:58:26 +0000 Message-ID: <2vxzzeumtyul.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) X-Archived-By: MIME-Version: 1.0 X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, Dec 02 2026, Christoph Hellwig wrote: > On Wed, Dec 02, 2026 at 09:22:05AM -0800, David Matlack wrote: >> On Tue Dec 1, 2026 at 11:18 PM PST, Christoph Hellwig wrote: >> > On Wed, Dec 02, 2026 at 12:39:38AM +0000, David Matlack wrote: [...] >> Can you say more about what your concern is? > > The concern is to add dangerous exports without in-tree actual users. > >> Is it mainly about which >> modules can call these functions, or about drivers registering Live >> Update file handlers at all? If it's the latter, I'd like to understand >> it, since that's how drivers like vfio-pci are expected to preserve > > The main concert is adding it without a real user, which is a complete > no-go. But even with a user like vfio-pci (which should have been part > of the series) this looks dangerous enough to not be exported globally. Why do you say it is dangerous? What's so bad with modules being able to register with live update? -- Regards, Pratyush Yadav _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv