diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 20:43:24 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-12-06 11:06:14 +0100 |
commit | a3eaa2be7004ed7ce5cf8939c660e44a15fc3665 (patch) | |
tree | 01856136be686469e6e3f103ea89f4d140bca435 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5a82223e0743fb36bcb99657772513739d1a9936 (diff) |
x86/sysfs: 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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-x86-v1-1-b767d5f0ac5c@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions