diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-11 18:54:42 +0100 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-07 10:05:36 +0100 |
commit | 81ad38a66bdfcf51153632deaad305adce887fca (patch) | |
tree | 75da033a675dcdbaf5fd7cb89cbd0dc135b27f71 /tools/perf/scripts/python/stackcollapse.py | |
parent | ef37c669b71e67bfe948e5f33f7ea040df08eddd (diff) |
s390/sclp: 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>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20241211-sysfs-const-bin_attr-s390-v1-4-be01f66bfcf7@weissschuh.net
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions