summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-16 15:30:54 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2025-01-08 20:04:36 +0300
commit738fa3feb2e38bb603616093ff2e089f5bf8e103 (patch)
tree14cf8c8c097688a83406f09be0cda299f39e8eae /tools/perf/scripts/python/gecko.py
parentf6031436a27c49123d0113444a726348c8f35d10 (diff)
downloadlinux-738fa3feb2e38bb603616093ff2e089f5bf8e103.tar.xz
zorro: 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> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/20241216-sysfs-const-bin_attr-zorro-v1-1-220a38d49507@weissschuh.net Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions