forked from mirrors/linux
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-1-ba5e79fe8771@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| afu_irq.c | ||
| config.c | ||
| context.c | ||
| core.c | ||
| file.c | ||
| Kconfig | ||
| link.c | ||
| main.c | ||
| Makefile | ||
| mmio.c | ||
| ocxl_internal.h | ||
| pasid.c | ||
| pci.c | ||
| sysfs.c | ||
| trace.c | ||
| trace.h | ||