diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-21 15:48:08 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-24 09:36:01 +0100 |
| commit | e47e0e7ed0e4bf9f65cd7dcf1b4659f160a746e6 (patch) | |
| tree | 6ac4c9e77acde658ce7c5185419217613728fc0a /scripts/objdiff | |
| parent | ocxl: Constify 'struct bin_attribute' (diff) | |
| download | linux-e47e0e7ed0e4bf9f65cd7dcf1b4659f160a746e6.tar.gz linux-e47e0e7ed0e4bf9f65cd7dcf1b4659f160a746e6.zip | |
cxl: 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: Andrew Donnellan <ajd@linux.ibm.com>
Link: https://lore.kernel.org/r/20241221-sysfs-const-bin_attr-misc-drivers-v2-2-ba5e79fe8771@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
