projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
d3c9510
ae026ea
)
Merge branch 'net-constify-struct-bin_attribute'
author
Jakub Kicinski
<kuba@kernel.org>
Wed, 18 Dec 2024 03:00:51 +0000
(19:00 -0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 18 Dec 2024 03:02:40 +0000
(19:02 -0800)
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>
Trivial merge