diff options
author | 2025-01-14 22:32:14 +0100 | |
---|---|---|
committer | 2025-01-19 03:56:04 -0500 | |
commit | f5f01c5c409e697c6ae7091ca578bfbd3825e87c (patch) | |
tree | 7945b7e6c5aa6b4754151b9ba5cbf4b78a8fe3ec /scripts/gdb/linux/utils.py | |
parent | RDMA/hfi1: Constify 'struct bin_attribute' (diff) | |
download | wireguard-linux-f5f01c5c409e697c6ae7091ca578bfbd3825e87c.tar.xz wireguard-linux-f5f01c5c409e697c6ae7091ca578bfbd3825e87c.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions