diff options
author | 2024-12-16 05:07:45 +0100 | |
---|---|---|
committer | 2025-02-21 09:20:32 +0100 | |
commit | f629576662e024f57cb2c8d4ca6f297db9b904a3 (patch) | |
tree | db8949857361402082d703e9420a5eb4476885a1 /scripts/lib/kdoc/kdoc_parser.py | |
parent | powerpc/secvar: Constify 'struct bin_attribute' (diff) | |
download | wireguard-linux-f629576662e024f57cb2c8d4ca6f297db9b904a3.tar.xz wireguard-linux-f629576662e024f57cb2c8d4ca6f297db9b904a3.zip |
powerpc/powernv/ultravisor: 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-powerpc-v1-3-bbed8906f476@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions