diff options
author | 2024-12-22 21:12:13 +0100 | |
---|---|---|
committer | 2024-12-24 08:56:04 +0100 | |
commit | aa13b9d5ae2597a08703cf9aa4b0907d09407888 (patch) | |
tree | 0ccf04bd8ddac09c05cd3c47ae28655bf05f4722 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usbip: Accept arbitrarily long scatter-gather list (diff) | |
download | wireguard-linux-aa13b9d5ae2597a08703cf9aa4b0907d09407888.tar.xz wireguard-linux-aa13b9d5ae2597a08703cf9aa4b0907d09407888.zip |
usb: core: 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.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241222-sysfs-const-bin_attr-usb-v1-1-19a137c0f20a@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions