3
0
Fork 0
forked from mirrors/linux
kernel/drivers/misc/ocxl
Thomas Weißschuh 0e3cd21cde ocxl: 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-1-ba5e79fe8771@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-24 09:36:01 +01:00
..
afu_irq.c misc: ocxl: afu_irq: Remove unnecessary (void*) conversions 2023-11-27 22:01:14 +11:00
config.c ocxl: fix pci device refcount leak when calling get_function_0() 2022-11-23 19:49:22 +01:00
context.c misc: ocxl: context: Remove unnecessary (void*) conversions 2023-11-27 22:01:14 +11:00
core.c
file.c eventfd: simplify eventfd_signal() 2023-11-28 14:08:38 +01:00
Kconfig
link.c misc: ocxl: link: Remove unnecessary (void*) conversions 2023-11-27 22:01:14 +11:00
main.c misc: ocxl: main: Remove unnecessary ‘0’ values from rc 2023-11-27 22:01:14 +11:00
Makefile
mmio.c
ocxl_internal.h ocxl: Remove the unused declarations in headr file 2024-09-11 16:03:20 +02:00
pasid.c
pci.c
sysfs.c ocxl: Constify 'struct bin_attribute' 2024-12-24 09:36:01 +01:00
trace.c
trace.h ocxl: Add new kernel traces 2020-12-04 01:01:30 +11:00