aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2025-01-14 22:32:14 +0100
committerLeon Romanovsky <leon@kernel.org>2025-01-19 03:56:04 -0500
commitf5f01c5c409e697c6ae7091ca578bfbd3825e87c (patch)
tree7945b7e6c5aa6b4754151b9ba5cbf4b78a8fe3ec /scripts/gdb/linux/utils.py
parentRDMA/hfi1: Constify 'struct bin_attribute' (diff)
downloadwireguard-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