summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/kasan.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-02 20:03:00 +0100
committerBjorn Helgaas <bhelgaas@google.com>2024-12-10 13:00:50 -0600
commitd5bdde0b38c1d17f39ad6d41d16af33357b329b2 (patch)
tree3be5329a0cbcdf21a60cb71ddbac16d91bd3750e /scripts/gdb/linux/kasan.py
parent35fdb302caab92f7ee998ff428b0f41c2c3a45f7 (diff)
PCI/ACPI: 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-4-c32360f495a7@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/kasan.py')
0 files changed, 0 insertions, 0 deletions