diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2025-01-15 00:44:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-15 20:30:58 +0300 |
commit | 2485f8e8c4d543c2996ec409d98e692761e55bac (patch) | |
tree | e339d635c29e339381b766ec1f9e822bec9b36c9 /rust/kernel | |
parent | bf1ad6c869fdf972ecd80097214aa3223ccd457c (diff) | |
download | linux-2485f8e8c4d543c2996ec409d98e692761e55bac.tar.xz |
devcoredump: 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/20250114-sysfs-const-bin_attr-devcoredump-v1-2-fa93be30efae@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions