From: Jakub Kicinski Date: Wed, 18 Dec 2024 03:00:51 +0000 (-0800) Subject: Merge branch 'net-constify-struct-bin_attribute' X-Git-Tag: v6.14-rc1~162^2~200 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf8469fc4d1ef2696bbe10b049cc8f9ef501face;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'net-constify-struct-bin_attribute' Thomas Weißschuh says: ==================== net: 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. ==================== Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-0-ec460b91f274@weissschuh.net Signed-off-by: Jakub Kicinski --- bf8469fc4d1ef2696bbe10b049cc8f9ef501face