[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <684c859a-02e2-4652-9a40-9607410f95e6@lunn.ch>
Date: Tue, 7 Mar 2023 14:49:27 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Michael Walle <michael@...le.cc>
Cc: sean.anderson@...o.com, davem@...emloft.net, edumazet@...gle.com,
f.fainelli@...il.com, hkallweit1@...il.com, kuba@...nel.org,
linux-kernel@...r.kernel.org, linux@...linux.org.uk,
netdev@...r.kernel.org, olteanv@...il.com, pabeni@...hat.com,
tobias@...dekranz.com
Subject: Re: [PATCH net-next] net: mdio: Add netlink interface
On Tue, Mar 07, 2023 at 12:23:07PM +0100, Michael Walle wrote:
> > To prevent userspace phy drivers, writes are disabled by default, and can
> > only be enabled by editing the source.
>
> Maybe we can just taint the kernel using add_taint()? I'm not sure if
> that will prevent vendors writing user space drivers. Thoughts?
I was thinking about taint as well. But keep the same code structure,
you need to edit it to enable write.
Andrew
Powered by blists - more mailing lists