Thread (12 messages) 12 messages, 2 authors, 2024-12-18

Re: [PATCH 2/9] cxl: Constify 'struct bin_attribute'

From: Andrew Donnellan <hidden>
Date: 2024-12-18 07:21:48
Also in: lkml

On Mon, 2024-12-16 at 12:32 +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>
Acked-by: Andrew Donnellan <redacted>

noting that we're hoping to remove this driver shortly.


-- 
Andrew Donnellan    OzLabs, ADL Canberra
ajd@linux.ibm.com   IBM Australia Limited
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help