[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230801173544.1929519-1-hch@lst.de>
Date: Tue, 1 Aug 2023 19:35:39 +0200
From: Christoph Hellwig <hch@....de>
To: Luis Chamberlain <mcgrof@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Daniel Mack <daniel@...que.org>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Ulf Hansson <ulf.hansson@...aro.org>,
Manuel Lauss <manuel.lauss@...il.com>,
Yangbo Lu <yangbo.lu@....com>, Joshua Kinard <kumba@...too.org>
Cc: Daniel Vetter <daniel.vetter@...ll.ch>,
Arnd Bergmann <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org (open list),
linux-mmc@...r.kernel.org, netdev@...r.kernel.org,
linux-rtc@...r.kernel.org, linux-modules@...r.kernel.org
Subject: require EXPORT_SYMBOL_GPL symbols for symbol_get v2
Hi all,
this series changes symbol_get to only work on EXPORT_SYMBOL_GPL
as nvidia is abusing the lack of this check to bypass restrictions
on importing symbols from proprietary modules.
Changes since v1:
- stop using symbol_get for sharpsl_pm.c (Arnd)
- stop using symbol_get for au1xmmc platform irq handlers
- better (and simpler) error reporting
Diffstat:
arch/arm/mach-pxa/sharpsl_pm.c | 2 --
arch/arm/mach-pxa/spitz.c | 14 +-------------
arch/mips/alchemy/devboards/db1000.c | 8 +-------
arch/mips/alchemy/devboards/db1200.c | 19 ++-----------------
arch/mips/alchemy/devboards/db1300.c | 10 +---------
drivers/mmc/host/Kconfig | 4 ++--
drivers/net/ethernet/freescale/enetc/enetc_ptp.c | 2 +-
drivers/rtc/rtc-ds1685.c | 2 +-
kernel/module/main.c | 14 +++++++++++---
9 files changed, 20 insertions(+), 55 deletions(-)
Powered by blists - more mailing lists