summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/kasan.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-02 20:02:57 +0100
committerBjorn Helgaas <bhelgaas@google.com>2024-12-03 15:25:41 -0600
commit0530ad489d1576ac2e9d65068500d11b653c8f8a (patch)
tree077fb7d45130aaae6ecb5e1fb18accf1a240c029 /scripts/gdb/linux/kasan.py
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
PCI/sysfs: 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. Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-pci-v1-1-c32360f495a7@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'scripts/gdb/linux/kasan.py')
0 files changed, 0 insertions, 0 deletions