summaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-21 17:48:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-24 11:36:02 +0300
commitfc58d178b0b4506a6cef59cdb83add920f7dd6a5 (patch)
treec98ff1c2401e98d6c8673f523edebdea2b7a148a /include/linux/node.h
parent85aa1342d7a554256611c8e8133bfa5208ffb823 (diff)
downloadlinux-fc58d178b0b4506a6cef59cdb83add920f7dd6a5.tar.xz
misc: c2port: Constify 'struct bin_attribute'
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> Link: https://lore.kernel.org/r/20241221-sysfs-const-bin_attr-misc-drivers-v2-5-ba5e79fe8771@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions