]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge branch 'net-constify-struct-bin_attribute'
authorJakub Kicinski <kuba@kernel.org>
Wed, 18 Dec 2024 03:00:51 +0000 (19:00 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Dec 2024 03:02:40 +0000 (19:02 -0800)
commitbf8469fc4d1ef2696bbe10b049cc8f9ef501face
treea5673c99988513ef842620326798d0eda68bfbe2
parentd3c9510dc900e9ff3ea330189c0465c9f00fba18
parentae026eae08e7a0a118abc31192041e49bcda3a8e
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 <kuba@kernel.org>