aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-16 12:29:10 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2025-01-02 15:07:45 -0500
commit3e72fc051d4cf2f0b5d3bb67f6586e1fad713b5b (patch)
tree8d9d409993e8bb393b24984b83f5c3fbc229a208 /tools/perf/scripts/python/bin
parentscsi: 3w-sas: Constify 'struct bin_attribute' (diff)
downloadlinux-3e72fc051d4cf2f0b5d3bb67f6586e1fad713b5b.tar.gz
linux-3e72fc051d4cf2f0b5d3bb67f6586e1fad713b5b.zip
scsi: arcmsr: 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/20241216-sysfs-const-bin_attr-scsi-v1-3-f0a5e54b3437@weissschuh.net Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions