diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 15:22:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 11:20:32 +0300 |
commit | 5d0fbf548cbfcd1d7559b2daddedbeaa212d477f (patch) | |
tree | 0a72203270c8e501b2c1e7e46ad9d9c937edba2c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 80f756cabfbf81d0d629b45eb8e3f9f0196728d2 (diff) | |
download | linux-5d0fbf548cbfcd1d7559b2daddedbeaa212d477f.tar.xz |
rapidio: 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/20241216-sysfs-const-bin_attr-rapidio-v1-1-0f47f4719683@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions