diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 14:29:11 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-01-02 23:07:45 +0300 |
commit | 61e2d41cafc68ba73dc7d403528d6a9fcc25c39e (patch) | |
tree | fcc17b8ac14e71f925a850166a23357972a8af2f /scripts/gdb/linux/tasks.py | |
parent | 3e72fc051d4cf2f0b5d3bb67f6586e1fad713b5b (diff) | |
download | linux-61e2d41cafc68ba73dc7d403528d6a9fcc25c39e.tar.xz |
scsi: esas2r: 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/20241216-sysfs-const-bin_attr-scsi-v1-4-f0a5e54b3437@weissschuh.net
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions