diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-15 16:18:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 11:20:31 +0300 |
commit | 05a9896fa9e15466456a1b1dc9d2eacdf3551b79 (patch) | |
tree | 05d2ed8e9ec8e61950e0871330d54ef2401c5c71 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ae7a15fb2920844e61cc71199cd1a08795716c54 (diff) | |
download | linux-05a9896fa9e15466456a1b1dc9d2eacdf3551b79.tar.xz |
pcmcia: cistpl: 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/20241215-sysfs-const-bin_attr-pcmcia-v1-1-ebb82e47d834@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions