diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2025-01-25 11:12:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 09:20:30 +0100 |
commit | 1c83b02c91c1cc42c3030788f437fe403c7e3b37 (patch) | |
tree | f9cf6fb105c2fd7e0869653aff5ddbd91b38cf47 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 80d3989b9ce3b05f7a12cc5c4c8c565fc4ed88f2 (diff) |
firmware: dmi: 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/20250125-sysfs-const-bin_attr-dmi-v2-3-ece1895936f4@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions