summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-11 20:54:43 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2025-01-07 12:05:36 +0300
commitd1aa46c83bc4cd08a519819233f432a0fce5119b (patch)
tree13cf1290d045de8518c776795aaf18c789c2e75e /scripts/gdb/linux/utils.py
parent81ad38a66bdfcf51153632deaad305adce887fca (diff)
downloadlinux-d1aa46c83bc4cd08a519819233f432a0fce5119b.tar.xz
s390/pkey: 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> Tested-by: Holger Dengler <dengler@linux.ibm.com> Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Link: https://lore.kernel.org/r/20241211-sysfs-const-bin_attr-s390-v1-5-be01f66bfcf7@weissschuh.net Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions