Files
linux/drivers/ptp
Thomas Weißschuh be16b46f9e ptp: ocp: 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>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20241222-sysfs-const-bin_attr-ptp-v1-1-5c1f3ee246fb@weissschuh.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-01-02 17:10:27 -08:00
..
2024-10-30 17:02:39 -07:00
2024-03-11 13:42:09 -07:00
2024-10-30 17:02:39 -07:00
2024-03-11 13:42:09 -07:00
2024-06-25 17:15:47 +02:00