diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 14:30:10 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-12-18 21:05:06 +0300 |
commit | 8ab3bf4764136e8ad8d1064c304be50297bcf9ad (patch) | |
tree | 922097efe2fab9ccf98c4c81bbe2c4cc02ed7c79 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aeda9245c7ce6afbf0bf1be164ecef7552384c29 (diff) | |
download | linux-8ab3bf4764136e8ad8d1064c304be50297bcf9ad.tar.xz |
wifi: wlcore: 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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-3-ec460b91f274@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions