diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 05:07:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 09:20:32 +0100 |
commit | 4aad348d0fa62f816ae3e9dfbfc6663443357c0c (patch) | |
tree | a74af801343f118783327194d45d587f7f90d776 /tools/perf/scripts/python | |
parent | f2b62c03a28279cbeeb34d12037740a7e7703a6b (diff) |
powerpc/perf/hv-24x7: 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-5-bbed8906f476@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions