[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241217102805.GM780307@kernel.org>
Date: Tue, 17 Dec 2024 10:28:05 +0000
From: Simon Horman <horms@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Roopa Prabhu <roopa@...dia.com>,
Nikolay Aleksandrov <razor@...ckwall.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>, Kalle Valo <kvalo@...nel.org>,
Manish Chopra <manishc@...vell.com>,
Rahul Verma <rahulv@...vell.com>, GR-Linux-NIC-Dev@...vell.com,
Andrew Lunn <andrew+netdev@...n.ch>,
Shahed Shaikh <shshaikh@...vell.com>, bridge@...ts.linux.dev,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH net-next 4/5] netxen_nic: constify 'struct bin_attribute'
On Mon, Dec 16, 2024 at 12:30:11PM +0100, Thomas Weißschuh wrote:
> The sysfs core now allows instances of 'struct bin_attribute' to be
> moved into read-only memory. Make use of that to protect them against
> accidental or malicious modifications.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists