diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2025-01-14 22:32:14 +0100 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-01-19 03:56:04 -0500 |
commit | f5f01c5c409e697c6ae7091ca578bfbd3825e87c (patch) | |
tree | 7945b7e6c5aa6b4754151b9ba5cbf4b78a8fe3ec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 39d772f6654a17ae57656602e801d265e82a2e36 (diff) |
RDMA/qib: 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://patch.msgid.link/20250114-sysfs-const-bin_attr-infiniband-v1-2-397aaa94d453@weissschuh.net
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions