From: Jakub Kicinski Date: Wed, 18 Dec 2024 03:00:51 +0000 (-0800) Subject: Merge branch 'net-constify-struct-bin_attribute' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bf8469fc4d1ef2696bbe10b049cc8f9ef501face;p=users%2Fwilly%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