summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-15 17:49:09 +0300
committerTzung-Bi Shih <tzungbi@kernel.org>2024-12-17 06:59:31 +0300
commitbf2066caee80c1612cb5a3356dc16a7a298f58ab (patch)
tree6bcd0f8d6bdc41900a910e4af4faa189b45d2291 /tools/perf/scripts/python/task-analyzer.py
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
downloadlinux-bf2066caee80c1612cb5a3356dc16a7a298f58ab.tar.xz
firmware: google: cbmem: 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: Brian Norris <briannorris@chromium.org> Link: https://lore.kernel.org/r/20241215-sysfs-const-bin_attr-google-v1-1-e5c2808f5833@weissschuh.net Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions