summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-11 20:54:40 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2025-01-07 12:05:35 +0300
commit77977da798c0f97de649c5430bf721a02cb45fcc (patch)
tree1eafb180bb2e9a096bdfb53f50bcf74ae9a2e977 /scripts/gdb/linux/utils.py
parent221ce94b1ac56bacde9c55409080838c1b575d3b (diff)
downloadlinux-77977da798c0f97de649c5430bf721a02cb45fcc.tar.xz
s390/ipl: 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> Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Link: https://lore.kernel.org/r/20241211-sysfs-const-bin_attr-s390-v1-2-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