diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-21 15:48:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-24 09:36:02 +0100 |
commit | c3b8c358c4f36faf610b76d546eb36178bb11b83 (patch) | |
tree | f8a904e7629491f6144b24fd567a380bfb0eb13b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | e47e0e7ed0e4bf9f65cd7dcf1b4659f160a746e6 (diff) |
misc: sram: 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/20241221-sysfs-const-bin_attr-misc-drivers-v2-3-ba5e79fe8771@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions