diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 07:07:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 11:20:32 +0300 |
commit | 982d13db108c9a30b98d1eb3445011dbc5616532 (patch) | |
tree | 47234d6bba516459858589d0874504f052f829ee /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 10f10210f674a79b1214abae58077475f5de81b3 (diff) | |
download | linux-982d13db108c9a30b98d1eb3445011dbc5616532.tar.xz |
powerpc/secvar: 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-powerpc-v1-2-bbed8906f476@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