summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/kasan.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-02 20:02:59 +0100
committerBjorn Helgaas <bhelgaas@google.com>2024-12-03 15:29:59 -0600
commit35fdb302caab92f7ee998ff428b0f41c2c3a45f7 (patch)
tree1a37016348f1e3be943a7c3e563ba02f630a24c9 /scripts/gdb/linux/kasan.py
parent3c39919a5f3d65abff031a7d9acd3b5f5672eec7 (diff)
PCI/P2PDMA: 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-3-c32360f495a7@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'scripts/gdb/linux/kasan.py')
0 files changed, 0 insertions, 0 deletions