mirror of
https://github.com/torvalds/linux.git
synced 2025-11-08 04:30:00 +02:00
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/20241202-sysfs-const-bin_attr-pdx86-v1-4-9ab204c2a814@weissschuh.net Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> |
||
|---|---|---|
| .. | ||
| class.c | ||
| class.h | ||
| crashlog.c | ||
| Kconfig | ||
| Makefile | ||
| telemetry.c | ||
| telemetry.h | ||