[PATCH 1/9] ocxl: Constify 'struct bin_attribute'

Andrew Donnellan ajd at linux.ibm.com
Wed Dec 18 18:21:45 AEDT 2024


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 at weissschuh.net>

Acked-by: Andrew Donnellan <ajd at linux.ibm.com>


-- 
Andrew Donnellan    OzLabs, ADL Canberra
ajd at linux.ibm.com   IBM Australia Limited


More information about the Linuxppc-dev mailing list