diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-22 23:15:55 +0300 |
---|---|---|
committer | Pratyush Yadav <pratyush@kernel.org> | 2025-01-13 20:47:03 +0300 |
commit | 943e5f85600708c348f7b23d3c1cff1cf9763032 (patch) | |
tree | 5f4a0283187210f2815c2e22110946fd0d44ced9 /tools/perf/scripts/python/syscall-counts.py | |
parent | b239cbc7b078ff9c8b218c6191550ae28763fdaa (diff) | |
download | linux-943e5f85600708c348f7b23d3c1cff1cf9763032.tar.xz |
mtd: spi-nor: 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>
Acked-by: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20241222-sysfs-const-bin_attr-mtd-v1-1-ee13140a4e9b@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions