Thread (14 messages) 14 messages, 7 authors, 2024-12-18

Re: [PATCH net-next 2/5] net: phy: ks8995: constify 'struct bin_attribute'

From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-12-16 15:40:53
Also in: bridge, linux-wireless, lkml

On Mon, Dec 16, 2024 at 12:30:09PM +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@weissschuh.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help